/* home.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "cairo", sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
body {
  background-color: #f8f8f9;
  color: var(--text-main);
  direction: rtl;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select {
  font-family: inherit;
}
.hero-container {
 
  height: 100vh;
}
/* BACKGROUND AMBIENT GLOWS */
.ambient-glow-top {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 85vw;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(255, 140, 66, 0.15) 0%,
    rgba(255, 235, 224, 0.08) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.ambient-glow-bottom {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 350px;
  background: radial-gradient(
    ellipse at bottom,
    rgba(255, 110, 30, 0.12) 0%,
    rgba(255, 220, 200, 0.05) 60%,
    rgba(255, 255, 255, 0) 80%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}

/* MAIN WRAPPER LAYOUT */
.page-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

/* HEADER & NAVIGATION */
header {
  position: relative;
  width: 100%;
  max-width: 95%;
  margin: 0 auto;
  padding: 20px 16px 0;
}

.navbar {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  background-color: white;
  border-radius: 116px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 1px 5px 33.3px 0 #00000026;
  border: 1px solid #f0f1f4;
  z-index: 999999;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 8px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.logo-container:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 900;
  font-size: 22px;
  color: var(--text-dark);
  line-height: 1;
  transition: color var(--transition-fast);
}

.logo-container:hover .logo-title {
  color: var(--primary-orange);
}

.logo-subtitle {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #4a4a4a;
}

.nav-links a {
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary-orange);
}

.nav-links a.active {
  color: var(--primary-orange);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-orange);
  border-radius: 99px;
}

/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ff6a35;
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 44px;
}

.btn-primary:hover {
  background-color: #e64a19;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.97);
}

.mobile-menu-toggle {
  display: none;
  padding: 8px;
  border-radius: 50%;
  color: var(--text-dark);
  font-size: 18px;
}

/* MOBILE MENU DROPDOWN */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  background-color: white;
  margin-top: 12px;
  padding: 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.mobile-menu.open {
  display: flex;
  position: fixed;
  width: 88%;
  z-index: 999999;
  top: 77px;
}

.mobile-menu a {
  padding: 10px 14px;
  border-radius: 12px;
  transition: background-color var(--transition-fast);
}

.mobile-menu a:hover {
  background-color: #f8fafc;
}

.mobile-menu a.active {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
}

/* HERO SECTION */
.hero-section {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  width: 100%;
  margin-top: 50px;
}

.hero-headline {
  font-size: 60px;
  font-weight: 900;
  color: #000000;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-headline .highlight {
  color: #f68c1e;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 20px;
  color: #00132db0;
  font-weight: 400;
  max-width: 587px;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* SEARCH BAR COMPONENT */
.search-wrapper {
  width: 100%;
  max-width: 640px;
  margin-bottom: 36px;
  position: relative;
}

.search-bar {
  background-color: #faf9f9;
  border-radius: 28px;
  padding: 8px 10px 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #53535317;
  box-shadow: 0px 7px 72.9px 0px #00000026;
}

.search-bar:focus-within {
  border-color: rgba(255, 87, 34, 0.4);
  box-shadow:
    0 15px 35px -10px rgba(255, 87, 34, 0.15),
    0 0 0 3px rgba(255, 87, 34, 0.1);
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 14px;
  flex-grow: 1;
}

.search-icon {
  color: #fd3700;
  font-size: 16px;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
}

.category-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #61667e;
  font-size: 12px;
  font-weight: 600;
  position: relative;
}

.category-trigger:hover {
  background-color: #f1f5f9;
}

.category-trigger i.chevron {
  font-size: 10px;
  color: #94a3b8;
  margin-right: 2px;
  transition: transform var(--transition-fast);
}

.category-trigger i.chevron.rotate {
  transform: rotate(180deg);
}
img {
  max-width: 100%;
}
/* CATEGORY DROPDOWN MENU */
.category-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: 100%;
  background-color: white;
  border-radius: 20px;
  padding: 8px;
  z-index: 50;
  display: none;
  text-align: right;
  animation: fadeIn 0.2s ease-out forwards;
}

.category-dropdown.active {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 12px;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
}

/* LIVE SEARCH RESULTS PREVIEW */
.search-results-popup {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-dropdown);
  border: 1px solid var(--border-color);
  padding: 12px;
  z-index: 40;
  display: none;
  text-align: right;
}

.search-results-popup.active {
  display: block;
}

.results-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  padding: 4px 12px;
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 12px;
  transition: background-color var(--transition-fast);
}

.result-item:hover {
  background-color: #f8fafc;
}

.badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 99px;
  font-weight: 700;
}

.badge-orange {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
}
.badge-blue {
  background-color: #e0f2fe;
  color: #0284c7;
}
.badge-green {
  background-color: #dcfce7;
  color: #16a34a;
}

/* HERO CTA BUTTONS */
.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 500px;
}

.cta-primary {
  flex: 1;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 600;
}

.cta-primary i {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.cta-primary:hover i {
  transform: translateX(-4px);
}

.cta-secondary {
  flex: 1;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 51px;
  background-color: #ffffff;
  border: 1px solid #f4e7e129;
  color: #ff622f;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.cta-secondary i {
  font-size: 12px;
}

/* FOOTER */
footer {
  width: 100%;
  padding: 24px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  z-index: 10;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background-color: var(--white);
  border-radius: 28px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-dropdown);
  position: relative;
  text-align: right;
  animation: fadeIn 0.25s ease-out forwards;
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--text-light);
  font-size: 18px;
  padding: 6px;
  border-radius: 50%;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-orange);
  background-color: var(--white);
}

.form-submit-btn {
  width: 100%;
  background-color: var(--primary-orange);
  color: var(--white);
  font-weight: 700;
  padding: 14px;
  border-radius: 14px;
  font-size: 14px;
  margin-top: 8px;
  transition: background-color var(--transition-fast);
}

.form-submit-btn:hover {
  background-color: var(--primary-orange-hover);
}

/* TOAST NOTIFICATION */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: #0f172a;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast i {
  color: #4ade80;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
  .desktop-buttons {
    display: none;
  }

  .hero-headline {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  header {
    padding-top: 12px;
  }

  .navbar {
    padding: 10px 18px;
    position: fixed;
    width: 88%;
    background-color: white;
    z-index: 999999;
    top: 15px;
  }
  .btn-secondary {
    padding: 8px 12px;
    justify-content: center;
  }

  .hero-headline {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
  }

  .category-trigger span {
    font-size: 12px;
  }
}
/*second*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.categories-section {
  padding: 30px 30px;
  background-color: white;
}

/* CATEGORIES SECTION ("لكل فكرة ... موهبة تناسبها") */
.section-header {
  margin-bottom: 32px;
  text-align: right;
}

.section-title {
  font-size: 35px;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 18px;
  color: #727272;
  font-weight: 400;
}

.categories-slider-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 4px 20px 4px;
  scrollbar-width: none; /* Firefox */
}

.categories-slider-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.category-card {
  min-width: 215px;
  flex: 1;
  background: var(--white);
  border-radius: 24px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-normal);
  cursor: pointer;
  user-select: none;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
  border-color: rgba(255, 87, 34, 0.3);
}

.cat-icon-wrapper {
  width: 100%;
  height: 110px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Specific Card Background Gradients */
.bg-cat-blue {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}
.bg-cat-orange {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}
.bg-cat-teal {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}
.bg-cat-purple {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}
.bg-cat-lavender {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.cat-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cat-card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.swiper {
  width: 100%;
  padding: 20px 10px 50px 10px !important;
}

.cat-card {
  background: #ffffff;
  border: 1px solid #dedede;
  border-radius: 16px;
  padding: 24px 14px;
  text-align: start;
  height: 290px;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.cat-icon {
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.cat-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.cat-card p {
  font-size: 14px;
  font-weight: 400;
  color: #727272;
  margin: 0;
}

.slider-controls-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
  width: 100%;
}

.categorySwiper .swiper-button-next,
.categorySwiper .swiper-button-prev {
  position: static !important;
  margin: 0 !important;
  background-color: #e0714c30 !important;
  color: #ff5722 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  transition: all 0.2s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.categorySwiper .swiper-button-next:hover,
.categorySwiper .swiper-button-prev:hover {
  background-color: #ff5722 !important;
  color: #ffffff !important;
}

.categorySwiper .swiper-button-next::after,
.categorySwiper .swiper-button-prev::after {
  font-size: 12px !important;
  font-weight: bold;
}

/* ضبط شريط النقاط لتكون بين السهمين */
.categorySwiper .swiper-pagination {
  position: static !important;
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.categorySwiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #dedede;
  opacity: 1;
  margin: 0 !important;
  transition: all 0.3s ease;
}

.categorySwiper .swiper-pagination-bullet-active {
  background-color: #ef4c15 !important;
  width: 8px !important;
  border-radius: 50% !important;
}

/* SERVICES SECTION ("خدمات تستحق الاكتشاف") */

.services-container {
  padding: 30px;
}

.services-header-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  gap: 20px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  background-color: #ffffff;
  border: 1px solid #e5e7eb75;
}

.filter-btn:hover {
  color: black;
}

.filter-btn.active {
  background-color: #ff5c2a;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.25);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ebeef3;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 87, 34, 0.2);
}

.service-banner {
  width: 100%;
  height: 150px;
  position: relative;
  background-color: #e2e8f0;
  overflow: hidden;
}

.service-banner svg,
.service-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-top: 10px;
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: #010304;
  line-height: 1.4;
  margin-bottom: 6px;
}

.service-desc {
  font-size: 12px;
  color: #010304;
  margin-bottom: 16px;
  font-weight: 400;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.freelancer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
  margin-bottom: 14px;
}

.freelancer-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.freelancer-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.freelancer-name {
  font-size: 15px;
  font-weight: 600;
  color: #746c83;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
}

.rating-badge i {
  color: #f59e0b;
  font-size: 11px;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-tag {
  font-size: 10px;
  padding: 6px 15px;
  border-radius: 7px;
  font-weight: 600;
}

.tag-blue {
  background-color: #eff6ff;
  color: #2563eb;
}
.tag-purple {
  background-color: #f5f3ff;
  color: #7c3aed;
}
.tag-green {
  background-color: #e5f7e8;
  color: #28b857;
}

.service-price {
  font-size: 16px;
  font-weight: 600;
  color: #010304;
}

.discover-more-wrapper {
  text-align: center;
}

.btn-discover-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 10px;
  background-color: white;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.btn-discover-all:hover {
  border-color: #0284c7;
  background-color: #f0f9ff;
  transform: translateY(-2px);
}

.form-submit-btn:hover {
  background-color: var(--primary-orange-hover);
}

/* TOAST NOTIFICATION */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: #0f172a;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast i {
  color: #4ade80;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    font-size: 23px;
  }
}

@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    width: 100%;
    flex-direction: column;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 12px;
    width: 100%;
  }
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 70px;
  padding-right: 20px;
  padding-left: 20px;
}
.steps-card {
  padding: 30px;
}
.step-card {
  background: #ffffff;
  border: 1px solid #0000001a;
  border-radius: 16px;
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
}

/* Badge 01, 02, 03, 04 */
.step-badge {
  background-color: #fff0eb;
  color: #fd5116;
  font-weight: 700;
  font-size: 16px;
  padding: 4px 12px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.step-card h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.step-card h3 span {
  color: #fd5116;
}

/* Card Image Mockup */
.step-mockup {
  width: 80%;
  max-width: 80%;
  margin-right: auto;
  margin-left: auto;
  height: auto;
  border-radius: 12px;
  margin-bottom: 25px;
}

/* Checklist List */
.step-features {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.step-features li {
  font-size: 18px;
  color: #000000b2;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================
       2. Accordion FAQ Section
       ========================================== */
.faq-section {
  padding: 30px 30px 50px 30px;
  background-color: white;
}
.faq-accordion {
  padding-right: 40px;
  padding-left: 40px;
}
/* إلغاء حدود المكتبة الافتراضية وبناء الحدود الخطية للديزاين */
.faq-accordion.ac-container {
  border: none !important;
  background: transparent !important;
  border-top: 1px solid #eaeaea !important;
}

.faq-accordion .ac {
  margin: 0 !important;
  border: none !important;
  border-bottom: 1px solid #eaeaea !important;
  background-color: transparent !important;
}

.faq-accordion .ac-header {
  margin: 0 !important;
}

/* زر العنوان */
.faq-accordion .ac-trigger {
  padding: 22px 0 !important;
  background: none !important;
  font-family: inherit !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.faq-accordion .ac-trigger::after {
  content: none !important; /* إخفاء أيقونة المكتبة الافتراضية */
}

.accordion-title {
  font-size: 28px;
  font-weight: 700;
  color: #222222;
  text-align: right;
}

/* أيقونة + و × */
.accordion-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: #888888;
  transition: transform 0.3s ease;
}

.faq-accordion .ac.is-active .accordion-icon {
  transform: rotate(45deg);
}

/* محتوى النص عند الفتح */
.faq-accordion .ac-panel {
  padding: 0 !important;
}

.accordion-text {
  color: #68728a;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  padding-bottom: 20px;
  margin: 0;
  text-align: right;
}
/* Responsive Design */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    padding-right: 0px;
    padding-left: 0px;
  }
}
/*footer*/
.footer {
  background-color: #18161d;
  color: white;
  padding: 60px 20px 40px;
}

.footer-container {
  max-width: 95%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

/* الشعار والوصف */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  background-color: var(--orange-primary);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-desc {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  text-align: start;
  max-width: 70%;
}

/* أيقونات التواصل الاجتماعي */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fc8604;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* أعمدة الروابط */
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fc8604;
}

/* ==========================================
   Responsive Design (التجاوب مع الشاشات)
   ========================================== */

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .footer-desc {
    max-width: unset;
  }
}

@media (max-width: 576px) {
  .step-card h3 {
    font-size: 24px;
  }
  .step-features li {
    font-size: 16px;
  }
  .faq-accordion {
    padding-right: 0px;
    padding-left: 0px;
  }
  .accordion-title {
    font-size: 20px;
  }
  .search-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px;
  }
  .search-input-group {
    width: 100%;
  }
  .hero-section {
    margin-top: 50px;
  }
  .social-links {
    display: none;
  }
  .footer-links {
    gap: 10px;
  }
  .footer-links a {
    font-size: 14px;
  }
}
