/* Modern Color Palette */
:root {
  --primary: #E94B35;
  --secondary: #23272F;
  --accent: #223f3f;
  --background: #F9F9F9;
  --surface: #fff;
  --text: #23272F;
  --text-light: #fff;
  --border: #E5E7EB;
  --shadow: 0 4px 24px rgba(36, 36, 36, 0.08);
  --radius: 18px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}
[data-theme="dark"] {
  --background: #181A1B;
  --surface: #23272F;
  --text: #fff;
  --text-light: #23272F;
  --border: #333;
  --shadow: 0 4px 24px rgba(0,0,0,0.18);
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Tajawal', 'Cairo', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}
/* Header */
.main-header {
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 0.7rem 0;
  transition: background var(--transition);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  height: 90px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
  min-width: 140px;
  object-fit: cover;
}
.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.nav-menu .cta {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.nav-menu .cta.active, .nav-menu a.active {
  color: #fff !important;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
  border-bottom: 2.5px solid var(--secondary);
}
.nav-menu a:hover {
  background: var(--secondary);
  color: #fff;
}
.header-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-email, .location {
  font-size: 0.98rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.social-icons a {
  margin-left: 0.5rem;
  color: var(--primary);
  font-size: 1.2rem;
  transition: color var(--transition), transform var(--transition);
}
.social-icons a:hover {
  color: var(--accent);
  transform: scale(1.15);
}
#theme-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--primary);
  transition: color var(--transition);
}
#theme-toggle:hover {
  color: var(--accent);
}
/* SwiperJS Hero Slider */
.hero-slider-section {
  width: 100vw;
  margin-right: calc(-1 * ((100vw - 100%) / 2));
  margin-left: calc(-1 * ((100vw - 100%) / 2));
  background: var(--surface);
  box-shadow: var(--shadow);
  position: relative;
}
.hero-swiper {
  width: 100vw;
  height: 320px; /* بدل min-height */
  max-height: 420px;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  position: relative;
}

.hero-swiper .swiper-slide {
  height: 100%; /* مهم جداً */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}

.hero-img {
  width: 100vw;
  height: 100%; /* لازم تكون 100% عشان تاخد من الأب */
  object-fit: cover;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  filter: brightness(0.93);
}

@media (max-width: 768px) {
  .hero-img {
    height: 100%;
    max-height: none; /* إزالة الحد الأقصى للطول */
  }
}

.hero-slider-content {
  position: absolute;
  right: 8vw;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  color: var(--primary);
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 270px;
  max-width: 420px;
  text-align: right;
}
[data-theme="dark"] .hero-slider-content {
  background: rgba(24,26,27,0.92);
  color: var(--secondary);
}
.hero-slider-content h1 {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  font-weight: 900;
}
.hero-slider-content p {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
}
.swiper-pagination-bullet {
  background: var(--primary) !important;
  opacity: 0.7;
}
.swiper-button-next, .swiper-button-prev {
  color: var(--primary);
  font-size: 1.5rem;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  top: 50%;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition);
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--primary);
  color: #fff;
}
/* Categories & Store Cards */
.categories, .clients-section {
  padding: 2.2rem 0 1.2rem 0;
}
.categories h2, .clients-section h1 {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.category-filters {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.category-btn {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4em;
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.category-btn.active, .category-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.stores-slider, .clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.store-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 260px;
}
.store-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 4px 32px rgba(37,99,235,0.13);
}
.store-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.7rem;
  background: #eee;
  box-shadow: var(--shadow);
}
.store-card h3 {
  margin: 0.5rem 0 0.2rem 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.store-category {
  font-size: 0.98rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.view-store {
  margin-top: auto;
  background: var(--accent);
  color: #fff;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4em;
  transition: background var(--transition);
  box-shadow: var(--shadow);
}
.view-store i {
  margin-left: 0.3em;
}
.view-store:hover {
  background: var(--primary);
}
/* About & CTA */
.about-platform {
  background: var(--surface);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--primary);
  font-size: 1.1rem;
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  background-image: url('../assets/images/Web\ 2.jpg');
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  font-weight: bold;
}
.about-platform i {
  color: #fff;
  margin-left: 0.5em;
}
.join-cta {
  padding: 2rem 0;
  text-align: center;
}
.join-cta h2 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 900;
}
.cta-btn {
  background: var(--primary);
  color: #fff;
  padding: 0.7rem 2rem;
  border-radius: var(--radius);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.cta-btn i {
  margin-left: 0.3em;
}
.cta-btn:hover {
  background: var(--accent);
}
/* Footer */
footer {
  background: var(--surface);
  border-top: 1.5px solid var(--border);
  padding: 1.2rem 0;
  margin-top: 2rem;
  transition: background var(--transition);
  box-shadow: var(--shadow);
}
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo img {
  height: 80px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-contact {
  color: var(--text);
  font-size: 0.98rem;
  display: flex;
  gap: 0.2rem;
  align-items: flex-end;

}
.footer-contact i {
  color: var(--secondary);
  margin-left: 0.4em;
}
/* Responsive */
@media (max-width: 900px) {
  .header-flex, .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .hero-slider-content {
    right: 2vw;
    left: 2vw;
    min-width: unset;
    max-width: 100vw;
    padding: 1.2rem 1.2rem;
  }
  .hero-swiper {
    min-height: 220px;
    max-height: 320px;
  }
}
@media (max-width: 600px) {
  .container {
    width: 90%;
  }
  .nav-menu {
    gap: 0.7rem;
  }
  .stores-slider, .clients-grid {
    grid-template-columns: 1fr;
  }
  .join-form {
    padding: 1rem 0.5rem;
  }
  .hero-slider-content {
    font-size: 1rem;
    padding: 0.7rem 0.7rem;
  }
} 

label{
  text-align: right !important;
}
/* Navbar Toggle */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-right: 0.5rem;
  z-index: 1002;
}
@media (max-width: 900px) {
  .header-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .navbar-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    background: var(--surface);
    box-shadow: -2px 0 24px rgba(44,62,80,0.13);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    z-index: 1001;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    transform: translateX(100%);
  }
  .nav-menu.open {
    display: flex;
    transform: translateX(0);
    z-index: 9999999;
  }
  .nav-menu li {
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .nav-menu a {
    width: 60%;
    justify-content: flex-start;
    font-size: 1.15rem;
    padding: 0.7rem 0.8rem;
    border-radius: var(--radius);
  }
  .nav-menu .cta {
    margin-top: 1.5rem;
  }
  .container {
    width: 90% !important;
    min-width: 0;
    padding: 0 0.5rem;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .join-form-card, .join-benefits-card, .faq-list, .package-card {
    max-width: 98vw !important;
    min-width: unset !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .packages-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .join-container-flex {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .faq-list {
    padding: 1.2rem 0.5rem;
  }
  .join-form input, .join-form select, .join-form textarea {
    width: 100% !important;
  }
}
@media (max-width: 600px) {
  .hero-slider-content {
    font-size: 1rem;
    padding: 0.7rem 0.7rem;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .header-info {
    display: flex
;
    align-items: self-start;
    gap: 1rem;
    flex-direction: column;
    justify-content: start;
}
.social-icons{
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
  justify-content: start;
}
}
/* Overlay for menu */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1000;
}
.menu-overlay.open {
  display: block;
}
.mobile-only { display: none !important; }
/* .desktop-only { display: block !important; } */
@media (max-width: 900px) {
  .mobile-only { display: block !important; }
  .desktop-only { display: none !important; }
  .main-header { padding-bottom: 0.2rem; }
  .navbar-close {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--primary);
    cursor: pointer;
    margin-bottom: 1.2rem;
    margin-right: auto;
    display: block;
    padding: 0.2em 0.5em;
  }
  .header-flex {
    gap: 0.2rem;
    min-height: 60px;
  }
  #theme-toggle {
    margin-right: 0.5rem;
    margin-left: 0;
    z-index: 1003;
  }
}
.hero-search-overlay {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}
.hero-search-form {
  display: flex;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.7rem 1.2rem;
  gap: 0.5rem;
  align-items: center;
  min-width: 320px;
  max-width: 480px;
  width: 90vw;
  pointer-events: auto;
}
.hero-search-form input[type="text"] {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: var(--text);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  outline: none;
  direction: rtl;
}
.hero-search-form input[type="text"]::placeholder {
  color: #aaa;
  font-size: 1rem;
}
.hero-search-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
}
.hero-search-form button:hover {
  background: var(--accent);
  color: var(--secondary);
}
@media (max-width: 600px) {
  .hero-search-form {
    min-width: 0;
    max-width: 98vw;
    padding: 0.5rem 0.5rem;
  }
  .hero-search-form input[type="text"] {
    font-size: 1rem;
    padding: 0.4rem 0.4rem;
  }
  .hero-search-form button {
    font-size: 1rem;
    padding: 0.5rem 0.7rem;
  }
}
.category-filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.category-select {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 1rem;
  color: var(--secondary);
  background: var(--surface);
  min-width: 160px;
  transition: border var(--transition);
}
.category-select:focus {
  border-color: var(--primary);
  outline: none;
}
.store-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  padding: 0;
  min-width: 230px;
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.store-card:hover {
  box-shadow: 0 8px 32px rgba(233,75,53,0.13);
  transform: translateY(-4px) scale(1.01);
}
.store-cover {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.category-badge {
  position: absolute;
  left: 0px;
  bottom: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.3em 1em;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 2;
}
.store-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem 1rem 1rem;
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
  position: relative;
  min-height: 60px;
}
.store-logo-name {
  display: flex;
  align-items: baseline;
  justify-content: space-around;
  gap: 0.7em;
}
.store-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--surface);
  box-shadow: 0 2px 8px rgba(36,36,36,0.10);
  background: #fff;
  position: relative;
  bottom: -22px;
  right: -8px;
  z-index: 3;
}
.store-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--secondary);
  margin-right: 0.2em;
}
@media (max-width: 900px) {
  .stores-slider {
    grid-template-columns: 1fr;
  }
  .store-card {
    max-width: 98vw;
    min-width: 300px ;
  }
  .store_link{
    margin-top: 65px !important;
  }
  .store-cover {
    height: 120px;
  }
  .store-logo {
    width: 38px;
    height: 38px;
    bottom: -19px;
  }
}

.store_link{
  display: flex
;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-right: 10px;
    margin-left: 10px;
}
.store-logo-name{
  position: absolute;
  right: 15px;
  top: 73px;
}

/* Featured Stores Section */
.featured-stores-section {
    background: #fff;
    border-radius: 10px;
    margin: 40px 0 30px 0;
    box-shadow: 0 2px 8px #eee;
    padding: 25px 10px 30px 10px;
    direction: rtl;
    position: relative;
}
.featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #E94B35;
    padding: 10px 25px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 20px;
}
.featured-header .see-more {
    color: #E94B35;
    text-decoration: underline;
    font-size: 15px;
}
.store-featured-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.featured-logo-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fafafa;
    border: 4px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}
.featured-logo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
}
.featured-store-name {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    text-align: center;
}
.featured-stores-swiper .swiper-button-next,
.featured-stores-swiper .swiper-button-prev {
    color: #009bb3;
    top: 45%;
}
@media (max-width: 900px) {
    .featured-header {
        font-size: 15px;
        padding: 8px 10px;
    }
    .featured-logo-wrap {
        width: 65px;
        height: 65px;
    }
    .featured-logo {
        width: 48px;
        height: 48px;
    }
    .featured-stores-section {
        padding: 15px 2px 20px 2px;
    }
    .footer-logo img{
      height: 90px;
      width: 100px;
    }
}

.featured-stores-swiper .swiper-button-next, .featured-stores-swiper .swiper-button-prev{
  background-color: transparent !important;
}

.footer-contact i{
  color: #E94B35;
}
.footer-contact span{
  margin: 0 10px;
}

select{
  appearance: none !important;
}
.fa-chevron-down{
  position: absolute;
  left: 10px;
  top: 10px;
}

.form-group{
  align-items: flex-start !important;
}

.swiper-button-prev, .swiper-rtl .swiper-button-next{background-color: transparent !important;}
.store-card{
  margin: 0 20px;
}