/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&family=Readex+Pro:wght@160..700&display=swap');

* {
  font-family: "Readex Pro", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 2.5rem;
  max-width: 100%;
  direction: rtl; /* added RTL globally */
}

/* Variables */
:root {
  --main-color: #ff9100;          /* orange accent */
  --second-color: #cc7700;        /* darker orange */
  --yellow-color: #ffb84d;        /* lighter orange */
  --yellow-alter: #331a00;        /* dark orange background variant */
  --text-color: #ff9100;          /* main accent text */
  --bg-color: #0d0d0d;            /* very dark background */
  --text-neutral: #bbb;           /* light gray text */
  --text-neutral-2: #333;         /* dark gray for borders */
  --text-neutral-3: #111;         /* near black backgrounds for cards */
}


body, html {
  color: var(--text-neutral);
  background-color: #0d0d0d;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* this line fixes the left-right scroll */
}

/* Basic Styling */
a {
  text-decoration: none;
}
img {
  width: 100%;
}
section {
  padding: 3rem 0 2rem;
  background: transparent;
}

/* Container */
.container {
  max-width: 1070px;
  margin: auto;
  width: 100%;
}

/* Header */
header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 200;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  padding: 10px 12px;
  border-radius: 5rem;
  backdrop-filter: blur(12px); /* glass effect */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.1); /* subtle border */
  transition: all 0.4s ease-in-out;
}

.logo img {
  width: 120px;
  filter: brightness(1.2);
}

.navbar {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
}

.nav-link {
  font-size: 1.1rem;
  color: rgb(255, 255, 255);
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.nav-link:hover {
  color: red;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.nav-right {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.nav-right i {
  font-size: 18px;
  background: var(--text-neutral-3);
  color: white;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.nav-right i.ri-shopping-cart-2-line {
  font-size: 18px;
  background:red;
  color: white;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.nav-right i.ri-search-2-line {
  font-size: 18px;
  background:red;
  color: white;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.nav-right i:hover {
  background: darkred;
  color: var(--bg-color);
}

/* Style the theme toggle button like the search icon */
#theme-toggle i {
  font-size: 18px;
  background:red;
  color: white;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

/* Hover effect */
#theme-toggle i:hover {
  background: darkred;
  color: var(--bg-color);
}

/* Optional: remove button default styles */
#theme-toggle {
  background: none;
  border: none;
  padding: 0;
}


.login-btn {
  background: var(--main-color);
  color: var(--bg-color);
  padding: 8px 14px;
  border-radius: 5rem;
  font-size: 0.9rem;
  transition: background 0.4s ease-in-out;
}
.login-btn:hover {
  background: var(--yellow-color);
}
.mobile-login {
  display: none;
}

/* Background glow circles */
   /* Glow effect */
.glow {
  position: fixed; /* stays on screen when scrolling */
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.5;
  z-index: 0; /* behind everything */
}

.glow1 { background: #ffffff; top: 10%; left: 15%; }
.glow2 { background: #ffffff; top: 50%; left: 70%; }
.glow3 { background: #ffffff; top: 20%; left: 50%; }
.glow4 { background: #000000; top: 80%; left: 30%; }
.glow5 { background: #000000; top: 60%; left: 10%; }

.menu-icon {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 5px;
  cursor: pointer;
  padding: 10px;

  border-radius: 50%;
  z-index: 200;
  transition: 0.3s;
}
.menu-icon div {
  display: block;
  background: white;
  height: 2px;
  width: 20px;
  transition: 0.3s;
}
.move .line1 {
  transform: rotate(-45deg) translate(-5px, 5px);
}
.move .line2 {
  opacity: 0;
}
.move .line3 {
  transform: rotate(45deg) translate(-5px, -5px);
}


/* Hero Section with glowing circle background */
.hero {
  position: relative;
  overflow: visible;
  width: 100%;
}
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.orange-text {
  color: #ff0000; /* orange */
}
.hero-content {
  margin-top: 4rem !important;
  text-align: center;
  color: red;
}
.hero-content h2 {
  font-size: 4.5rem;
  color: white; /* rest of text white */
  margin-top: 6rem; /* increase/decrease as you like */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}
@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2.2rem;
  }
}
.hero-content h2 span {
  color: red;
  
}
.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 0.5rem;
}
.btn {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  background: red;
  color: white;
  padding: 8px 14px;
  border-radius: 0.9rem;
  margin-top: 2rem; /* increase/decrease as you like */
  transition: background 0.4s ease-in-out;
}
.btn span {
  font-size: 1.2rem;
}
.btn img {
  width: 20px;
}
.btn:hover {
  background: darkred;
  color: var(--bg-color);
}
.hero-img {
  position: relative;
  overflow: hidden;
}

.hero-img img {
  width: 100%; /* adjust size if needed */
  object-fit: contain;
  object-position: center;
  animation: floatY 6s ease-in-out infinite alternate;
}

/* Floating effect */
.float-up {
  animation: floatY 6s ease-in-out infinite alternate;
}
/* On phones (max 768px or smaller), make it bigger */
@media (max-width: 768px) {
  .hero-img {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    text-align: center;
  }

  .hero-img img {
    width: 130%;
    max-width: none;
    display: block;
    margin: 0 auto; /* ensures centering */
  }
}

/* Up and down animation */
@keyframes floatY {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px); /* moves up */
  }
  100% {
    transform: translateY(0px); /* back to original */
  }
}
/* Swiper container full width */
.hero-swiper {
  width: 100%;
  overflow: hidden;
}

/* Each slide takes full width */
.hero-swiper .swiper-slide {
  width: 100% !important; /* important to override default Swiper */
  display: flex;
  justify-content: center; /* center image horizontally */
}

/* Image styling */
.hero-swiper .swiper-slide img {
  width: 120%; /* Increase size beyond container */
  max-width: none; /* Remove limit */
  height: auto;
  object-fit: contain;
  object-position: center;
  animation: floatY 6s ease-in-out infinite alternate;
  transform: scale(1.2); /* Optional for extra zoom effect */
}

/* On phones, make bigger than before */
@media (max-width: 768px) {
  .hero-swiper .swiper-slide img {
    width: 115%;           /* Increase width from 110% */
    max-width: none;
    transform: scale(1.4); /* Increase scale from 1.2 */
  }

  .hero-swiper .swiper-slide {
    width: 100% !important;
    padding: 0;
  }
}



/* Swiper buttons */
.swiper-btn {
  display: flex;
  justify-content: center;
  margin-top: 1rem !important;
}
.swiper-button-next,
.swiper-button-prev {
  position: static !important;
  margin: 0 0 0 10px !important;
  filter: invert(85%) sepia(100%) saturate(500%) hue-rotate(10deg);
}
.swiper-button-next {
  background: url(../images/right-arrow.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}
.swiper-button-next::after {
  display: none;
}
.swiper-button-prev {
  background: url(../images/left-arrow.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}
.swiper-button-prev::after {
  display: none;
}

/* Product section */
.product-desc {
  max-width: 80%;
  width: 100%;
  text-align: center;
  margin: auto auto 2rem auto;
  color: var(--text-neutral);
}
.product-content {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  justify-content: space-between;
  gap: 2rem;
  background: var(--text-neutral-3);
  border-radius: 1.7rem;
  padding: 40px 60px;
}
.product-box {
  background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  padding: 20px;
  border-radius: 1.7rem;
  position: relative;
}
.product-box span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--main-color);
  color: var(--bg-color);
  font-size: 0.88rem;
  padding: 4px 10px;
  border-radius: 2rem;
  border: 4px solid var(--second-color);
  z-index: 2;
}
.product-box img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  height: 200px;
  object-fit: contain;
}
.product-box h2 {
  font-size: 1.075rem;
  font-weight: 600;
  color: white;
  text-align: center;
}
.rating {
  display: flex;
  align-items: center;
  color: red;
  margin: 10px 0;
}
.p-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price p {
  color: #b2b4c2;
  font-size: 0.94rem;
  text-decoration: line-through;
  margin-bottom: 5px;
}
.price h3 {
  color: var(--main-color);
}
.product-box a i {
  background: var(--text-neutral-3);
  color: var(--text-color);
  padding: 8px;
  border-radius: 50%;
  font-size: 20px;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.product-box a i:hover {
  background: var(--main-color);
  color: var(--bg-color);
}
/* Backpack Section */
.backpack {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  /* background-color removed to blend with page */
}

.backpack-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  color: var(--text-neutral);
}

.backpack-images {
  position: relative;
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.backpack-img {
  width: 100%;
  max-width: 700px;
  height: auto;
  z-index: 1;
}

.backpack-grid {
  width: 70px;
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: 0;
}

.backpack-text {
  flex: 1 1 300px;
  padding: 20px;
}

.backpack-text h2 {
  font-size: 2.4rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.backpack-text h2 span {
  color: white;
  text-transform: uppercase;
  position: relative;
}

.backpack-text h2 span::after {
  content: "";
  width: 100%;
  background: var(--second-color);
  border-radius: 10px;
  z-index: -1;
  position: absolute;
  left: 0;
  bottom: -5px;
}

.backpack-text p {
  margin: 1rem 0 0;
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.6;
}

@media screen and (max-width: 900px) {
  .backpack {
    padding: 0.5rem 1rem; /* minimal top/bottom padding */
  }

  .backpack-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem; /* minimal gap between image and text */
  }

  .backpack-images,
  .backpack-text {
    flex: unset; /* remove min-height constraints */
    width: 100%; /* take full width */
    padding: 0;  /* remove extra padding */
  }

  .backpack-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem; /* very small spacing under heading */
  }

  .backpack-text p {
    margin: 0; /* remove spacing under paragraph */
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .backpack-grid {
    display: none; /* keep decorative element hidden */
  }
}

/* Selling Section */
.selling-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.selling-heading .btn {
  background: var(--main-color);
}
.selling-heading .btn:hover {
  background: var(--yellow-color);
}
.selling .product-box {
  border: 1px solid var(--text-neutral-2);
}

/* Swiper Pagination */
.slides-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.swiper-pagination {
  position: static !important;
  margin: 0 0 0 auto;
  text-align: left !important;
}
.selling .swiper-btn {
  margin-top: 0 !important;
}
.swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  border-radius: 0.2rem !important;
  background: var(--text-neutral-2) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  width: 1.5rem !important;
  background: red !important;
}

/* General headings */
.heading {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--main-color);
}

/* Brands Section */
.brand-container {
  background: #1a1a1a;
  padding: 50px 0;
}
.brand-content {
  max-width: 800px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, auto));
  gap: 1rem;
}
.brand-box {
  background: var(--bg-color);
  border-radius: 1.5rem;
  display: grid;
  justify-content: center;
}
.brand-box img {
  width: 100px;
  height: 85px;
  object-fit: contain;
}

/* Tips Section */
.tips-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.blogs {
  display: grid;
  gap: 1rem;
}
.blog-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--text-neutral-2);
  padding: 10px;
  border-radius: 1rem;
  color: var(--text-neutral);
}
.blog-box img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 1rem;
}
.blog-info span {
  background: var(--second-color);
  color: var(--main-color);
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.88rem;
}
.blog-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 10px 0 1rem;
  cursor: pointer;
  color: var(--main-color);
}
.read {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-neutral);
}
.read p {
  font-size: 0.9rem;
}

/* Single Post */
.single-post {
  position: relative;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.single-post img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.single-post-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--bg-color);
  padding: 20px;
  background: linear-gradient(
    1deg,
    hsl(128 26% 55% / 100%) 14%,
    hsl(128 24% 49% / 4%) 64%
  );
  backdrop-filter: blur(2px);
}
.post-data h2 {
  font-size: 0.94rem;
  margin-bottom: 6px;
  color: var(--bg-color);
}
.post-data .read {
  color: var(--bg-color);
}
.single-post a i {
  color: var(--bg-color);
  padding: 8px;
  border: 1px solid var(--bg-color);
  border-radius: 50%;
}

/* Links */
.links {
  width: 100%;
  display: grid;
  justify-content: space-between;
  gap: 8px;
}
.link-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--text-neutral-2);
  padding: 8px 14px;
  border-radius: 1.5rem;
  color: var(--text-neutral);
}
.link-box h3 {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--main-color);
}
.link-box a i {
  background: var(--second-color);
  color: var(--main-color);
  padding: 8px;
  border-radius: 8px;
  font-size: 18px;
}
.link-box a i:hover {
  background: var(--text-color);
  color: var(--bg-color);
  transition: all 0.4s ease-in-out;
}

/* Footer */
.footer {
  backdrop-filter: blur(10px);       /* glass effect */
  -webkit-backdrop-filter: blur(10px);
  padding: 50px 0;
  color: var(--text-neutral);
  position: relative;
  z-index: 1;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.footer-box {
  display: flex;
  flex-direction: column;
}
.footer-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: white;
}
.footer-box h3 span {
  color: white;
}
.footer-link {
  font-size: 0.82rem;
  font-weight: 600;
  color:white;
  margin-bottom: 8px;
  position: relative;
  padding-left: 1rem;
}
.footer-link::before {
  content: "";
  width: 8px;
  height: 8px;
  background: red;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.footer-link:hover {
  color:red;
  transition: 0.3s;
}
.footer-center {
  display: grid;
  justify-items: center;
  gap: 1rem;
  color: var(--text-neutral);
}
.footer-center p {
  text-align: center;
  margin-bottom: 1.2rem;
}
.social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social a i {
  background: red;
  color: white;
  font-size: 18px;
  padding: 8px;
  border-radius: 12px;
}
.social a i:hover {
  background: darkred;
  transition: background 0.4s ease-in-out;
}

/* Making Responsive */
@media (max-width: 1080px) {
  .container {
    width: 90%;
    margin: 0 auto;
  }
  .product-content {
    grid-template-columns: repeat(3, 1fr);
    padding: 40px;
  }
}
@media (max-width: 920px) {
  section {
    padding: 2rem 0;
  }
  .product-content,
  .tips-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .links {
    display: flex;
    flex-direction: column;
  }
  .link-box {
    padding: 1rem;
  }
  .footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 795px) {
  header {
    top: 15px;
  }
  .menu-icon {
    display: flex;
  }
  .login-btn {
    display: none;
  }
  .navbar {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%);
    width: 90vw;
    background: rgb(36, 36, 36);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    border-radius: 1rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  }
  .open-menu {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  }
  .nav-link {
    display: block;
    margin: 1rem 0;
  }
  .mobile-login {
    display: initial;
  }
}
@media (max-width: 685px) {
  .product-content {
    padding: 20px;
  }
  .backpack {
    grid-template-columns: repeat(1, 1fr);
  }
  .backpack-content {
    order: 2;
  }
  .backpack-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .backpack-grid {
    width: 50px;
    top: -20px;
    left: 12px;
  }
}
@media (max-width: 605px) {
  .product-content,
  .tips-content,
  .footer-container {
    grid-template-columns: 1fr;
  }
  .single-post {
    height: 380px;
  }
  .footer-center {
    order: 3;
  }
}
@media (max-width: 400px) {
  .logo img {
    width: 100px;
  }
  .category-content {
    margin-top: 2rem;
  }
  .selling-heading h2,
  .heading {
    font-size: 1.2rem;
  }
}

.sika-btn {
  background: red;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 1.5rem;
  font-size: 1rem;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.sika-btn:hover {
  background: darkred;
  color: var(--bg-color);
}


/* About Us Section */
.about-us {
  padding: 4rem 0;
  background: transparent; /* removed the dark box */
  border-radius: 0;        /* no rounded corners */
  overflow: visible;       /* allow floating image animation outside */
  position: relative;
}

.about-us-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}


.about-text {
  flex: 1 1 400px;
  color: var(--text-neutral);
}

.about-text h2 {
   font-size: 2.4rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: bold;
 text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.about-text h2::after {
  content: "";
  width: 80px;
  background: var(--yellow-color);
  border-radius: 2px;
  position: absolute;
  left: 0;
  bottom: -10px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-text .btn {
  background: red;
  padding: 8px 16px;
  border-radius: 1rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
}

.about-text .btn:hover {
  background: red;
}

.about-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-width: 85%;  /* smaller than full width on larger screens */
  height: auto;
  border-radius: 1.5rem;
  animation: floatY 6s ease-in-out infinite alternate;
}

/* Mobile fix */
@media (max-width: 900px) {
  .about-us-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1rem;
  }

  .about-image {
    flex: unset;              /* remove flex shrinking */
    width: 100%;              /* take full width */
    margin-bottom: 1rem;
  }

  .about-image img {
    max-width: 90%;           /* make it larger relative to screen */
  }

  .about-text h2 {
    font-size: 2rem;
  }
}
/* Section Title */
.section-title {
  font-size: 2.7rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #ff0000;
}

/* Search Bar */
.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  gap: 10px;
}
.search-bar input {
  padding: 10px 15px;
  border: 1px solid #ff9900;
  border-radius: 10px;
  width: 300px;
  outline: none;
}
.search-bar .btn1 {
  padding: 10px 20px;
  color: #ffffff;
  background-color: #cc7700;
  font-weight: bold;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Category Card */
.category-card {
  border-radius: 15px;
  background-color: #00000025;
  box-shadow: 0 4px 10px rgb(255, 0, 0);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
   opacity: 0;
  transform: translateY(30px);
  animation: reveal 0.6s forwards;
}
.category-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.3s ease; /* smooth transition */
}

.category-card img:hover {
  transform: scale(1.1); /* zoom in slightly */
}
.category-card h3 {
  margin: 10px 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}
.category-card p {
  font-size: 0.8rem;
  margin-bottom: 5px;
  color: #b4b4b4;
}
.category-card .btn {
  display: inline-block;
}

/* Hover Effect */
.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgb(187, 0, 0);
}

/* Staggered animation delays */
.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.3s; }
.category-card:nth-child(3) { animation-delay: 0.5s; }

/* Keyframes */
@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* On phones (max-width ~600px) → 2x2 grid */
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* smaller gap for mobile */
  }
}

/* On phones */
@media (max-width: 600px) {
  .category-card h3 {
    font-size: 1rem; /* smaller on small screens */
  }
}

.about-subtext {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #ffffff;
  font-weight: 700;
  margin-top: 2rem;
  padding: 0.5rem 1rem; /* adds some space around text */
  background: rgba(255, 145, 0, 0.1); /* subtle neon background */
  border-radius: 8px; /* rounded edges for background */
  
  display: inline-block; /* so background fits text only */
  position: relative;
}

.about-subtext::after {
  content: "";
  width: 50px;
  background: #ff9100;
  border-radius: 2px;
  position: absolute;
  left: 0;
  bottom: -8px;
  box-shadow: 0 0 8px #ff9100;
}

@media (max-width: 768px) {
  .about-subtext {
    font-size: 0.9rem; /* smaller text */
    padding: 0.3rem 0.6rem; /* adjust padding */
  }

  .about-subtext::after {
    width: 35px; /* shorter underline */
    bottom: -6px; /* adjust spacing */
  }
}

.about-logo {
  width: 40px;      /* adjust size as needed */
  height: auto;
  vertical-align: middle; /* aligns with text */
  margin-left: 8px; /* space between text and logo */
}





.who-we-are {
  padding: 4rem 2rem;
  text-align: center;
  background: transparent;
  color: var(--text-neutral);
}

.who-we-are h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff; /* عدل حسب الثيم */
}

.who-we-are p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  line-height: 1.8;
}

.highlight {
  color: #f1c40f;
  font-weight: bold;
}

.who-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.who-images img {
  width: 250px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.who-images img:hover {
  transform: scale(1.05);
}


/* Dropdown Search Bar - Glass Effect */
.search-dropdown {
  display: none;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  width: 100%;
  backdrop-filter: blur(12px); /* strong glass effect */
  -webkit-backdrop-filter: blur(12px); /* for Safari */
  border-radius: 1rem;
  position: relative; /* under header */
  z-index: 10;
}

.search-dropdown input {
  width: 95%;
  max-width: 400px;
  padding: 0.6rem 1rem;
  border-radius: 2rem;
  border: none;
  outline: none;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1); /* semi-transparent input */
  color: #fff;
}

.search-dropdown input::placeholder {
  color: #ddd;
}

/* Mobile Only */
@media (max-width: 768px) {
  .search-wrapper {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
  }
}


/* Wrapper to position icon inside input */
.search-input-wrapper {
  position: relative;
  width: 95%;
  max-width: 400px;
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem; /* extra space for icon */
  border-radius: 2rem;
  border: none;
  outline: none;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.search-input-wrapper i.search-submit {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
}

.search-results div {
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  border-radius: 0.5rem;
}
.search-results div:hover {
  background: rgba(255,255,255,0.1);
}


.search-input-wrapper button.search-submit {
  position: absolute;
  left: 0.5rem; /* moved from right to left */
  top: 50%;
  transform: translateY(-50%);
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 2rem;
  background: rgb(255, 123, 0);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.search-input-wrapper button.search-submit:hover {
  background: rgb(255, 153, 0);
}

  .suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    border-radius: 0.5rem;
    margin-top: 0.3rem;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 20;
  }
  .suggestions div {
    padding: 0.5rem;
    cursor: pointer;
  }
  .suggestions div:hover {
    background: rgba(255, 255, 255, 0.1);
  }


  /* Product Showcase Section */
.product-showcase {
  padding: 4rem 0;
}

.product-showcase-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.product-images {
  flex: 1 1 350px;
  text-align: center;
}

.product-images .main-img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  padding: 1rem;
  animation: floatY 6s ease-in-out infinite alternate;
}

.product-images .thumbs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.product-images .thumbs img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: var(--text-neutral-3);
  padding: 0.5rem;
  border-radius: 0.7rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-images .thumbs img:hover {
  transform: scale(1.1);
}

.product-text {
  flex: 1 1 400px;
  color: var(--text-neutral);
}

.product-text h2 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 1rem;
}

.product-text h2 span {
  color: var(--main-color);
}

.product-text p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.product-text ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-text ul li {
  margin-bottom: 0.6rem;
  padding-right: 1.2rem;
  position: relative;
}

.product-text ul li::before {
  content: "✔";
  position: absolute;
  right: 0;
  color: var(--main-color);
}


/* Cart Section */
.cart-section {
  max-width: 900px;
  margin: 8rem auto 50px auto;
  background: rgba(13, 13, 13, 0.6);
  padding: 25px;
  border-radius: 12px;
  color: #fff;
  backdrop-filter: blur(12px);
  direction: rtl; /* ensures RTL flow for Arabic */
}

.cart-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  color: #ff6600; /* match your orange accent */
}

/* Table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right; /* header and cells aligned right */
  margin-bottom: 20px;
}

.cart-table th, .cart-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header */
.cart-table th {
  color: #ff6600;
}

/* Product cell: image + name */
.cart-table td.product-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* image on right, name after it */
  gap: 10px; /* space between image and name */
  text-align: right;
}

/* Product image */
.cart-table td.product-cell img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

/* Buttons inside table */
.cart-table button {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.cart-table button:hover {
  background: #e65c00;
}

/* Responsive */
@media (max-width: 768px) {
  .cart-table th, .cart-table td {
    font-size: 0.9rem;
    padding: 8px;
  }

  .cart-table td.product-cell img {
    width: 40px;
    height: 40px;
  }
}

/* Reveal Animation */
@keyframes cartReveal {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to the whole cart */
.cart-section {
  animation: cartReveal 0.8s ease forwards;
}

/* Stagger table rows */
.cart-table tr {
  opacity: 0;
  transform: translateY(20px);
  animation: cartReveal 0.6s ease forwards;
}

/* Delay each row for stagger effect */
.cart-table tr:nth-child(1) { animation-delay: 0.2s; }
.cart-table tr:nth-child(2) { animation-delay: 0.4s; }
.cart-table tr:nth-child(3) { animation-delay: 0.6s; }
.cart-table tr:nth-child(4) { animation-delay: 0.8s; }





.bundle-section {
  text-align: center;
  margin: 4rem auto;
}

.section-title {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.main-video {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.main-video .video-thumb {
  max-width: 800px;
  width: 100%;
  border-radius: 12px;
}

.purchase-btn {
  margin-bottom: 3rem;
}

.demo-title {
  font-size: 2.2rem;
  color: white;
  margin: 2rem 0 1rem;
margin-bottom: 3rem;
  /* Simple text shadow */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}


.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.demo-card {
  background: var(--text-neutral-3);
  border-radius: 1rem;
  padding: 1rem;
  color: #fff;
  transition: transform 0.3s;
  cursor: pointer;
  max-width: 320px;  /* حجم مناسب */
  margin: 0 auto;    /* يثبت الكارد في النص */
}

.demo-card:hover {
  transform: scale(1.05);
}

.demo-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.demo-card h4 {
  font-size: 1.1rem; /* حجم أوضح */
  color: white;
  margin: 0;
}

.demo-card p {
  font-size: 0.9rem;
  color: #bbb;
  margin: 0;
}

/* على الموبايل: صفين */
@media (max-width: 480px) {
  .demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-card {
    max-width: 100%;
  }
  .demo-card h4 {
    font-size: 1rem;
  }
}


.benefits {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  text-align: left;
}
.benefits ul {
  list-style: none;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* شبكة تلقائية */
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits li {
  background: rgba(0, 0, 0, 0.329);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 20px;
  min-height: 90px;
  font-size: 1.1rem;
  color: #ffffff;
  text-align: right;
  transition: transform 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  gap: 12px; /* gap between icon and text */
  margin-bottom: 1rem; /* add vertical space below each list item */
}

.benefits li:last-child {
  margin-bottom: 0; /* remove bottom margin for the last item */
}


.benefits li i {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: red;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.benefits li:hover {
  background: rgb(0, 0, 0);
  transform: scale(1.05);
}



/* Video Section */
.section-video {
  margin: 2rem auto;
  display: flex;
  justify-content: center;
}

.section-video__box {
  width: 100%;
  max-width: 800px;
   background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: right; /* RTL neat look */
}

.section-video__title {
  color: red;
  font-size: 1rem; /* smaller font */
  font-weight: 600;
}

.section-video__wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.section-video__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.section-video__time {
  font-size: 1.2rem;
  color: #ffffff;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
}



/* Signup Section */
.signup-section {
    margin: 120px auto 4rem auto;
    max-width: 780px;
    background: rgba(13, 13, 13, 0.5); /* semi-transparent */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgb(255, 0, 0);
    color: var(--text-neutral);
    text-align: right;
    direction: rtl;
    opacity: 0;
    transform: translateY(20px);
    animation: signup-custom-reveal 0.8s ease forwards;
    animation-delay: 0.3s;
}

@keyframes signup-custom-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Title */
.signup-section .account-title {
    font-size: 2.5rem;
    color: #ff0000;
    text-align: center;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* Form Groups */
.signup-section .signup-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

/* Labels */
.signup-section .signup-form label {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.signup-section .signup-form label .optional {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85rem;
    margin-right: 6px;
}

/* Inputs & Textareas */
.signup-section .signup-form input,
.signup-section .signup-form textarea {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--text-neutral-3);
    background: transparent;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-section .signup-form input:focus,
.signup-section .signup-form textarea:focus {
    border-color: red;
    box-shadow: 0 0 8px red;
}

/* Textarea resize */
.signup-section .signup-form textarea {
    resize: vertical;
}

/* File input styling */
.signup-section .signup-form input[type="file"] {
    padding: 6px 0;
    font-size: 1rem;
    color: var(--text-neutral);
}

.signup-section .signup-form input[type="file"]::-webkit-file-upload-button {
    background: red;
    color: var(--bg-color);
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.signup-section .signup-form input[type="file"]::-webkit-file-upload-button:hover {
    background: darkred;
}

/* Create Account Button */
.signup-section .btn-signup {
    width: 100%;
    background: red;
    color: white;
    border: none;
    padding: 12px 0;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.signup-section .btn-signup:hover {
    background: darkred;
}

/* Responsive Styles for Mobile */
@media (max-width: 480px) {
    .signup-section {
        max-width: 90%;
        margin: 6rem auto 2rem auto;
        padding: 1rem;
        box-shadow: 0 3px 10px rgba(255, 0, 0, 0.3);
    }

    .signup-section .account-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .signup-section .signup-form input,
    .signup-section .signup-form textarea,
    .signup-section .signup-form input[type="file"]::-webkit-file-upload-button {
        font-size: 0.85rem;
        padding: 8px 10px;
        border-radius: 6px;
    }

    .signup-section .btn-signup {
        font-size: 1rem;
        padding: 10px 0;
    }
}


  .optional {
  color: #ffffff;             /* lighter color */
  font-weight: bold;     /* normal weight, not bold */
  font-size: 0.875rem;     /* a bit smaller */
  margin-right: 6px;       /* spacing from label text */
}
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* leave space for eye */
  box-sizing: border-box;
}

.password-wrapper .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  color: #666;
}


.signup-section .signup-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #ffffff;
}

.signup-section .signup-footer a {
    color: red;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.signup-section .signup-footer a:hover {
    color: darkred;
}


/* Profile Card v2 */
.profile-card-v2 {
  position: relative;
  transform: translateY(30px);
  animation-fill-mode: forwards;
  animation-name: fadeUp;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  top: 40px;
  max-width: 420px;
  margin: 0 auto 80px auto;
  background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  border-radius: 20px;
  box-shadow: 0 0 30px #ff0000aa;
  padding: 30px 24px 40px 24px;
  text-align: center;
  user-select: none;
  z-index: 10;
}

.profile-card-v2 img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ff0000;
  box-shadow: 0 0 12px #ff222280;
  margin: 0 auto;   /* <<< يخليها بالنص */
  margin-bottom: 20px;
  display: block;   /* نخليها بلوك ويصير تمركز */
}


.profile-card-v2 h2 {
  margin-top: 6px;  /* مسافة صغيرة مضبوطة بدل الفراغ الكبير */
  margin-bottom: 15px;
  font-size: 2em;
  font-weight: 900;
  color: #ff0000;
}


.profile-card-v2 p {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 18px;
}

.profile-card-v2 .bio {
  font-size: 0.95em;
  color: #bbb;
  white-space: pre-line;
  margin-top: 15px;
  line-height: 1.4;
}

.profile-actions {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.logout-btn-v2 {
 display: inline-flex;       /* مثل زر .about-text .btn */
  align-items: center;        /* لضبط النص عمودياً */
  padding: 8px 16px;          /* أصغر من السابق */
  background: #8b0000;        /* نفس اللون الأحمر الداكن */
  color: #fff;                /* لون الخط أبيض */
  font-weight: 700;           /* أخف من 900 لكن واضح */
  font-size: 1rem;            /* أصغر من السابق */
  border: none;               /* بدون حدود */
  border-radius: 1rem;        /* زاوية مستديرة مثل الزر الآخر */
  cursor: pointer;
  box-shadow: 0 0 8px #8b0000aa; /* ظل أخف */
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.logout-btn-v2:hover,
.logout-btn-v2:focus {
  background-color: #5e0000;   /* مثل hover القديم */
  box-shadow: 0 0 12px #d95c5c; /* ظل خفيف مع بروز */
  transform: scale(1.05);
  outline: none;
}


/* Edit Profile v2 */
.edit-profile-v2 {
  max-width: 420px;
  margin: 40px auto 80px auto;
  background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  border-radius: 20px;
  padding: 30px 24px 40px 24px;
  color: #000000;
  user-select: none;
  z-index: 10;
}

@media (min-width: 900px) {
  .edit-profile-v2 {
    max-width: 700px;
    padding: 40px 36px 50px 36px;
  }
}

.edit-profile-v2 h2 {
  font-size: 2em;
  font-weight: 900;
  color: #d95c5c;
  margin-bottom: 20px;
  text-shadow: 0 0 5px #7a0000;
  text-align: center;
}

.edit-profile-v2 label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.edit-profile-v2 input[type="text"],
.edit-profile-v2 textarea,
.edit-profile-v2 input[type="file"],
.edit-profile-v2 input[type="password"],
.edit-profile-v2 input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid #4a1a1a;
  background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  color: #ffffff;
  font-size: 1em;
  box-shadow: inset 0 0 6px #5a1a1aaa;
  transition: border-color 0.3s ease;
}

.edit-profile-v2 input:focus,
.edit-profile-v2 textarea:focus {
  outline: none;
  border-color: #cc4444;
  box-shadow: 0 0 8px #cc444499;
  background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  color: #fff;
}

.edit-profile-v2 textarea {
  resize: vertical;
  min-height: 100px;
}

.edit-profile-v2 input[readonly],
.edit-profile-v2 input[aria-readonly="true"] {
  background-color: #333333;
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-save-v2 {
  display: inline-flex;       /* مثل زر .about-text .btn */
  align-items: center;        /* لضبط النص عمودياً */
  padding: 8px 16px;          /* أصغر من السابق */
  background: #8b0000;        /* نفس اللون الأحمر الداكن */
  color: #fff;                /* لون الخط أبيض */
  font-weight: 700;           /* أخف من 900 لكن واضح */
  font-size: 1rem;            /* أصغر من السابق */
  border: none;               /* بدون حدود */
  border-radius: 1rem;        /* زاوية مستديرة مثل الزر الآخر */
  cursor: pointer;
  box-shadow: 0 0 8px #8b0000aa; /* ظل أخف */
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-save-v2:hover,
.btn-save-v2:focus {
  background-color: #5e0000;   /* مثل hover القديم */
  box-shadow: 0 0 12px #d95c5c; /* ظل خفيف مع بروز */
  transform: scale(1.05);
  outline: none;
}

/* Dark / default theme */
.forgot-password {
    display: block;
    text-align: left;
    margin-top: 10px;
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.forgot-password:hover {
    color: #c0c0c0;
}





.demo-videos {
  padding: 40px 20px;
}
.demo-videos .section-title {
  font-size: 2.5rem;
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: bold;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* Each video card */
.video-card {
  background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  border: 4px ;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  border-color: #0077ff;
}

/* Thumbnail */
.video-thumb {
  width: 100%;
  display: block;
  border-radius: 12px 12px 0 0;
}

.video-info {
  display: flex;
  justify-content: space-between; /* العنوان يسار، الوقت يمين */
  align-items: center;
  padding: 12px 10px;
  margin: 0;
  font-weight: 500;
}

.video-title {
  font-size: 1rem;
  color: #fff;
}

.video-time {
  font-size: 0.9rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-time i {
  font-size: 1rem;
}



/* Phone: 2 columns, wider cards */
@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr)); /* أوسع شوي */
    gap: 18px; /* فراغ مناسب */
  }
  .demo-videos .section-title {
    font-size: 2.3rem; /* أكبر شوي */
  }
  .video-info {
    padding: 15px 12px; /* زيادة الحشو */
  }
  .video-title {
    font-size: 1rem;
  }
  .video-time {
    font-size: 1rem;
  }
}


/* Tablet / Small Laptop: 3 columns */
@media (min-width: 601px) and (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .demo-videos .section-title {
    font-size: 2.2rem;
  }
}

/* Large Desktop: 3 columns with more gap */
@media (min-width: 1201px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .demo-videos .section-title {
    font-size: 2.5rem;
  }
}



/* WHO WE ARE */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.who-card {
 background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgb(0, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.who-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.who-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  color: rgb(255, 255, 255);
  font-size: 1.3rem;
}

.who-card p {
  color: var(--text-neutral);
  line-height: 1.6;
  font-size: 0.95rem;
}

.who-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  border: 2px solid #ff4d4f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #ff4d4f; /* الأيقونة باللون الأحمر */
}



.contact-card {
   background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.contact-form label {
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
   background: rgba(13, 13, 13, 0.5); /* semi-transparent */
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: red;
}

.btn {
  padding: 0.9rem 1.5rem;
  background-color: red;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #ff4d4f;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  font-size: 1.8rem;
  color: red;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ff4d4f;
}

/* Responsive */
@media(max-width: 600px) {
  .contact-card {
    padding: 1.5rem;
    gap: 1rem;
  }
}




    .plans-section {
  max-width: 1100px;
  margin: 100px auto 60px;
  padding: 0 20px;
  text-align: center;
}

.plans-title {
  font-size: 2.7em;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
}

.plans-desc {
  color: #ccc;
  font-size: 1.1em;
  margin-bottom: 50px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 38px;
  justify-items: center;
  margin-bottom: 60px;
}

.plan-card {
  background: #18181a;
  border-radius: 22px;
  box-shadow: 0 0 21px #ff000036;
  padding: 38px 28px 32px 28px;
  min-width: 0;
  border: 2.5px solid #ff0000;
  box-shadow: 0 0 38px #4141416c, 0 0 17px #00000080;
  display: flex; 
  flex-direction: column; 
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.plan-card.featured {
  border: 2.5px solid #ff0000;
  box-shadow: 0 0 38px #ff00006c, 0 0 17px #a3000080;
}

.plan-card h2 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.plan-price {
  font-size: 2.6em;
  color: #ff0000;
  font-weight: 900;
  margin-bottom: 8px;
}

.plan-duration {
  color: #bbb; 
  margin-bottom: 18px; 
  font-size: 1em;
}

.plan-features {
  margin-bottom: 22px;
  text-align: left;
  color: #ddd;
}

.plan-features li {
  margin-bottom: 10px;
  list-style: none;
  position: relative;
  padding-left: 28px;
  font-size: 1.1em;
}


.plan-btn {
  background: #ff0000;
  color: #fff;
  font-weight: 700;
  font-size: 1.1em;
  padding: 14px 35px;
  border-radius: 25px;
  text-decoration: none;
  border: none;
  box-shadow: 0 0 17px #ff0000cc;
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 15px;
  display: inline-block;
}

.plan-btn:hover { 
  background: #b30000; 
  color: #fff; 
  box-shadow: 0 0 28px #ff4444;
}


/* Course by course pricing grid */
.course-prices-title {
  margin-top: 80px;
  font-size: 2em;
  color: #ff2222;
  font-weight: 900;
  margin-bottom: 32px;
  text-shadow: 0 0 8px #b30000;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 23px;
  justify-items: center;
  margin-bottom: 50px;
}

.price-card {
  background: #1a1a1a;
  border-radius: 17px;
  box-shadow: 0 0 17px #ff0000aa;
  max-width: 280px;
  width: 100%;
  padding: 20px 12px 23px 12px;
  display: flex; 
  flex-direction: column; 
  align-items: center;
  transition: transform 0.2s, box-shadow 0.18s;
}

.price-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 28px #ff0000, 0 0 38px #420000aa;
}

.price-course-name {
  font-size: 1.19em;
  font-weight: 900;
  color: #fff;
  margin-bottom: 7px;
  user-select: none;
  text-align: center;
}

.price-amount {
  font-size: 1.6em;
  color: #ff0000;
  font-weight: 900;
  margin-bottom: 7px;
  user-select: none;
}

.price-description {
  font-size: 0.99em;
  color: #ccc;
  text-align: center;
  margin-bottom: 13px;
  line-height: 1.3;
  user-select: none;
}

.btn-purchase {
  background: #ff0000;
  color: #000;
  padding: 10px 22px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 1em;
  box-shadow: 0 0 13px #ff0000cc;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  width: fit-content;
}

.btn-purchase:hover {
  background: #b30000;
  color: #fff;
  box-shadow: 0 0 20px #ff4444;
  transform: scale(1.04)
}


/* Responsive adjustments */
@media (max-width: 800px) {
  .plan-grid { 
    gap: 17px; 
  }
  .plans-section { 
    padding: 0 7px; 
  }
  .plans-title { 
    font-size: 2em; 
  }
  .course-prices-title { 
    font-size: 1.6em;
  }
}

@media (max-width: 600px) {
  .plan-grid {
    grid-template-columns: 1fr; /* keep plans stacked vertically for readability */
  }
  .price-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for price cards */
    gap: 20px;                           /* appropriate gap between cards */
    max-width: 320px;                    /* constrain width for phone view */
    margin: 0 auto;                     /* center grid on screen */
  }
  .price-card {
    max-width: 100%;                    /* allow cards to fill each grid column */
    padding: 15px 12px;                 /* optionally reduce padding for compactness */
  }
  .plans-section {
    padding: 0 7px;
  }
  .plans-title {
    font-size: 2.4em;
  }
}


  .plan-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Make all plan cards and price cards wider */
.plan-card,
.price-card {
  width: 450px;      /* wider width */
  max-width: 100%;   /* still responsive */
}

/* Keep padding same so height doesn't grow */
.plan-card {
  padding: 38px 28px 32px 28px; /* original padding */
}

.price-card {
  padding: 20px 12px 23px 12px; /* original padding */
}

/* Keep animations */
.plan-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .plan-card,
  .price-card {
    width: 380px;  /* slightly smaller for mid-size screens */
  }
}

@media (max-width: 800px) {
  .plan-card,
  .price-card {
    width: 90%;    /* tablet screens */
  }
}

@media (max-width: 600px) {
  .plan-card,
  .price-card {
    width: 95%;    /* phone screens */
  }
}
