@import "tailwindcss";
@plugin './hero.ts';
@source '../../node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}';
@custom-variant dark (&:is(.dark *));
@theme inline {
  --color-primary-text: var(--primary-text);
  --color-secondary-text: var(--secondary-text);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-background: var(--background);
  --color-foreground: var(--foreground);

  --primary-gradient: "linear-gradient(180deg, #822ECC 0%, #4346EF 100%)";
  --nav-gradient: "linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.8) 100%)";

  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
  --animate-gradient: gradient 8s linear infinite;
  @keyframes gradient {
    to {
      background-position: var(--bg-size, 300%) 0;
    }
  }
  --animate-aurora: aurora 8s ease-in-out infinite alternate;
  @keyframes aurora {
    0% {
      background-position: 0% 50%;
      transform: rotate(-5deg) scale(0.9);
    }
    25% {
      background-position: 50% 100%;
      transform: rotate(5deg) scale(1.1);
    }
    50% {
      background-position: 100% 50%;
      transform: rotate(-3deg) scale(0.95);
    }
    75% {
      background-position: 50% 0%;
      transform: rotate(3deg) scale(1.05);
    }
    100% {
      background-position: 0% 50%;
      transform: rotate(-5deg) scale(0.9);
    }
  }

  --animate-arrowAnim: arrowKey 5s ease-in-out infinite alternate;
  @keyframes arrowKey {
    0% {
      rotate: 0deg;
      fill: #4d30a1;
    }
    25% {
      rotate: 90deg;
      fill: #376bd1;
    }
    50% {
      rotate: 180deg;
      fill: #3498db;
    }
    75% {
      rotate: 270deg;
      fill: #376bd1;
    }
    100% {
      rotate: 360deg;
      fill: #4d30a1;
    }
  }

  --animate-gradient: gradientBg 8s ease-in-out infinite alternate;
  @keyframes gradientBg {
    0% {
      background-position: 0% 50%;
    }
    25% {
      background-position: 50% 100%;
    }
    50% {
      background-position: 100% 50%;
    }
    75% {
      background-position: 50% 0%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  /* Custom Bot Animations */
  @keyframes float {
    0%,
    100% {
      transform: translateY(0px) rotate(0deg);
    }
    25% {
      transform: translateY(-10px) rotate(1deg);
    }
    50% {
      transform: translateY(-20px) rotate(0deg);
    }
    75% {
      transform: translateY(-10px) rotate(-1deg);
    }
  }

  @keyframes orbit-1 {
    0% {
      transform: rotate(0deg) translateX(60px) rotate(0deg);
    }
    100% {
      transform: rotate(360deg) translateX(60px) rotate(-360deg);
    }
  }

  @keyframes orbit-2 {
    0% {
      transform: rotate(90deg) translateX(60px) rotate(-90deg);
    }
    100% {
      transform: rotate(450deg) translateX(60px) rotate(-450deg);
    }
  }

  @keyframes orbit-3 {
    0% {
      transform: rotate(180deg) translateX(60px) rotate(-180deg);
    }
    100% {
      transform: rotate(540deg) translateX(60px) rotate(-540deg);
    }
  }

  @keyframes orbit-4 {
    0% {
      transform: rotate(270deg) translateX(60px) rotate(-270deg);
    }
    100% {
      transform: rotate(630deg) translateX(60px) rotate(-630deg);
    }
  }

  @keyframes blob-1 {
    0%,
    100% {
      transform: translate(0px, 0px) scale(1);
    }
    33% {
      transform: translate(30px, -50px) scale(1.1);
    }
    66% {
      transform: translate(-20px, 20px) scale(0.9);
    }
  }

  @keyframes blob-2 {
    0%,
    100% {
      transform: translate(0px, 0px) scale(1);
    }
    33% {
      transform: translate(-30px, 50px) scale(0.8);
    }
    66% {
      transform: translate(20px, -20px) scale(1.2);
    }
  }

  @keyframes ping-slow {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    75%,
    100% {
      transform: scale(2);
      opacity: 0;
    }
  }

  @keyframes spin-slow {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  @keyframes pulse-slow {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.3;
    }
  }

  @keyframes float-delayed {
    0%,
    100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-15px);
    }
  }

  --animate-background: background-move ease infinite;

  @keyframes background-move {
    0%,
    100% {
      background-position: 0% 50%;
    }

    50% {
      background-position: 100% 50%;
    }
  }

  --shadow-1: "0px 4px 4px -2px rgba(24, 39, 75, 0.08), 0px 2px 4px -2px rgba(24, 39, 75, 0.12)";
  --shadow-2: "0px 8px 8px -4px rgba(24, 39, 75, 0.08), 0px 4px 6px -4px rgba(24, 39, 75, 0.12)";
  --shadow-3: "0px 8px 24px -4px rgba(24, 39, 75, 0.08), 0px 6px 12px -6px rgba(24, 39, 75, 0.12)";
  --shadow-4: "0px 2px 8px -2px #18274B1F";
  --shadow-circleShadow: "0px -4px 0px -1px #5EA1C7";
  --shadow-circleHoverShadow: "0px 0px 0px 3px #5EA1C7";
  --shadow-svg-icon: "0px 0px 12px 0px #5E41A314";
  --drop-shadow-tech: 0px 0px 15px 0px #213a8b1a;
}

body {
  font-family:
    "Tajawal",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button{
  cursor: pointer;
}

.dir-rtl {
  direction: rtl;
}
.dir-ltr {
  direction: ltr;
}
@layer utilities {
  .animate-fade-in {
    animation: fadeIn 0.6s ease-out;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}
:root {
  --primary: #0f5132;
  --primary: #0f5132; /* أخضر */
  --primary-foreground: #ffffff; /* نص أبيض */

  --secondary: #8b5e3c; /* بني */
  --secondary-foreground: #ffffff; /* نص أبيض */

  --warning: #f59e0b; /* أصفر */
  --warning-foreground: #000000;

  --success: #16a34a; /* أخضر فاتح */
  --success-foreground: #ffffff;

  --danger: #dc2626; /* أحمر */
  --danger-foreground: #ffffff;

  --background: #f9fdff;
  --foreground: #111827;
  --primary-foreground: #fff !important;
  --secondary: #8b5e3c;
  --secondary-foreground: #ffffff;
  --primary-text: #0f5132;
  --secondary-text: #8b5e3c;
  --background: #f9fdff;
  --foreground: oklch(0.145 0 0);
  --radius: 0.625rem;
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --border: #dde3f0;
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
}

@layer base {
  body {
    @apply bg-background font-[var(--font-kufi)];
  }
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
  }
}
@layer components {
  .custom-container {
    @apply container mx-auto px-6 md:px-12 lg:px-20 xl:px-24 2xl:px-32;
  }

  .primary-transition {
    @apply transition-all duration-400 ease-in-out;
  }

  .custom-aurora {
    @apply bg-gradient-to-r from-[#822ECC] via-[#BD52FE] to-[#4346EF] bg-clip-text text-transparent animate-gradient bg-[length:200%_200%];
  }
  .custom-bg {
  }

  .base-card {
    @apply flex flex-col gap-5 rounded-2xl bg-white px-8 py-6;
  }

  .h1Text {
    @apply font-bold text-2xl sm:text-3xl md:text-4xl lg:text-4xl min-[1600px]:text-6xl min-[2000px]:text-7xl;
  }

  .h2Text {
    @apply font-bold text-lg md:text-xl lg:text-4xl min-[1600px]:text-5xl min-[2000px]:text-6xl;
  }

  .h3Text {
    @apply font-semibold text-base md:text-lg lg:text-xl xl:text-2xl min-[2000px]:text-3xl;
  }

  .h4Text {
    @apply font-semibold md:text-lg xl:text-xl min-[2000px]:text-2xl;
  }

  .h5Text {
    @apply font-semibold text-sm md:text-base lg:text-lg min-[2000px]:text-xl;
  }

  .h6Text {
    @apply font-semibold text-sm lg:text-base;
  }

  .bodyText {
    @apply font-semibold text-sm md:text-base;
  }

  .secondaryText {
    @apply text-xs md:text-sm;
  }

  .captionText {
    @apply text-xs;
  }

  .tab-svg div svg path {
    fill: #99a2ad;
    color: #99a2ad;
  }

  .tab-svg.active div svg path {
    fill: #393a47;
    color: #393a47;
  }

  .icon-secondary-svg div svg {
    fill: #22b4f3;
    color: #22b4f3;
  }
  .icon-secondary-svg div svg path {
    fill: #22b4f3;
    color: #22b4f3;
  }

  .icon-white-svg div svg {
    fill: #ecf0f1;
    color: #ecf0f1;
  }
  .icon-white-svg div svg path {
    fill: #ecf0f1;
    color: #ecf0f1;
  }

  /* Target the dropdown list or any scrollable container */
  .custom-scrollbar {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #888 transparent; /* Firefox */
  }

  /* Chrome, Safari, Edge */
  .custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  .custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
  }

  .swiper-pagination {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    z-index: 999;
    flex-direction: column;
    gap: 8px;
  }

  .custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
  }

  .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #555;
  }

  .animate-float {
    animation: float 6s ease-in-out infinite;
  }

  .animate-orbit-1 {
    animation: orbit-1 8s linear infinite;
  }

  .animate-orbit-2 {
    animation: orbit-2 12s linear infinite;
  }

  .animate-orbit-3 {
    animation: orbit-3 10s linear infinite;
  }

  .animate-orbit-4 {
    animation: orbit-4 14s linear infinite;
  }

  .animate-blob-1 {
    animation: blob-1 20s ease-in-out infinite;
  }

  .animate-blob-2 {
    animation: blob-2 25s ease-in-out infinite;
  }

  .animate-ping-slow {
    animation: ping-slow 4s cubic-bezier(0, 0, 0.2, 1) infinite;
  }

  .animate-spin-slow {
    animation: spin-slow 8s linear infinite;
  }

  .animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
  }

  .animate-pulse-fast {
    animation: pulse-slow 1s ease-in-out infinite;
  }

  .animate-float-delayed-1 {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 0.5s;
  }

  .animate-float-delayed-2 {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
  }

  .animate-float-delayed-3 {
    animation: float-delayed 4.5s ease-in-out infinite;
    animation-delay: 1.5s;
  }

  .animate-float-delayed-4 {
    animation: float-delayed 5.5s ease-in-out infinite;
    animation-delay: 2s;
  }

  .animation-delay-1000 {
    animation-delay: 1s;
  }

  .animation-delay-2000 {
    animation-delay: 2s;
  }

  .animate-disabled {
    pointer-events: none;
  }
}
@layer utilities {
  @keyframes move-left {
    0%,
    100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(100%);
    }
  }

  @keyframes move-right {
    0%,
    100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(-100%);
    }
  }

  .animate-move-left {
    animation: move-left 6s ease-in-out infinite;
  }

  .animate-move-right {
    animation: move-right 6s ease-in-out infinite;
  }
}

@layer utilities {
  .bg-gradient-green {
    background: linear-gradient(135deg, #0f5132, #1b7a50);
  }
  /*  .heroui-input {
    border: 1px solid #ccc;
  }
  .heroui-input:focus {
    border-color: #3182ce;
  } */
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.btn-shine {
  position: absolute;
  top: 20;
  left: 0;
  height: 100%;
  width: 50%; /* width of the shine stripe */
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none; /* don’t block clicks */
  opacity: 0;
}
.container-ar {
  max-width: 72rem;
  margin-inline: auto;
}

.hero-bg {
  background: linear-gradient(135deg, var(--g1), var(--g2));
}
/* .soft {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
} */

.anchor:target {
  outline: 3px solid #79c2a6;
  outline-offset: 4px;
  border-radius: 12px;
}
/* .heroui-checkbox [data-slot="control"][data-selected="true"] {
  background-color: #16a34a !important;
  border-color: #16a34a !important;
} */

/* تأثير shimmer المتحرك */
.shimmer {
  position: relative;
  overflow: hidden;
  background-color: #e5e7eb; /* رمادي فاتح */
}

.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  height: 100%;
  width: 150%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    left: 150%;
  }
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none; /* IE و Edge */
  scrollbar-width: none; /* Firefox */
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR HOVER ANIMATIONS - Professional shine & color transition effects
   ═══════════════════════════════════════════════════════════════════════════ */

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0f5132 !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0f5132, #1b7a50);
  transition:
    width 0.3s ease,
    left 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.nav-link.active::after {
  width: 100%;
  left: 0;
}

/* Dropdown menu animation */
.nav-dropdown {
  transform-origin: top;
  animation: dropdownSlide 0.25s ease-out;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav-dropdown-item {
  position: relative;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
  background: linear-gradient(90deg, rgba(15, 81, 50, 0.08), transparent);
  padding-left: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DASHBOARD PROFESSIONAL STYLING - Unified tabs and cards
   ═══════════════════════════════════════════════════════════════════════════ */

.dashboard-container {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.dashboard-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 81, 50, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.dashboard-tab {
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  margin: 2px 0;
  cursor: pointer;
}

.dashboard-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #0f5132, #1b7a50);
  border-radius: 0 4px 4px 0;
  transition: height 0.25s ease;
}

.dashboard-tab:hover {
  background: rgba(15, 81, 50, 0.04);
}

.dashboard-tab:hover::before {
  height: 60%;
}

/* Solid green active item: keep green on hover (slightly lighter), not the faint default hover */
.dashboard-tab.dashboard-tab-active-solid:hover {
  background: #18724a;
  color: #fff;
}

.dashboard-tab.dashboard-tab-active-solid:hover::before {
  background: linear-gradient(180deg, #1b7a50, #22a06b);
  height: 70%;
}

.dashboard-tab.active {
  background: linear-gradient(
    90deg,
    rgba(15, 81, 50, 0.1),
    rgba(15, 81, 50, 0.02)
  );
  color: #0f5132;
  font-weight: 600;
}

.dashboard-tab.active::before {
  height: 70%;
}

.dashboard-content {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.dashboard-card {
  background: #ffffff;
  border: 1px solid rgba(15, 81, 50, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 81, 50, 0.08);
  border-color: rgba(15, 81, 50, 0.15);
}

.dashboard-stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 81, 50, 0.1);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.dashboard-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0f5132, #1b7a50, #0f5132);
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UNIFIED SKELETON LOADERS - Consistent across all sections
   ═══════════════════════════════════════════════════════════════════════════ */

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: skeletonLoading 1.4s ease infinite;
  border-radius: 8px;
}

.skeleton-text {
  height: 1em;
  border-radius: 4px;
}

.skeleton-title {
  height: 1.5em;
  width: 60%;
  border-radius: 6px;
}

.skeleton-avatar {
  border-radius: 50%;
}

.skeleton-card {
  border-radius: 16px;
  min-height: 200px;
}

.skeleton-image {
  border-radius: 12px;
  aspect-ratio: 16/9;
}

.skeleton-button {
  height: 40px;
  border-radius: 10px;
  width: 120px;
}

@keyframes skeletonLoading {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Mobile skeleton adjustments */
@media (max-width: 768px) {
  .skeleton-card {
    min-height: 150px;
  }

  .skeleton-title {
    height: 1.25em;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE TYPOGRAPHY & SPACING
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
  .mobile-text-xs {
    font-size: 0.7rem !important;
  }
  .mobile-text-sm {
    font-size: 0.8rem !important;
  }
  .mobile-text-base {
    font-size: 0.875rem !important;
  }
  .mobile-text-lg {
    font-size: 1rem !important;
  }
  .mobile-text-xl {
    font-size: 1.125rem !important;
  }
  .mobile-text-2xl {
    font-size: 1.25rem !important;
  }

  .mobile-p-2 {
    padding: 0.5rem !important;
  }
  .mobile-p-3 {
    padding: 0.75rem !important;
  }
  .mobile-p-4 {
    padding: 1rem !important;
  }

  .mobile-gap-2 {
    gap: 0.5rem !important;
  }
  .mobile-gap-3 {
    gap: 0.75rem !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROFESSIONAL FILTER STYLES FOR SERVICES PAGES
   ═══════════════════════════════════════════════════════════════════════════ */

.filter-container {
  background: #ffffff;
  border: 1px solid rgba(15, 81, 50, 0.1);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.filter-chip.active {
  background: linear-gradient(135deg, #0f5132, #1b7a50);
  border-color: #0f5132;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 81, 50, 0.25);
}

@media (max-width: 768px) {
  .filter-container {
    padding: 0.75rem;
    border-radius: 12px;
  }

  .filter-chip {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }

  .mobile-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .mobile-filter-scroll {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-filter-scroll::-webkit-scrollbar {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARD HOVER EFFECTS & ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card-shine {
  position: relative;
  overflow: hidden;
}

.card-shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.card-shine:hover::before {
  left: 125%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTON ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn-primary-gradient {
  background: linear-gradient(135deg, #0f5132 0%, #1b7a50 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(15, 81, 50, 0.35);
}

.btn-primary-gradient:active {
  transform: translateY(0);
}

.btn-shine-effect {
  position: relative;
  overflow: hidden;
}

.btn-shine-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-shine-effect:hover::after {
  left: 100%;
}

.booklet-sheen {
  animation: booklet-sheen 3.8s ease-in-out infinite;
  transform: translateX(60%) rotate(6deg);
}

@keyframes booklet-sheen {
  0% {
    transform: translateX(65%) rotate(6deg);
    opacity: 0;
  }
  20% {
    opacity: 0.55;
  }
  50% {
    transform: translateX(-65%) rotate(6deg);
    opacity: 0.5;
  }
  80% {
    opacity: 0.25;
  }
  100% {
    transform: translateX(-85%) rotate(6deg);
    opacity: 0;
  }
}

/* Heart favorite animation */
@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(0.95);
  }
  75% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* Toast notifications – أحلى وأرتب */
.Toastify__toast-container--top-right,
.Toastify__toast-container--top-left {
  top: 1.25rem !important;
  padding: 0 1rem !important;
  width: 100% !important;
  max-width: 22rem !important;
  margin: 0 1rem !important;
}
.Toastify__toast-container--top-right {
  right: 0 !important;
}
.Toastify__toast-container--top-left {
  left: 0 !important;
}
.toast-container-custom {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}
.Toastify__toast {
  font-family: inherit !important;
  font-weight: 500 !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  min-height: 3.5rem !important;
  padding: 0.75rem 1rem !important;
}
.Toastify__toast-body {
  padding: 0 !important;
  font-size: 0.875rem !important;
  line-height: 1.4 !important;
}
.Toastify__progress-bar {
  height: 4px !important;
  border-radius: 0 0 0 0.75rem !important;
}
.Toastify__toast--success {
  background: linear-gradient(135deg, #0F5132 0%, #0d4530 100%) !important;
  color: #fff !important;
}
.Toastify__toast--error {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  color: #fff !important;
}
.Toastify__toast--warning {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #fff !important;
}
.Toastify__toast--info {
  background: linear-gradient(135deg, #0F5132 0%, #166b42 100%) !important;
  color: #fff !important;
}
.Toastify__progress-bar--success { background: rgba(255,255,255,0.7) !important; }
.Toastify__progress-bar--error   { background: rgba(255,255,255,0.7) !important; }
.Toastify__progress-bar--warning { background: rgba(255,255,255,0.7) !important; }
.Toastify__progress-bar--info    { background: rgba(255,255,255,0.7) !important; }
.Toastify__close-button {
  color: rgba(255,255,255,0.9) !important;
  opacity: 0.9 !important;
}
.Toastify__close-button:hover {
  opacity: 1 !important;
}

/* Service details modal — Swiper pagination under hero image */
.service-detail-modal-swiper .swiper-pagination {
  bottom: 12px !important;
}
.service-detail-modal-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0.45;
}
.service-detail-modal-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #1b7a50;
}
.service-listing-card-swiper .swiper-pagination {
  bottom: 12px !important;
}
.service-listing-card-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0.45;
}
.service-listing-card-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #1b7a50;
}
