@charset "UTF-8";

/* ============================================================
   RAPPEL - Custom CSS (Tailwind CDN extended)
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables (matching Tailwind config) ---- */
:root {
  /* Brand (navy-blue) */
  --brand-50: #f4f6fb;
  --brand-100: #e9edf7;
  --brand-200: #c8d2eb;
  --brand-300: #a7b7df;
  --brand-400: #6581c7;
  --brand-500: #234bae;
  --brand-600: #1e4093;
  --brand-700: #19357b;
  --brand-800: #142a62;
  --brand-900: #0E1648;
  --brand-950: #0a1036;

  /* Accent (green) */
  --accent-50: #f6fdf4;
  --accent-100: #edf9e9;
  --accent-200: #d1f1c7;
  --accent-300: #b6e9a5;
  --accent-400: #80d961;
  --accent-500: #7CCB63;
  --accent-600: #70b759;
  --accent-700: #568c44;
  --accent-800: #436d35;
  --accent-900: #37592b;

  /* Navy */
  --navy-50: #f5f6f8;
  --navy-100: #eceef2;
  --navy-200: #cfd4de;
  --navy-300: #b1bac9;
  --navy-400: #7786a0;
  --navy-500: #3d5277;
  --navy-600: #374a6b;
  --navy-700: #2e3d59;
  --navy-800: #253147;
  --navy-900: #0E1648;
  --navy-950: #0a1036;
}

/* ---- Utilities ---- */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #D3D3D3;

  color: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

::selection {
  background: var(--brand-200);
  color: var(--brand-950);
}

/* ---- Background Blobs ---- */
.bg-blobs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -10;
}

.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.blob-green {
  top: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: rgba(124, 203, 99, 0.3);
  animation-duration: 20s;
}

.blob-navy {
  bottom: -10%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: rgba(14, 22, 72, 0.3);
  animation-duration: 25s;
  animation-delay: 2s;
}

/* ---- Animations ---- */
/* Animations */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.animate-shake {
  animation: shake 0.2s ease-in-out infinite;
  animation-iteration-count: 2;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(80px, 40px) scale(1.1);
  }

  66% {
    transform: translate(-40px, 80px) scale(0.95);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .7;
  }
}

.animate-pulse-slow {
  animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(.7);
    opacity: 0;
  }

  50% {
    opacity: .5;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}




.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ---- Utility Classes ---- */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Sidebar Collapsed Polish */
#sidebar.sidebar-collapsed {
  width: 80px !important;
}

#sidebar.sidebar-collapsed nav {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

#sidebar.sidebar-collapsed nav a {
  justify-content: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  gap: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#sidebar.sidebar-collapsed .sidebar-user-container {
  padding: 1rem 0.5rem !important;
}

#sidebar.sidebar-collapsed .sidebar-user-section {
  justify-content: center !important;
  padding: 0.5rem !important;
  gap: 0 !important;
}

#sidebar.sidebar-collapsed .sidebar-logout-btn {
  justify-content: center !important;
  padding: 1rem 0 !important;
  gap: 0 !important;
}

#sidebar.sidebar-collapsed .admin-nav-separator {
  justify-content: center !important;
  padding: 0.6rem 0 !important;
}

#sidebar.sidebar-collapsed .admin-nav-separator i {
  margin: 0 !important;
}

#sidebar.sidebar-collapsed .sidebar-label,
#sidebar.sidebar-collapsed .sidebar-user-info,
#sidebar.sidebar-collapsed .sidebar-logout-text {
  display: none !important;
}

.glass-card-sm {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-green {
  background: linear-gradient(135deg, var(--accent-600), var(--brand-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shimmer-effect {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite linear;
}

.shadow-premium-sm {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03), 0 2px 8px -1px rgba(0, 0, 0, 0.02);
}

.shadow-glass {
  box-shadow: 0 8px 32px 0 rgba(14, 22, 72, 0.05);
}


.shadow-premium {
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: white;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 15px rgba(14, 22, 72, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: white;
  padding: 0.75rem 1.5rem;
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy-700);
  border: 2px solid var(--navy-200);
  padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
  border-color: var(--navy-400);
  background: var(--navy-50);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-500);
  padding: 0.75rem 1.5rem;
}

.btn-ghost:hover {
  background: var(--navy-50);
  color: var(--navy-900);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

/* ---- Form Inputs ---- */
.form-input {
  width: 100%;
  height: 3.5rem;
  padding: 0 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: white;
  color: var(--navy-950);
  font-size: 1rem;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  caret-color: var(--brand-900);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(35, 75, 174, 0.15);
}

.form-input::placeholder {
  color: var(--navy-300);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.375rem;
  margin-left: 0.25rem;
  cursor: pointer;
}

.form-select {
  width: 100%;
  height: 3.5rem;
  padding: 0 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: white;
  color: var(--navy-900);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237786a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(124, 203, 99, 0.15);
}

.form-textarea {
  width: 100%;
  min-height: 7.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: white;
  color: var(--navy-950);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  resize: none;
  cursor: pointer;
}

/* Force arrow cursor on all fields across client/pro/admin spaces */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  cursor: pointer;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(35, 75, 174, 0.15);
}

.form-error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 1rem;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 700;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 1rem;
  color: #16a34a;
  font-size: 0.875rem;
  font-weight: 700;
}

/* ---- Cards ---- */
.card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
}

/* ---- Sidebar ---- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  width: 260px;
  transition: width 0.3s ease, transform 0.3s ease;
}

.sidebar.collapsed {
  width: 80px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
  color: var(--navy-800);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.sidebar-nav-item:hover {
  background: var(--navy-50);
  color: var(--navy-950);
}

.sidebar-nav-item.active {
  background: #eff6ff;
  color: var(--brand-700);
}

.sidebar-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand-600);
  border-radius: 0 4px 4px 0;
}

/* ---- Dashboard Layout ---- */
.dashboard-main {
  min-height: 100vh;
  padding-left: 260px;
  transition: padding-left 0.3s ease;
}

.dashboard-main.sidebar-collapsed {
  padding-left: 80px;
}

/* ---- Mobile ---- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 22, 72, 0.2);
  backdrop-filter: blur(4px);
  z-index: 30;
}

@media (max-width: 1023px) {

  /* Class-based sidebar (legacy) */
  .sidebar {
    transform: translateX(-280px);
    width: 280px !important;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .dashboard-main {
    padding-left: 0 !important;
  }

  .mobile-overlay.active {
    display: block;
  }

  /* ID-based sidebar (sidebar.php) */
  #sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease, width 0.3s ease;
  }

  #sidebar.mobile-open {
    transform: translateX(0);
  }

  /* Tables: allow horizontal scroll on small screens */
  .overflow-auto,
  .overflow-x-auto {
    -webkit-overflow-scrolling: touch;
  }

  /* Toast notifications: full width on mobile */
  .fixed.bottom-6.right-6 {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: auto;
  }
}

/* ---- Global Responsive Table ---- */
table {
  min-width: 100%;
}

@media (max-width: 640px) {

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
    /* Prevent iOS zoom on focus */
  }
}

/* ---- Spinner ---- */
.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.spinner-dark {
  border-color: rgba(14, 22, 72, 0.2);
  border-top-color: var(--navy-700);
}

/* ---- Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---- Table ---- */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-400);
  border-bottom: 1px solid var(--navy-100);
}

.data-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(14, 22, 72, 0.05);
  font-size: 0.875rem;
  color: var(--navy-800);
}

.data-table tr:hover td {
  background: rgba(14, 22, 72, 0.02);
}

/* ---- Tooltip ---- */
.tooltip {
  position: relative;
}

.tooltip-text {
  visibility: hidden;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-900);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 100;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ---- Loader Overlay ---- */
.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ---- Lucide-style SVG Icons (inline) ---- */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---- Responsive Helpers ---- */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .show-mobile {
    display: none !important;
  }
}

/* Staggered fade-in for cards */
@keyframes serviceCardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.svc-card-anim {
  opacity: 0;
  animation: serviceCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Search Input */
.svc-search {
  width: 100%;
  height: 3.5rem;
  padding: 0 1.25rem 0 3.25rem;
  border: 2px solid var(--navy-100);
  border-radius: 1.25rem;
  background: white;
  color: var(--navy-950);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(14, 22, 72, 0.04);
}

.svc-search:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(35, 75, 174, 0.12), 0 4px 20px rgba(14, 22, 72, 0.06);
}

.svc-search::placeholder {
  color: var(--navy-300);
  font-weight: 500;
}

.svc-search-wrap {
  position: relative;
}

.svc-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy-300);
  pointer-events: none;
  transition: color 0.2s;
}

.svc-search-wrap:focus-within .svc-search-icon {
  color: var(--brand-500);
}

/* Category card enhanced */
.svc-category-card {
  border: 1px solid var(--navy-100);
  border-radius: 1.5rem;
  background: white;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.svc-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cat-gradient, linear-gradient(135deg, var(--brand-500), var(--accent-500)));
  opacity: 0;
  transition: opacity 0.3s;
}

.svc-category-card:hover::before {
  opacity: 1;
}

.svc-category-card:hover {
  box-shadow: 0 20px 60px -12px rgba(14, 22, 72, 0.1);
  transform: translateY(-2px);
}

/* Sub-service link card */
.svc-sub-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--navy-100);
  background: var(--navy-50);
  transition: all 0.25s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.svc-sub-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.svc-sub-card:hover {
  background: white;
  box-shadow: 0 4px 16px rgba(14, 22, 72, 0.06);
  transform: translateY(-1px);
}

.svc-sub-card:hover::after {
  opacity: 1;
}

.svc-sub-card .svc-arrow {
  transition: all 0.25s ease;
  color: var(--navy-300);
}

.svc-sub-card:hover .svc-arrow {
  color: var(--brand-500);
  transform: translate(2px, -2px);
}

/* Premium Search Bar Redesign */
.svc-search-container {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 2.25rem;
  box-shadow:
    0 20px 50px -12px rgba(14, 22, 72, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-search-container:focus-within {
  background: white;
  border-color: var(--brand-300);
  box-shadow: 0 25px 60px -15px rgba(14, 22, 72, 0.15);
  transform: translateY(-2px);
}

.svc-search-input {
  width: 100%;
  height: 4rem;
  padding-left: 3.5rem;
  padding-right: 9rem;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-950);
}

.svc-search-input::placeholder {
  color: var(--navy-300);
  font-weight: 500;
}

.svc-search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy-300);
  transition: all 0.3s ease;
  pointer-events: none;
}

.svc-search-container:focus-within .svc-search-icon {
  color: var(--brand-500);
  transform: translateY(-50%) scale(1.1);
}

.svc-search-btn {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  padding: 0 1.75rem;
  background: var(--brand-600);
  color: white;
  font-weight: 800;
  border-radius: 1.875rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px -6px rgba(35, 75, 174, 0.4);
}

.svc-search-btn:hover {
  background: var(--brand-700);
  transform: translateX(-2px);
  box-shadow: 0 12px 25px -8px rgba(35, 75, 174, 0.6);
}

.svc-search-btn:active {
  transform: scale(0.96) translateX(-2px);
}

.svc-search-clear {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-400);
  transition: all 0.2s ease;
}

.svc-search-clear:hover {
  color: var(--navy-900);
  transform: translateX(-50%) translateY(-1px);
}

/* Category Hub (Navigation) - Premium Redesign */
.svc-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .svc-hub-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .svc-hub-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
  }
}

.svc-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow:
    0 10px 30px -10px rgba(14, 22, 72, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  text-decoration: none !important;
  overflow: hidden;
}

.svc-hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--hub-glow, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.svc-hub-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: white;
  border-color: var(--brand-300);
  box-shadow: 0 25px 50px -12px rgba(14, 22, 72, 0.15);
}

.svc-hub-card:hover::before {
  opacity: 0.1;
}

.svc-hub-icon {
  position: relative;
  z-index: 2;
  width: 3.5rem !important;
  height: 3.5rem !important;
  min-width: 3.5rem;
  min-height: 3.5rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: white;
  box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.2);
}

.svc-hub-card:hover .svc-hub-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 25px -4px rgba(0, 0, 0, 0.3);
}

.svc-hub-label {
  position: relative;
  z-index: 2;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--navy-900);
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.svc-hub-card:hover .svc-hub-label {
  color: var(--brand-700);
}

/* Step number */
.svc-step-num {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: white;
  flex-shrink: 0;
}

/* Step connector line */
.svc-step-connector {
  position: absolute;
  top: 3rem;
  left: 1.5rem;
  width: 2px;
  height: calc(100% - 3rem);
  background: linear-gradient(to bottom, var(--navy-200), transparent);
}

/* Testimonial carousel */
.svc-testimonial-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.svc-testimonial-track::-webkit-scrollbar {
  display: none;
}

.svc-testimonial-card {
  flex: 0 0 min(100%, 360px);
  scroll-snap-align: start;
  background: white;
  border: 1px solid var(--navy-100);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.svc-testimonial-card:hover {
  box-shadow: 0 12px 40px -8px rgba(14, 22, 72, 0.08);
  transform: translateY(-2px);
}

/* Star rating animated */
@keyframes starPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.svc-star {
  opacity: 0;
  animation: starPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Coverage zone chip */
.svc-zone-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  background: var(--navy-50);
  font-size: 0.875rem;
  color: var(--navy-600);
  transition: all 0.2s;
}

.svc-zone-chip:hover {
  background: white;
  box-shadow: 0 2px 8px rgba(14, 22, 72, 0.06);
}

/* Section reveal animation */
@keyframes svcReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.svc-reveal {
  opacity: 0;
}

.svc-reveal.is-visible {
  animation: svcReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Empty state for search */
.svc-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--navy-400);
}

.svc-empty-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1.25rem;
  background: var(--navy-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-300);
}

/* ============================================================
   ADMIN DARK THEME — Navy / Brand-Blue / Accent-Green
   Applied via: body.admin-theme-dark
   ============================================================ */

/* --- Base body & background --- */
body.admin-theme-dark {
  background: linear-gradient(145deg, #060d1f 0%, #0a1230 40%, #0e1648 70%, #081028 100%);
  background-attachment: fixed;
  color: #e2e8f0;
}

/* Ambient background orbs (brand colors, very subtle) */
body.admin-theme-dark::before {
  content: '';
  position: fixed;
  top: -25%;
  left: -15%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(35, 75, 174, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

body.admin-theme-dark::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 55%;
  height: 60%;
  background: radial-gradient(circle, rgba(124, 203, 99, 0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* --- Sidebar --- */
body.admin-theme-dark #sidebar {
  background: rgba(6, 10, 25, 0.97) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(35, 75, 174, 0.2) !important;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.55);
}

body.admin-theme-dark #sidebar .border-b,
body.admin-theme-dark #sidebar .border-t {
  border-color: rgba(35, 75, 174, 0.25) !important;
}

body.admin-theme-dark #sidebar .h-20 {
  background: rgba(10, 16, 48, 0.7);
  height: 5.75rem !important;
}

/* Sidebar nav — pro links */
body.admin-theme-dark #sidebar nav a {
  color: #d7e0ef !important;
}

body.admin-theme-dark #sidebar nav a:hover {
  background: rgba(35, 75, 174, 0.12) !important;
  color: #f8fbff !important;
}

/* Active pro link — brand blue */
body.admin-theme-dark #sidebar nav a.bg-brand-50 {
  background: rgba(35, 75, 174, 0.22) !important;
  color: #93c5fd !important;
}

body.admin-theme-dark #sidebar nav a.bg-brand-50 i {
  color: #60a5fa !important;
}

body.admin-theme-dark #sidebar nav a.bg-brand-50 .absolute {
  background: #234bae !important;
}

/* Admin nav links — accent green (to distinguish from pro blue) */
body.admin-theme-dark #sidebar nav a.admin-nav-item {
  color: #cbd5e1 !important;
}

body.admin-theme-dark #sidebar nav a.admin-nav-item:hover {
  background: rgba(51, 65, 85, 0.45) !important;
  color: #f8fafc !important;
}

body.admin-theme-dark #sidebar nav a.admin-nav-item.bg-brand-50 {
  background: rgba(71, 85, 105, 0.4) !important;
  color: #f8fafc !important;
}

body.admin-theme-dark #sidebar nav a.admin-nav-item.bg-brand-50 .absolute {
  background: #64748b !important;
}

body.admin-theme-dark #sidebar nav a.admin-nav-item i {
  color: #94a3b8 !important;
}

/* Admin section separator */
body.admin-theme-dark .admin-nav-separator {
  color: #94a3b8 !important;
  border-color: rgba(71, 85, 105, 0.38) !important;
  background: rgba(15, 23, 42, 0.55) !important;
}

/* Sidebar user profile */
body.admin-theme-dark #sidebar .bg-gradient-to-br {
  background: rgba(10, 20, 55, 0.85) !important;
  border-color: rgba(35, 75, 174, 0.3) !important;
}

body.admin-theme-dark #sidebar .text-sm.font-bold {
  color: #f1f5f9 !important;
}

body.admin-theme-dark #sidebar .text-xs {
  color: #94a3b8 !important;
}

/* Sidebar toggle */
body.admin-theme-dark #sidebar-toggle {
  background: rgba(10, 16, 48, 0.95) !important;
  border-color: rgba(35, 75, 174, 0.4) !important;
  color: #94a3b8 !important;
}

body.admin-theme-dark #sidebar-toggle:hover {
  color: #7CCB63 !important;
}

/* ============================================================
   ADMIN THEME - DARK (SLATE & CARBON)
   ============================================================ */
body.admin-theme-dark {
  background-color: #09090b !important;
  /* Deep Zinc/Carbon */
  background-image:
    radial-gradient(at 0% 0%, rgba(124, 203, 99, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(24, 24, 27, 0.5) 0px, transparent 50%) !important;
  color: #fafafa !important;
}

/* Sidebar Toggle Dark */
body.admin-theme-dark #sidebar-toggle {
  background: #18181b !important;
  border-color: #27272a !important;
  color: #71717a !important;
}

body.admin-theme-dark #sidebar-toggle:hover {
  color: #7CCB63 !important;
  border-color: #3f3f46 !important;
}

/* --- Cards & Glass Dark --- */
body.admin-theme-dark .card {
  background: rgba(24, 24, 27, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.5),
    0 8px 10px -6px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

body.admin-theme-dark .card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 203, 99, 0.15), transparent);
}

body.admin-theme-dark .glass-card,
body.admin-theme-dark .glass-card-sm {
  background: rgba(24, 24, 27, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* --- Typography Dark --- */
body.admin-theme-dark .text-navy-950,
body.admin-theme-dark .text-navy-900,
body.admin-theme-dark .text-navy-800 {
  color: #fafafa !important;
}

body.admin-theme-dark .text-navy-700,
body.admin-theme-dark .text-navy-600 {
  color: #d1d1d6 !important;
}

body.admin-theme-dark .text-navy-500 {
  color: #a1a1aa !important;
}

body.admin-theme-dark .text-brand-600 {
  color: #7CCB63 !important;
  /* Switch blue labels to brand green */
}

/* --- Backgrounds Dark --- */
body.admin-theme-dark .bg-white,
body.admin-theme-dark .bg-white\/70,
body.admin-theme-dark .bg-white\/80 {
  background-color: rgba(24, 24, 27, 0.9) !important;
}

body.admin-theme-dark .bg-navy-50,
body.admin-theme-dark .bg-brand-50 {
  background-color: rgba(39, 39, 42, 0.6) !important;
}

/* --- Tables Dark --- */
body.admin-theme-dark table thead th {
  color: #7CCB63 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-size: 0.65rem !important;
  border-bottom: 1px solid #27272a !important;
}

body.admin-theme-dark table tbody tr {
  border-color: #18181b !important;
  transition: background 0.2s ease !important;
}

body.admin-theme-dark table tbody tr:hover td {
  background: rgba(124, 203, 99, 0.02) !important;
}

body.admin-theme-dark table td {
  color: #e4e4e7 !important;
}

/* --- Forms Dark --- */
body.admin-theme-dark .form-input,
body.admin-theme-dark .form-textarea {
  background: #09090b !important;
  border-color: #27272a !important;
  color: #fafafa !important;
  caret-color: #7CCB63 !important;
}

body.admin-theme-dark .form-input:focus {
  border-color: #7CCB63 !important;
  box-shadow: 0 0 0 4px rgba(124, 203, 99, 0.1) !important;
}

/* --- Buttons Dark --- */
body.admin-theme-dark .btn-accent {
  background: linear-gradient(135deg, #7CCB63, #3f6212) !important;
  color: #fafafa !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.admin-theme-dark .btn-accent:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  filter: brightness(1.1);
}

/* --- Admin banner Dark --- */
.admin-banner {
  background: rgba(39, 39, 42, 0.5) !important;
  border: 1px solid #27272a !important;
  color: #d1d1d6 !important;
  backdrop-filter: blur(10px) !important;
}

/* --- Stat cards icon container Dark --- */
body.admin-theme-dark .w-9.rounded-xl {
  background: rgba(124, 203, 99, 0.1) !important;
  color: #7CCB63 !important;
  border: 1px solid rgba(124, 203, 99, 0.2) !important;
}

/* --- Scrollbar Dark --- */
body.admin-theme-dark ::-webkit-scrollbar-track {
  background: #09090b;
}

body.admin-theme-dark ::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 10px;
}

body.admin-theme-dark ::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* ---- Sidebar Dark Refinement ---- */
body.admin-theme-dark #sidebar {
  background: #09090b !important;
  border-right: 1px solid #18181b !important;
}

body.admin-theme-dark #sidebar nav a.admin-nav-item,
body.admin-theme-dark #sidebar nav a.admin-nav-item .sidebar-label {
  color: #a1a1aa !important;
}

body.admin-theme-dark #sidebar nav a.admin-nav-item i {
  color: #71717a !important;
}

body.admin-theme-dark #sidebar nav a.admin-nav-item:hover,
body.admin-theme-dark #sidebar nav a.admin-nav-item:hover .sidebar-label {
  background: #18181b !important;
  color: #fafafa !important;
}

body.admin-theme-dark #sidebar nav a.admin-nav-item:hover i {
  color: #7CCB63 !important;
}

body.admin-theme-dark #sidebar nav a.admin-nav-item.bg-brand-50,
body.admin-theme-dark #sidebar nav a.admin-nav-item.bg-brand-50 .sidebar-label {
  background: #18181b !important;
  color: #7CCB63 !important;
  border-right: 3px solid #7CCB63 !important;
}

body.admin-theme-dark #sidebar nav a.admin-nav-item.bg-brand-50 i {
  color: #7CCB63 !important;
}

body.admin-theme-dark .admin-nav-separator,
body.admin-theme-dark .admin-nav-separator .sidebar-label,
body.admin-theme-dark .admin-nav-separator i {
  color: #52525b !important;
}

body.admin-theme-dark .admin-nav-separator {
  background: transparent !important;
  border-bottom: 1px solid #18181b !important;
  border-radius: 0 !important;
  margin-bottom: 0.5rem !important;
}

body.admin-theme-dark #sidebar .bg-gradient-to-br {
  background: #09090b !important;
  border: 1px solid #18181b !important;
}

/* ============================================================
   ADMIN THEME - LIGHT (LOGO GREEN)
   ============================================================ */
body.admin-theme-light {
  background-color: #D3D3D3 !important;
  /* Public Page Gray */
  background-image:
    radial-gradient(at 0% 0%, rgba(124, 203, 99, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 255, 255, 0.3) 0px, transparent 50%) !important;
  color: var(--navy-900) !important;
}

body.admin-theme-light .card {
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(124, 203, 99, 0.2) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(124, 203, 99, 0.03) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

body.admin-theme-light .card::after {
  background: linear-gradient(90deg, transparent, rgba(124, 203, 99, 0.3), transparent);
}

body.admin-theme-light h1,
body.admin-theme-light .text-navy-950,
body.admin-theme-light .text-navy-900 {
  color: #0f2912 !important;
}

body.admin-theme-light .text-navy-400,
body.admin-theme-light .text-navy-500 {
  color: #568c44 !important;
  /* Darker green for sub-labels in light mode */
}

/* Sidebar Light Theme - Gray + Green Accents */
body.admin-theme-light #sidebar {
  background: #D3D3D3 !important;
  /* Match Body Gray */
  border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.admin-theme-light #sidebar nav a.admin-nav-item {
  color: #1a2e1d !important;
}

body.admin-theme-light #sidebar nav a.admin-nav-item:hover {
  background: #ffffff !important;
  color: #166534 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

body.admin-theme-light #sidebar nav a.bg-brand-600 {
  background: #111827 !important;
  /* Deep dark for active admin items */
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

body.admin-theme-light #sidebar nav a.bg-brand-600 i {
  color: #7CCB63 !important;
}

body.admin-theme-light #sidebar nav a.admin-nav-item.bg-brand-50 {
  background: #ffffff !important;
  /* Active item stands out with white */
  border-right: 4px solid #7CCB63 !important;
  color: #166534 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

body.admin-theme-light #sidebar .bg-gradient-to-br {
  background: rgba(255, 255, 255, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

body.admin-theme-light .admin-nav-separator {
  background: rgba(255, 255, 255, 0.3) !important;
  color: #166534 !important;
  border-color: rgba(0, 0, 0, 0.05) !important;
}

/* Forms Light Mode Green */
body.admin-theme-light .form-input,
body.admin-theme-light .form-textarea {
  background: #ffffff !important;
  border-color: #dcfce7 !important;
  color: #0f2912 !important;
}

body.admin-theme-light .form-input:focus {
  border-color: #7CCB63 !important;
  box-shadow: 0 0 0 4px rgba(124, 203, 99, 0.1) !important;
}

/* Tables Light Mode Green */
body.admin-theme-light table thead th {
  color: #166534 !important;
  border-bottom: 2px solid #f0fdf4 !important;
}

body.admin-theme-light table tbody tr {
  border-color: #f7fee7 !important;
}

body.admin-theme-light table tbody tr:hover td {
  background: rgba(240, 253, 244, 0.8) !important;
}

body.admin-theme-light table td {
  color: #1e3a1f !important;
}

/* Buttons Light Mode - Logo Green Accent */
body.admin-theme-light .btn-accent {
  background: linear-gradient(135deg, #7CCB63, #568c44) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(124, 203, 99, 0.2) !important;
}

body.admin-theme-light .btn-accent:hover {
  background: linear-gradient(135deg, #8ad172, #7CCB63) !important;
  box-shadow: 0 6px 20px rgba(124, 203, 99, 0.3) !important;
}

/* Banner Light Mode */
body.admin-theme-light .admin-banner {
  background: rgba(240, 253, 244, 0.6) !important;
  border-color: rgba(124, 203, 99, 0.2) !important;
  color: #166534 !important;
}

/* Stat cards icon container green light mode */
body.admin-theme-light .w-9.rounded-xl {
  background: #f0fdf4 !important;
  color: #16a34a !important;
  border: 1px solid #dcfce7 !important;
}

/* Navigation tabs in green Mode */
body.admin-theme-light .flex.flex-wrap.items-center.gap-2 a {
  background: #ffffff !important;
  border-color: #f0fdf4 !important;
  color: #166534 !important;
}

body.admin-theme-light .flex.flex-wrap.items-center.gap-2 a.bg-accent-500\/20 {
  background: #dcfce7 !important;
  border-color: #7CCB63 !important;
  color: #15803d !important;
}