/* ============================================
   NYAYA GURU - Main Stylesheet
   Professional Legal-Tech Design System
   ============================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --primary: #0A2342;
  --primary-light: #0d2d56;
  --primary-dark: #061628;
  --gold: #D4AF37;
  --gold-light: #e8c84a;
  --gold-dark: #b8960c;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #eef0f5;
  --gray: #6c757d;
  --dark: #1a1a2e;
  --text: #2d3748;
  --text-light: #718096;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(10, 35, 66, 0.10);
  --shadow-lg: 0 12px 48px rgba(10, 35, 66, 0.18);
  --shadow-gold: 0 4px 24px rgba(212, 175, 55, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; }

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  padding: 7px 0;
  letter-spacing: 0.02em;
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--gold); }
.top-bar i { color: var(--gold); }

/* ---- NAVBAR ---- */
.main-navbar {
  background: var(--primary) !important;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}
.main-navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(10,35,66,0.4);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white) !important;
  font-family: var(--font-heading);
}
.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--primary);
}
.brand-text { color: var(--white); }
.brand-accent { color: var(--gold); }

.main-navbar .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--gold) !important;
  background: rgba(212,175,55,0.1);
}

/* Mega Menu */
.mega-menu {
  width: 800px;
  padding: 20px;
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
}
.mega-menu .dropdown-item {
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text);
}
.mega-menu .dropdown-item:hover {
  background: var(--off-white);
  color: var(--primary);
}
.text-gold { color: var(--gold) !important; }

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary) !important;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold) !important;
  background: transparent;
  font-weight: 600;
  border-radius: 50px;
  padding: 9px 22px;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.btn-primary-dark {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  transition: var(--transition);
}
.btn-primary-dark:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---- HERO SECTION ---- */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a3a6b 100%);
  min-height: 580px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212,175,55,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,175,55,0.06) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-title .accent { color: var(--gold); }

.hero-subtitle {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
}

/* Hero Search Box */
.hero-search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 640px;
}
.hero-search-box .search-field {
  flex: 1;
  min-width: 150px;
  border: none;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  outline: none;
}
.hero-search-box .search-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}
.hero-search-box .btn-search {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary);
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 13px 28px;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.hero-search-box .btn-search:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  color: var(--white);
}
.hero-stat .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-heading);
  display: block;
}
.hero-stat .stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-illustration {
  width: 420px;
  max-width: 100%;
  position: relative;
  z-index: 2;
}
.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
  z-index: 3;
}
.hero-float-card.card-1 { top: 15%; left: -30px; }
.hero-float-card.card-2 { bottom: 20%; right: -20px; animation-delay: 1.5s; }
.hero-float-card .card-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- SECTION STYLES ---- */
.section { padding: 80px 0; }
.section-light { background: var(--off-white); }
.section-dark { background: var(--primary); color: var(--white); }

.section-badge {
  display: inline-block;
  background: rgba(212,175,55,0.12);
  color: var(--gold-dark);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-dark .section-badge {
  background: rgba(212,175,55,0.2);
  color: var(--gold);
  border-color: rgba(212,175,55,0.4);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-dark .section-title { color: var(--white); }

.section-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 48px;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

.divider-gold {
  width: 60px; height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: 14px auto 20px;
}

/* ---- CATEGORY CARDS ---- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.category-card:hover::before { transform: scaleX(1); }

.category-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(10,35,66,0.08), rgba(10,35,66,0.05));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}
.category-card:hover .category-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary);
}
.category-card h6 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  font-family: var(--font-body);
}
.category-card:hover h6 { color: var(--primary); }

/* ---- HOW IT WORKS ---- */
.step-card {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}
.step-number {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-gold);
}
.step-connector {
  position: absolute;
  top: 72px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg, var(--gold) 0, var(--gold) 8px, transparent 8px, transparent 16px
  );
  z-index: 0;
}
.step-icon {
  width: 80px; height: 80px;
  background: var(--off-white);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
}
.step-card h5 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { color: var(--text-light); font-size: 0.9rem; }

/* ---- WHY CHOOSE ---- */
.feature-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.feature-icon-wrap {
  width: 52px; height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  box-shadow: var(--shadow-gold);
}
.feature-content h5 { font-size: 1rem; margin-bottom: 5px; }
.feature-content p { color: var(--text-light); font-size: 0.88rem; margin: 0; }

/* ---- LAWYER CARDS ---- */
.lawyer-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.lawyer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.lawyer-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 24px;
  text-align: center;
  position: relative;
}
.lawyer-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
}
.lawyer-avatar-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-heading);
}
.lawyer-name {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.lawyer-exp-badge {
  background: rgba(212,175,55,0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.74rem;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.featured-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gold);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.verified-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--success);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  display: flex; align-items: center; gap: 3px;
}

.lawyer-card-body { padding: 20px; }

.lawyer-practice {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  background: rgba(10,35,66,0.07);
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 12px;
}

.lawyer-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
  flex-wrap: wrap;
}
.lawyer-info-item {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}
.lawyer-info-item i { color: var(--gold); font-size: 0.75rem; }

.lawyer-fee {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}
.lawyer-fee small { font-size: 0.74rem; color: var(--text-light); font-weight: 400; font-family: var(--font-body); }

.lawyer-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}
.btn-book {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.btn-book:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary);
  transform: translateY(-1px);
}
.btn-profile {
  background: var(--off-white);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-profile:hover {
  border-color: var(--primary);
  background: var(--white);
}

/* Star Rating */
.stars { color: var(--warning); font-size: 0.82rem; }
.rating-text { color: var(--text-light); font-size: 0.78rem; }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  height: 100%;
}
.testimonial-quote { font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 10px; font-family: Georgia; }
.testimonial-text { color: var(--text); font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}
.author-name { font-weight: 700; font-size: 0.92rem; color: var(--primary); }
.author-role { font-size: 0.78rem; color: var(--text-light); }

/* ---- FAQ ---- */
.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  font-size: 0.95rem;
  padding: 18px 24px;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--white);
  box-shadow: none;
}
.faq-accordion .accordion-button::after {
  filter: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(1) brightness(2);
}
.faq-accordion .accordion-body {
  padding: 20px 24px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.92rem;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a6b 100%);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }

/* ---- REGISTER LAWYER BANNER ---- */
.lawyer-cta-section {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  padding: 80px 0;
}
.lawyer-cta-section h2 { color: var(--primary); }
.lawyer-cta-section p { color: rgba(10,35,66,0.8); }
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--primary);
  font-weight: 500;
}
.benefit-item i { font-size: 1.1rem; color: var(--primary); }

/* ---- SEARCH FILTERS ---- */
.search-filter-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}
.filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* ---- LAWYER REGISTRATION FORM ---- */
.register-form-section {
  background: var(--off-white);
  min-height: 100vh;
  padding: 60px 0;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-card-header {
  background: linear-gradient(135deg, var(--primary), #1a3a6b);
  padding: 40px;
  text-align: center;
  color: var(--white);
}
.form-card-header h2 { color: var(--white); font-size: 1.8rem; }
.form-card-header p { color: rgba(255,255,255,0.75); margin: 0; }
.form-card-body { padding: 40px; }

.form-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-section-title i { color: var(--gold); }

.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--transition);
  font-family: var(--font-body);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,35,66,0.08);
  outline: none;
}
.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 6px;
}

/* File Upload */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--off-white);
}
.upload-area:hover { border-color: var(--primary); background: rgba(10,35,66,0.03); }
.upload-area i { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.upload-area p { color: var(--text-light); font-size: 0.85rem; margin: 0; }

/* Progress Steps */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  gap: 0;
}
.form-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}
.step-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--border);
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 1;
  transition: var(--transition);
}
.form-step.active .step-circle { background: var(--primary); color: var(--white); }
.form-step.completed .step-circle { background: var(--gold); color: var(--primary); }
.step-line {
  position: absolute;
  top: 22px; left: 50%;
  width: 100%; height: 2px;
  background: var(--border);
  z-index: 0;
}
.form-step.completed .step-line { background: var(--gold); }
.step-label { font-size: 0.72rem; color: var(--text-light); margin-top: 8px; font-weight: 500; }

/* ---- LAWYER PROFILE PAGE ---- */
.profile-hero {
  background: linear-gradient(135deg, var(--primary), #1a3a6b);
  padding: 60px 0;
}
.profile-avatar-lg {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  object-fit: cover;
}
.profile-name { color: var(--white); font-size: 2rem; margin-bottom: 8px; }
.profile-specialization { color: var(--gold); font-size: 1rem; margin-bottom: 16px; }
.profile-meta span {
  color: rgba(255,255,255,0.8);
  margin-right: 20px;
  font-size: 0.88rem;
}
.profile-meta i { color: var(--gold); margin-right: 5px; }

.profile-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}
.consultation-fee-display {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--primary), #1a3a6b);
  border-radius: var(--radius);
  color: var(--white);
  margin-bottom: 20px;
}
.fee-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-heading);
}

/* ---- DASHBOARD ---- */
.dashboard-sidebar {
  background: var(--primary);
  min-height: 100vh;
  padding: 24px 0;
}
.dashboard-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.dashboard-nav-link:hover, .dashboard-nav-link.active {
  color: var(--gold);
  background: rgba(212,175,55,0.08);
  border-left-color: var(--gold);
}
.dashboard-nav-link i { width: 20px; text-align: center; }

.stat-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.stat-widget:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-widget-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.stat-widget-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}
.stat-widget-label { font-size: 0.82rem; color: var(--text-light); font-weight: 500; }

/* ---- ADMIN PANEL ---- */
.admin-sidebar {
  background: var(--primary-dark);
  width: 260px;
  min-height: 100vh;
  position: fixed;
  left: 0; top: 0;
  z-index: 1000;
  overflow-y: auto;
  transition: var(--transition);
}
.admin-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-nav-section { padding: 16px 12px 8px; }
.admin-nav-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 12px;
  margin-bottom: 6px;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: rgba(255,255,255,0.65);
  font-size: 0.87rem;
  font-weight: 500;
  border-radius: 8px;
  margin-bottom: 2px;
  transition: var(--transition);
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(212,175,55,0.15);
  color: var(--gold);
}
.admin-main { margin-left: 260px; min-height: 100vh; background: var(--off-white); }
.admin-topbar {
  background: var(--white);
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.admin-content { padding: 32px 28px; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.admin-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Table Styles */
.table-ng th {
  background: var(--off-white);
  color: var(--text-light);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border);
}
.table-ng td { padding: 14px 16px; vertical-align: middle; font-size: 0.88rem; }
.table-ng tr:hover td { background: rgba(10,35,66,0.02); }

/* Status Badges */
.badge-status {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-pending { background: rgba(255,193,7,0.15); color: #b8860b; }
.badge-approved { background: rgba(40,167,69,0.12); color: #1a7a34; }
.badge-rejected { background: rgba(220,53,69,0.12); color: #c0392b; }
.badge-completed { background: rgba(10,35,66,0.1); color: var(--primary); }
.badge-active { background: rgba(40,167,69,0.12); color: #1a7a34; }

/* ---- FOOTER ---- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); }
.footer-top { padding: 70px 0 50px; }
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.footer-logo i { color: var(--gold); }
.footer-logo span { color: var(--gold); }
.footer-desc { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.8; margin-bottom: 18px; }
.footer-contact p { font-size: 0.85rem; margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact i { color: var(--gold); }

.footer-heading {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-heading);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--primary); border-color: var(--gold); transform: translateY(-2px); }

.footer-newsletter .form-control {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  border-radius: 8px 0 0 8px;
}
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter .btn-gold { border-radius: 0 8px 8px 0; padding: 10px 16px; }

.app-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
}
.app-badge:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p { font-size: 0.83rem; margin: 0; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.5); font-size: 0.83rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- FLOATING ELEMENTS ---- */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  z-index: 999;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }

.back-to-top {
  position: fixed;
  bottom: 96px; right: 30px;
  width: 44px; height: 44px;
  background: var(--primary);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 998;
  transition: var(--transition);
}
.back-to-top:hover { background: var(--gold); color: var(--primary); }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,0.7); }
}

/* ---- SELECT2 CUSTOM ---- */
.select2-container--default .select2-selection--multiple {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  min-height: 48px;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,35,66,0.08);
}
.select2-container--default .select2-results__option--highlighted {
  background: var(--primary);
}

/* ---- MISC ---- */
.breadcrumb { font-size: 0.85rem; }
.breadcrumb-item.active { color: var(--gold); }
.breadcrumb-item a { color: var(--primary); }

.page-hero {
  background: linear-gradient(135deg, var(--primary), #1a3a6b);
  padding: 60px 0;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-hero .breadcrumb-item { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb-item.active { color: var(--gold); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- LOADING SKELETON ---- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .hero-section { min-height: auto; padding: 60px 0; }
  .hero-image-col { display: none; }
  .mega-menu { width: 100%; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .top-bar { display: none; }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .hero-search-box { flex-direction: column; }
  .hero-search-box .search-divider { display: none; }
  .hero-search-box .btn-search { width: 100%; border-radius: 12px; }
  .hero-stats { gap: 20px; }
  .cta-banner { padding: 40px 24px; }
  .form-card-body { padding: 24px; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }