/* YekanBakh Font */
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh/woff2/YekanBakh-Thin.woff2') format('woff2'),
    url('../fonts/YekanBakh/woff/YekanBakh-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh/woff2/YekanBakh-Light.woff2') format('woff2'),
    url('../fonts/YekanBakh/woff/YekanBakh-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh/woff2/YekanBakh-Regular.woff2') format('woff2'),
    url('../fonts/YekanBakh/woff/YekanBakh-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh/woff2/YekanBakh-SemiBold.woff2') format('woff2'),
    url('../fonts/YekanBakh/woff/YekanBakh-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh/woff2/YekanBakh-Bold.woff2') format('woff2'),
    url('../fonts/YekanBakh/woff/YekanBakh-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh/woff2/YekanBakh-ExtraBold.woff2') format('woff2'),
    url('../fonts/YekanBakh/woff/YekanBakh-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh/woff2/YekanBakh-Black.woff2') format('woff2'),
    url('../fonts/YekanBakh/woff/YekanBakh-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh/woff2/YekanBakh-ExtraBlack.woff2') format('woff2'),
    url('../fonts/YekanBakh/woff/YekanBakh-ExtraBlack.woff') format('woff');
  font-weight: 950;
  font-style: normal;
  font-display: swap;
}

/* New Font */
@font-face {
  font-family: 'New';
  src: url('../fonts/New/new.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Reset & Variables */
:root {
  --primary-color: #5B8FA8;
  --primary-dark: #4A7A90;
  --primary-light: #7BA8BD;
  --secondary-color: #7FB8A6;
  --accent-color: #FFB84D;
  --bg-color: #FAFBFC;
  --bg-gradient: linear-gradient(135deg, #F0F7FA 0%, #FAFBFC 100%);
  --card-bg: #FFFFFF;
  --text-primary: #2C3E50;
  --text-secondary: #7A8A9A;
  --text-light: #B8C5D0;
  --success-color: #6BC77A;
  --online-color: #4DD97A;
  --shadow-sm: 0 2px 12px rgba(91, 143, 168, 0.06);
  --shadow-md: 0 4px 20px rgba(91, 143, 168, 0.1);
  --shadow-lg: 0 8px 32px rgba(91, 143, 168, 0.14);
  --radius-sm: 16px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --spacing-unit: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'YekanBakh' !important;
  background: var(--bg-gradient);
  color: var(--text-primary);
  line-height: 1.6;
  direction: rtl;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 360px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.header-content {
  /* Mobile-first: use grid to prevent logo/actions wrapping */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 0;
  gap: 12px;
}

.menu-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--text-primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
}

.menu-btn {
  /* In RTL, grid columns are visually reversed, so column 1 is the right side */
  grid-column: 1;
  /* right (RTL) */
  justify-self: start;
  /* start = right in RTL */
}

.header-actions {
  grid-column: 3;
  /* left (RTL) */
  justify-self: end;
  /* end = left in RTL */
}

.logo {
  grid-column: 2;
  /* center */
  min-width: 0;
}

.logo span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-btn:hover {
  background: var(--bg-color);
  transform: scale(1.05);
}

.menu-btn:active {
  transform: scale(0.95);
}

.download-app-btn,
.notification-btn,
.profile-btn {
  background: linear-gradient(135deg, rgba(91, 143, 168, 0.1) 0%, rgba(127, 184, 166, 0.08) 100%);
  border: 1px solid rgba(91, 143, 168, 0.15);
  font-size: 18px;
  color: var(--text-primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.download-app-btn:hover,
.notification-btn:hover,
.profile-btn:hover {
  background: linear-gradient(135deg, rgba(91, 143, 168, 0.2) 0%, rgba(127, 184, 166, 0.15) 100%);
  border-color: rgba(91, 143, 168, 0.3);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(91, 143, 168, 0.15);
}

.download-app-btn:active,
.notification-btn:active,
.profile-btn:active {
  transform: scale(0.95);
}

.notification-btn .badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #FF3B30;
  color: white;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  flex: 0;
  justify-content: center;
}

.logo i {
  font-size: 24px;
}

/* Header Navigation - Desktop Only */
.header-nav {
  display: none;
}

.profile-btn {
  display: none;
}

.download-app-btn {
  display: none;
  /* Hidden on mobile/tablet */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero Section - New Structure */
.hero {
  padding: 20px 0 32px;
  background: linear-gradient(135deg,
      rgba(91, 143, 168, 0.08) 0%,
      rgba(127, 184, 166, 0.06) 25%,
      rgba(224, 242, 254, 0.1) 50%,
      rgba(240, 249, 255, 0.08) 75%,
      rgba(91, 143, 168, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 143, 168, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroFloat 20s ease-in-out infinite;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(127, 184, 166, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroFloat 25s ease-in-out infinite reverse;
  z-index: 0;
}

@keyframes heroFloat {

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

  50% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 1;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Hero Card Wrapper */
.hero-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
  z-index: 0;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.hero-card>* {
  position: relative;
  z-index: 1;
}

/* Hero Header */
.hero-header {
  text-align: center;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 16px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  line-height: 1.4;
}

/* Consultation Options in Hero */
.consultation-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.desktop-only {
  display: none;
}

.consultation-option {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px 10px 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.consultation-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Phone Consultation - Light Blue */
.consultation-option:not(.free):not(.ai):not(.in-person) {
  background: #FFFFFF;
  border-color: rgba(59, 130, 246, 0.2);
}

.consultation-option:not(.free):not(.ai):not(.in-person):hover {
  background: #FAFBFC;
  border-color: rgba(59, 130, 246, 0.35);
}

/* Text Consultation - Green/Teal */
.consultation-option.free {
  background: #FFFFFF;
  border-color: rgba(20, 184, 166, 0.2);
}

.consultation-option.free:hover {
  background: #FAFBFC;
  border-color: rgba(20, 184, 166, 0.35);
}

/* AI Consultation - Purple */
.consultation-option.ai {
  background: #FFFFFF;
  border-color: rgba(168, 85, 247, 0.2);
}

.consultation-option.ai:hover {
  background: #FAFBFC;
  border-color: rgba(168, 85, 247, 0.35);
}

/* In-Person Consultation - Orange */
.consultation-option.in-person {
  background: #FFFFFF;
  border-color: rgba(249, 115, 22, 0.2);
}

.consultation-option.in-person:hover {
  background: #FAFBFC;
  border-color: rgba(249, 115, 22, 0.35);
}

.option-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.option-icon.phone {
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  color: white;
}

.option-icon.text {
  background: linear-gradient(135deg, var(--secondary-color), #4E9780);
  color: white;
}

.option-icon.ai-icon {
  background: linear-gradient(135deg, #A855F7, #9333EA);
  color: white;
}

.option-icon.in-person-icon {
  background: linear-gradient(135deg, #F97316, #FB923C);
  color: white;
}

.consultation-option:hover .option-icon {
  transform: scale(1.1) rotate(-5deg);
}

.option-badge {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-color), #FFB800);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(240, 165, 0, 0.3);
  animation: badgeFloat 2s ease-in-out infinite;
  z-index: 20;
  white-space: nowrap;
}

.option-badge i {
  font-size: 8px;
}

.option-badge.ai-badge {
  background: linear-gradient(135deg, #A855F7, #9333EA);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}

.option-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.option-desc {
  display: none;
}

.option-description {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.option-features {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mini-feature {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(91, 168, 144, 0.1);
  padding: 5px 8px;
  border-radius: 10px;
}

.mini-feature i {
  color: var(--success-color);
  font-size: 11px;
}

.btn-medium {
  padding: 10px 20px;
  font-size: 13px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.btn-compact {
  padding: 8px 14px;
  font-size: 11px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: white;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
  background: var(--secondary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: #4E9780;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ai {
  background: linear-gradient(135deg, #A855F7, #9333EA);
  color: white;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.btn-ai:hover {
  background: linear-gradient(135deg, #9333EA, #7E22CE);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 184, 77, 0.3);
}

.btn-small {
  padding: 10px 16px;
  font-size: 13px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

/* Trend Categories Section */
.trend-categories {
  margin-top: 24px;
}

.trend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.trend-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.trend-see-all {
  font-size: 13px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.trend-see-all:hover {
  color: var(--primary-dark);
}

/* Swiper for Mobile */
.trend-categories-swiper {
  display: block;
  /* padding-bottom: 48px; */
  overflow: hidden;
  position: relative;
}

.trend-categories-swiper .swiper-slide {
  width: auto;
  height: auto;
  display: flex;
  transition: all 0.3s ease;
}

.trend-categories-swiper .swiper-slide-active .trend-category-item {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* Navigation Arrows */
.trend-categories-swiper .swiper-button-next,
.trend-categories-swiper .swiper-button-prev {
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
  transition: all 0.3s ease;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
}

.trend-categories-swiper .swiper-button-next {
  left: -12px;
  right: auto;
}

.trend-categories-swiper .swiper-button-prev {
  right: -12px;
  left: auto;
}

.trend-categories-swiper .swiper-button-next:after,
.trend-categories-swiper .swiper-button-prev:after {
  font-size: 16px;
  font-weight: 700;
}

.trend-categories-swiper .swiper-button-next:hover,
.trend-categories-swiper .swiper-button-prev:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.trend-categories-swiper .swiper-button-next:active,
.trend-categories-swiper .swiper-button-prev:active {
  transform: translateY(-50%) scale(0.95);
}

.trend-categories-swiper .swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mobile optimizations for Swiper */
@media (max-width: 480px) {

  .trend-categories-swiper .swiper-button-next,
  .trend-categories-swiper .swiper-button-prev {
    width: 32px;
    height: 32px;
    display: none;
    /* Hide on very small screens */
  }

  .trend-categories-swiper .swiper-button-next:after,
  .trend-categories-swiper .swiper-button-prev:after {
    font-size: 14px;
  }

  .trend-categories-swiper {
    /* padding-bottom: 40px; */
  }

  .trend-categories-swiper .swiper-pagination {
    margin-top: 16px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {

  .trend-categories-swiper .swiper-button-next,
  .trend-categories-swiper .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .trend-categories-swiper .swiper-button-next:after,
  .trend-categories-swiper .swiper-button-prev:after {
    font-size: 15px;
  }
}

/* Pagination */
.trend-categories-swiper .swiper-pagination {
  position: relative;
  margin-top: 20px;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.trend-categories-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  opacity: 0.25;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
  cursor: pointer;
}

.trend-categories-swiper .swiper-pagination-bullet:hover {
  opacity: 0.6;
  transform: scale(1.2);
}

.trend-categories-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
  width: 24px;
  border-radius: 12px;
  transform: scale(1);
}

/* Grid for Desktop (hidden on mobile) */
.trend-categories-grid.desktop-only {
  display: none;
}

.trend-category-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  width: 100%;
  min-height: 140px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.trend-category-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(91, 143, 168, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trend-category-item:hover::before {
  opacity: 1;
}

.trend-category-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.trend-category-item:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trend-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  transition: all 0.3s ease;
}

.trend-category-item:hover .trend-category-icon {
  transform: scale(1.1) rotate(-5deg);
}

.trend-category-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.trend-category-count {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Trend Services Section */
.trend-services {
  margin-top: 24px;
}

.trend-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trend-service-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.trend-service-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.trend-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.trend-service-item:hover .trend-service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.trend-service-content {
  flex: 1;
  min-width: 0;
}

.trend-service-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.trend-service-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.5;
}

.trend-service-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
}

.trend-service-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-color);
  border: none;
  color: var(--primary-color);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.trend-service-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(-4px);
}

/* Services Section */
.services-section {
  padding: 32px 0;
  background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 100%);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 24px;
}

.services-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(91, 143, 168, 0.15);
  color: var(--primary-color);
  border: none;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.services-badge:hover {
  background: rgba(91, 143, 168, 0.25);
  transform: translateY(-2px);
}

.services-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

.services-title .highlight {
  color: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(91, 143, 168, 0.2));
  transition: all 0.3s ease;
}

.service-card:hover .service-icon img {
  transform: scale(1.1) translateY(-4px);
  filter: drop-shadow(0 6px 12px rgba(91, 143, 168, 0.3));
}

.service-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-description {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Specialties Section */
.specialties {
  padding: 16px 0 20px;
  background: white;
  position: relative;
  overflow: visible;
}

.specialties .section-header {
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.specialties-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 16px;
  margin: 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.specialties-scroll::-webkit-scrollbar {
  display: none;
}

.specialty-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 85px;
  padding: 12px 10px;
  background: var(--bg-color);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: slideInSpecialty 0.5s ease forwards;
  opacity: 0;
}

@keyframes slideInSpecialty {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.specialty-item:nth-child(1) {
  animation-delay: 0.05s;
}

.specialty-item:nth-child(2) {
  animation-delay: 0.1s;
}

.specialty-item:nth-child(3) {
  animation-delay: 0.15s;
}

.specialty-item:nth-child(4) {
  animation-delay: 0.2s;
}

.specialty-item:nth-child(5) {
  animation-delay: 0.25s;
}

.specialty-item:nth-child(6) {
  animation-delay: 0.3s;
}

.specialty-item:nth-child(7) {
  animation-delay: 0.35s;
}

.specialty-item:nth-child(8) {
  animation-delay: 0.4s;
}

.specialty-item:nth-child(9) {
  animation-delay: 0.45s;
}

.specialty-item:nth-child(10) {
  animation-delay: 0.5s;
}

.specialty-item:nth-child(11) {
  animation-delay: 0.55s;
}

.specialty-item:nth-child(12) {
  animation-delay: 0.6s;
}

.specialty-item:nth-child(13) {
  animation-delay: 0.65s;
}

.specialty-item:nth-child(14) {
  animation-delay: 0.7s;
}

.specialty-item:nth-child(15) {
  animation-delay: 0.75s;
}

.specialty-item:nth-child(16) {
  animation-delay: 0.8s;
}

.specialty-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.specialty-item:hover::before,
.specialty-item.active::before {
  opacity: 1;
}

.specialty-item:hover,
.specialty-item.active {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.specialty-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.specialty-item:hover .specialty-icon,
.specialty-item.active .specialty-icon {
  background: white;
  color: var(--primary-color);
  transform: scale(1.1) rotate(5deg);
}

.specialty-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.3;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.specialty-item:hover .specialty-label,
.specialty-item.active .specialty-label {
  color: white;
}

/* Scroll indicator for specialties - removed to prevent overflow */

/* Stats Section */
.stats {
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* FAQ Section */
.faq-section {
  padding: 48px 0 60px;
  background: linear-gradient(135deg, rgba(240, 247, 250, 0.8) 0%, rgba(224, 242, 254, 0.6) 50%, rgba(240, 249, 255, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(91, 143, 168, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(127, 184, 166, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(91, 143, 168, 0.1);
}

.faq-badge i {
  font-size: 14px;
}

.faq-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

.faq-title .highlight {
  color: var(--primary-color);
}

.faq-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item.active {
  background: rgba(91, 143, 168, 0.02);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: right;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.faq-question:hover {
  background: rgba(91, 143, 168, 0.04);
}

.faq-item.active .faq-question {
  background: rgba(91, 143, 168, 0.04);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(91, 143, 168, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-question:hover .faq-icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.faq-item.active .faq-icon {
  background: var(--primary-color);
  color: white;
  transform: rotate(45deg);
}

.faq-icon i {
  transition: transform 0.3s ease;
}

.faq-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  line-height: 1.5;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px 80px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
  text-align: right;
}

/* Legal Questions Section */
.legal-questions-section {
  padding: 48px 0 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 247, 250, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.legal-questions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(91, 143, 168, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(127, 184, 166, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.legal-questions-section .section-header {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.legal-questions-section .section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-questions-section .section-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.questions-slider-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 0 24px;
  width: 100%;
}

.questions-slider {
  display: flex;
  gap: 16px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  width: 100%;
  transform: translateX(0);
}

.question-card {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(91, 143, 168, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
}

.question-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.question-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(91, 143, 168, 0.2);
}

.question-card:hover::before {
  transform: scaleX(1);
}

.question-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(91, 143, 168, 0.25);
  transition: all 0.3s ease;
}

.question-card:hover .question-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(91, 143, 168, 0.35);
}

.question-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.question-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  min-height: 44px;
}

.question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(91, 143, 168, 0.1);
}

.question-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(91, 143, 168, 0.1), rgba(127, 184, 166, 0.08));
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  border: 1px solid rgba(91, 143, 168, 0.15);
}

.question-views {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

.question-views i {
  font-size: 11px;
  opacity: 0.7;
}

.slider-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.slider-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(91, 143, 168, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slider-indicator.active {
  width: 24px;
  border-radius: 12px;
  background: var(--primary-color);
  border-color: rgba(91, 143, 168, 0.2);
  box-shadow: 0 2px 8px rgba(91, 143, 168, 0.3);
}

/* Search Section */
.search-section {
  padding: 32px 0 40px;
  background: linear-gradient(135deg, rgba(91, 143, 168, 0.03) 0%, rgba(127, 184, 166, 0.05) 50%, rgba(224, 242, 254, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.search-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(91, 143, 168, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(127, 184, 166, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.search-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(91, 143, 168, 0.15), transparent);
  z-index: 1;
}

.search-wrapper {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 0;
  margin-bottom: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 32px rgba(91, 143, 168, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.search-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(91, 143, 168, 0.02) 0%, rgba(127, 184, 166, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.search-bar:focus-within {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(91, 143, 168, 0.3);
  box-shadow:
    0 12px 40px rgba(91, 143, 168, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.search-bar:focus-within::before {
  opacity: 1;
}

.search-icon {
  color: #6B7280;
  font-size: 18px;
  padding: 16px 20px;
  flex-shrink: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.search-bar:focus-within .search-icon {
  color: var(--primary-color);
  transform: scale(1.1);
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  font-weight: 400;
  direction: rtl;
  position: relative;
  z-index: 1;
}

.search-bar input::placeholder {
  color: #9CA3AF;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.search-bar:focus-within input::placeholder {
  opacity: 0.6;
}

.filter-btn {
  background: transparent;
  border: none;
  color: #6B7280;
  font-size: 18px;
  cursor: pointer;
  padding: 16px 20px;
  border-radius: 0 20px 20px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.filter-btn::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.08), transparent);
  transition: opacity 0.3s ease;
}

.search-bar:focus-within .filter-btn::before {
  opacity: 0;
}

.filter-btn:hover {
  background: rgba(91, 143, 168, 0.1);
  color: var(--primary-color);
}

.filter-btn:active {
  transform: scale(0.95);
}

.category-section {
  margin-top: 0;
}

.filter-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(44, 62, 80, 0.8);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
  text-align: right;
}

.chips-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chips-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.chip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(91, 143, 168, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.chip:active::before {
  width: 300px;
  height: 300px;
}

.chip:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(91, 143, 168, 0.4);
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(91, 143, 168, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.chip.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(91, 143, 168, 0.25),
    0 2px 8px rgba(91, 143, 168, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.chip.active::before {
  background: rgba(255, 255, 255, 0.2);
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  50% {
    transform: scale(1.01);
    box-shadow: 0 6px 24px rgba(91, 143, 168, 0.12);
  }
}

/* Work Process Section */
.work-process-section {
  padding: 48px 0 60px;
  background: #FAFBFC;
  position: relative;
  overflow: hidden;
}

.work-process-section::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 400px;
  height: 500px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 300'%3E%3Cpath d='M100 20 L120 80 L180 90 L130 130 L150 190 L100 160 L50 190 L70 130 L20 90 L80 80 Z' fill='none' stroke='%235B8FA8' stroke-width='1.5' opacity='0.12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.work-process-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
}

.work-process-video {
  width: 100%;
  display: flex;
  align-items: flex-start;
}

.work-process-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.process-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.process-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 32px;
  line-height: 1.4;
  display: block;
}

.process-title .highlight {
  color: var(--primary-color);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-step {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 32px;
}

.process-step:last-child {
  padding-bottom: 0;
}

.step-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(91, 143, 168, 0.3);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.process-step:hover .step-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(91, 143, 168, 0.4);
}

.step-connector {
  width: 2px;
  height: 60px;
  background: repeating-linear-gradient(to bottom,
      var(--primary-color) 0px,
      var(--primary-color) 6px,
      transparent 6px,
      transparent 12px);
  margin-top: 8px;
  opacity: 0.4;
  flex-shrink: 0;
  position: relative;
}

.step-connector::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.3;
}

.process-step:last-child .step-connector {
  display: none;
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.h_iframe-aparat_embed_frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(91, 143, 168, 0.15);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.h_iframe-aparat_embed_frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.12),
    0 6px 16px rgba(91, 143, 168, 0.2);
}

.h_iframe-aparat_embed_frame .ratio {
  display: block;
  width: 100%;
  height: auto;
}

.h_iframe-aparat_embed_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 24px;
}

/* View Toggle */
.view-toggle-section {
  padding: 16px 0;
}

.view-toggle {
  display: flex;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 4px;
  box-shadow: var(--shadow-sm);
  gap: 4px;
}

.toggle-btn {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.toggle-btn.active {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-sm);
}

.toggle-btn:not(.active):hover {
  background: var(--bg-color);
}

/* Lawyers Section */
.lawyers-section {
  padding: 24px 0 140px;
}

.lawyers-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.see-all {
  font-size: 14px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.see-all:hover {
  color: var(--primary-dark);
}

.lawyers-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Lawyer Card */
.lawyer-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease;
}

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

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

.lawyer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.lawyer-header {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.lawyer-image {
  position: relative;
  flex-shrink: 0;
}

.lawyer-image img {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  object-fit: cover;
  border: 3px solid var(--bg-color);
}

.online-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: var(--online-color);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--online-color);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(0, 230, 118, 0.4);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.2);
  }
}

.lawyer-info {
  flex: 1;
  min-width: 0;
}

.lawyer-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.lawyer-specialty {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.lawyer-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.lawyer-rating i {
  color: #FFB800;
}

.lawyer-rating span:first-of-type {
  font-weight: 700;
  color: var(--text-primary);
}

.review-count {
  color: var(--text-light);
}

.favorite-btn {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.favorite-btn:hover {
  color: #FF3B30;
  transform: scale(1.2);
}

.favorite-btn.active {
  color: #FF3B30;
}

.favorite-btn.active i {
  font-weight: 900;
}

.lawyer-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--bg-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.detail-item i {
  color: var(--primary-color);
  font-size: 14px;
  width: 16px;
}

.lawyer-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(45, 95, 122, 0.05), rgba(91, 168, 144, 0.05));
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.price-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
}

.lawyer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 8px;
}

/* Quick Consultation */
.quick-consultation {
  padding: 24px 0 120px;
}

.consultation-card {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #3E8F7C 100%);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.consultation-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.consultation-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: white;
}

.consultation-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.consultation-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Consultation Types Section */
.consultation-types {
  padding: 24px 0;
}

.consultation-type-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.consultation-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.consultation-type-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.consultation-type-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.consultation-type-card:hover .consultation-type-icon {
  transform: scale(1.1) rotate(-5deg);
}

.consultation-type-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  flex: 1;
}

.consultation-type-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.consultation-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-color);
  border-radius: var(--radius-md);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.feature-item i {
  color: var(--success-color);
  font-size: 20px;
  animation: checkBounce 0.6s ease;
}

@keyframes checkBounce {

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

  50% {
    transform: scale(1.2);
  }
}

.feature-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.consultation-type-card .btn-large {
  width: 100%;
}

/* Free Consultation Modifier */
.consultation-free {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-color: var(--secondary-color);
}

.consultation-free .consultation-type-icon {
  background: linear-gradient(135deg, var(--secondary-color), #4E9780);
}

.free-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--accent-color), #FFB800);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(240, 165, 0, 0.3);
  animation: badgeFloat 2s ease-in-out infinite;
}

@keyframes badgeFloat {

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

  50% {
    transform: translateY(-4px);
  }
}

.free-badge i {
  font-size: 14px;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 320px;
  width: calc(100% - 32px);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 10px 40px rgba(45, 95, 122, 0.18),
    0 2px 12px rgba(45, 95, 122, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 6px calc(10px + env(safe-area-inset-bottom));
  z-index: 100;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  min-width: 52px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  position: relative;
  flex: 1;
  max-width: 62px;
}

.nav-item i {
  font-size: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item span:not(.nav-badge) {
  font-size: 9px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.65;
  letter-spacing: 0.2px;
}

.nav-item:hover {
  color: var(--primary-color);
  background: rgba(45, 95, 122, 0.08);
  transform: translateY(-2px);
}

.nav-item.active {
  color: white;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  box-shadow: 0 6px 20px rgba(45, 95, 122, 0.35),
    0 2px 8px rgba(45, 95, 122, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.nav-item.active span:not(.nav-badge) {
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-item.active i {
  transform: scale(1.15);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.nav-item.active::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9),
    0 0 12px rgba(255, 255, 255, 0.6);
  animation: dot-glow 1.5s ease-in-out infinite;
}

@keyframes dot-glow {

  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1.3);
  }
}

.nav-badge {
  position: absolute;
  top: 8px;
  right: 12px;
  background: linear-gradient(135deg, #FF3B30, #FF6B5E);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 12px;
  min-width: 18px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.9);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4),
      0 0 0 2px rgba(255, 255, 255, 0.9);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(255, 59, 48, 0.6),
      0 0 0 2px rgba(255, 255, 255, 1);
  }
}

/* Animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

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

/* Responsive */
@media (min-width: 481px) {
  .container {
    max-width: 360px;
  }

  .consultation-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .consultation-option {
    padding: 16px 12px;
  }

  .option-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .option-title {
    font-size: 13px;
  }

  .btn-compact {
    font-size: 12px;
    padding: 9px 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lawyer-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .specialty-item {
    min-width: 85px;
    padding: 12px 10px;
  }

  .specialty-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .specialty-label {
    font-size: 12px;
  }

  .bottom-nav {
    max-width: 320px;
    bottom: 16px;
  }

  .nav-item {
    min-width: 52px;
  }

  .nav-item i {
    font-size: 20px;
  }

  .nav-item span:not(.nav-badge) {
    font-size: 9px;
  }
}

/* Tablet Styles (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .container {
    max-width: 720px;
    padding: 0 24px;
  }

  /* Keep mobile-like header on tablet */
  .header-content {
    padding: 14px 0;
    gap: 16px;
  }

  .logo {
    font-size: 20px;
  }

  .logo i {
    font-size: 26px;
  }

  /* Keep support icon visible */
  .menu-btn {
    display: flex;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  /* Keep navigation hidden on tablet */
  .header-nav {
    display: none;
  }

  /* Keep user icon hidden on tablet */
  .profile-btn {
    display: none;
  }

  /* Keep download icon hidden on tablet */
  .download-app-btn {
    display: none;
  }

  .notification-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .header-actions {
    gap: 10px;
  }

  /* Keep consultation cards in 2 columns on tablet */
  .consultation-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .consultation-option {
    padding: 20px 16px;
  }

  .option-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .option-title {
    font-size: 15px;
  }
}

/* Desktop Styles - Modern Landing Layout */
@media (min-width: 1200px) {
  body {
    background: var(--bg-gradient);
  }

  .container {
    max-width: 1400px;
    padding: 0 40px;
  }

  /* Header Desktop - Modern */
  .header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(91, 143, 168, 0.08);
  }

  .header-content {
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
  }

  /* Desktop: Logo on right (grid-column 1 in RTL), Nav center, Actions left */
  .logo {
    grid-column: 1;
    justify-self: end;
    font-size: 24px;
    justify-content: flex-end;
    font-weight: 800;
    flex-shrink: 0;
  }

  .logo i {
    font-size: 30px;
  }

  /* Hide support icon on desktop (navigation is visible) */
  .menu-btn {
    display: none;
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: center;
    grid-column: 2;
  }

  .header-actions {
    grid-column: 3;
    justify-self: start;
  }

  /* Show all action buttons on desktop */
  .profile-btn,
  .download-app-btn {
    display: flex;
  }

  .nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-link:hover {
    color: var(--primary-color);
    background: rgba(91, 143, 168, 0.08);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 60%;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
  }

  .download-app-btn,
  .notification-btn,
  .profile-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
    background: linear-gradient(135deg, rgba(91, 143, 168, 0.12) 0%, rgba(127, 184, 166, 0.1) 100%);
    border: 1.5px solid rgba(91, 143, 168, 0.2);
    border-radius: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
  }

  .download-app-btn:hover,
  .notification-btn:hover,
  .profile-btn:hover {
    background: linear-gradient(135deg, rgba(91, 143, 168, 0.25) 0%, rgba(127, 184, 166, 0.2) 100%);
    border-color: rgba(91, 143, 168, 0.35);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 143, 168, 0.2);
  }

  /* Hero Section Desktop - New Structure */
  .hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg,
        rgba(91, 143, 168, 0.12) 0%,
        rgba(127, 184, 166, 0.1) 20%,
        rgba(224, 242, 254, 0.15) 40%,
        rgba(240, 249, 255, 0.12) 60%,
        rgba(91, 143, 168, 0.08) 80%,
        rgba(127, 184, 166, 0.06) 100%);
  }

  .hero::before {
    width: 800px;
    height: 800px;
    top: -40%;
    right: -15%;
    background: radial-gradient(circle, rgba(91, 143, 168, 0.2) 0%, transparent 70%);
  }

  .hero::after {
    width: 700px;
    height: 700px;
    bottom: -25%;
    left: -8%;
    background: radial-gradient(circle, rgba(127, 184, 166, 0.18) 0%, transparent 70%);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .hero-card {
    padding: 48px 40px;
    border-radius: 28px;
  }

  .hero-header {
    text-align: center;
    margin-bottom: 0;
  }

  .hero-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    color: white;
  }

  .hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.4;

  }

  .desktop-only {
    display: block;
  }

  .consultation-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    max-width: 100%;
  }

  .consultation-option {
    padding: 32px 24px 28px;
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    position: relative;
    overflow: visible;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
  }

  .consultation-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .consultation-option>* {
    position: relative;
    z-index: 1;
  }

  /* Phone Consultation - Light Blue */
  .consultation-option:not(.free):not(.ai):not(.in-person) {
    background: #FFFFFF;
    border-color: rgba(59, 130, 246, 0.2);
  }

  .consultation-option:not(.free):not(.ai):not(.in-person):hover {
    background: #FAFBFC;
    border-color: rgba(59, 130, 246, 0.35);
  }

  /* Text Consultation - Green/Teal */
  .consultation-option.free {
    background: #FFFFFF;
    border-color: rgba(20, 184, 166, 0.2);
    overflow: visible;
  }

  .consultation-option.free:hover {
    background: #FAFBFC;
    border-color: rgba(20, 184, 166, 0.35);
  }

  /* AI Consultation - Purple */
  .consultation-option.ai {
    background: #FFFFFF;
    border-color: rgba(168, 85, 247, 0.2);
  }

  .consultation-option.ai:hover {
    background: #FAFBFC;
    border-color: rgba(168, 85, 247, 0.35);
  }

  /* In-Person Consultation - Orange */
  .consultation-option.in-person {
    background: #FFFFFF;
    border-color: rgba(249, 115, 22, 0.2);
  }

  .consultation-option.in-person:hover {
    background: #FAFBFC;
    border-color: rgba(249, 115, 22, 0.35);
  }


  .option-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
    margin-bottom: 0;
    flex-shrink: 0;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .option-icon.in-person-icon {
    background: linear-gradient(135deg, var(--accent-color), #FFB800);
    color: white;
  }

  .consultation-option:hover .option-icon {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  .option-title {
    font-size: 18px;
    margin-bottom: 6px;
    flex: 0;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
  }

  .option-desc {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
    min-height: auto;
    line-height: 1.5;
  }

  .btn-compact {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 14px;
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
  }

  .option-badge {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    font-size: 11px;
  }

  .option-badge.ai-badge {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Trend Categories Desktop */
  .trend-categories {
    margin-top: 40px;
  }

  .trend-header {
    margin-bottom: 24px;
  }

  .trend-title {
    font-size: 24px;
  }

  .trend-see-all {
    font-size: 16px;
  }

  /* Hide Swiper on Desktop */
  .trend-categories-swiper {
    display: none;
  }

  /* Show Grid on Desktop */
  .trend-categories-grid.desktop-only {
    display: grid;
  }

  .trend-categories-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }

  .trend-category-item {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .trend-category-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
    border-radius: 16px;
  }

  .trend-category-label {
    font-size: 16px;
  }

  .trend-category-count {
    font-size: 13px;
  }

  /* Trend Services Desktop */
  .trend-services {
    margin-top: 40px;
  }

  .trend-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .trend-service-item {
    padding: 24px;
    border-radius: 20px;
  }

  .trend-service-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
    border-radius: 18px;
  }

  .trend-service-title {
    font-size: 18px;
  }

  .trend-service-desc {
    font-size: 14px;
  }

  .trend-service-price {
    font-size: 15px;
  }

  .trend-service-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
    border-radius: 14px;
  }

  .option-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    font-size: 12px;
    z-index: 10;
  }

  /* Services Section Desktop */
  .services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 100%);
  }

  .services-header {
    margin-bottom: 48px;
  }

  .services-badge {
    padding: 12px 32px;
    font-size: 15px;
    margin-bottom: 24px;
  }

  .services-title {
    font-size: 36px;
    line-height: 1.3;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
  }

  .service-card {
    padding: 40px 32px;
    border-radius: 24px;
  }

  .service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .service-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .service-description {
    font-size: 16px;
    line-height: 1.8;
  }

  /* Specialties Desktop - Grid Layout */
  .specialties {
    padding: 80px 0;
    background: white;
  }

  .specialties .section-header {
    margin-bottom: 48px;
    text-align: center;
  }

  .section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
  }

  .section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 12px;
  }

  .specialties-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    padding: 0;
    overflow-x: visible;
    justify-content: center;
  }

  .specialty-item {
    min-width: auto;
    padding: 32px 24px;
    border-radius: 24px;
    background: var(--bg-color);
    border: 2px solid transparent;
    transition: all 0.3s ease;
  }

  .specialty-item:hover {
    background: white;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
  }

  .specialty-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
    border-radius: 20px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  }

  .specialty-label {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
  }

  /* Stats Desktop - Horizontal Row */
  .stats {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(91, 143, 168, 0.03) 0%, rgba(127, 184, 166, 0.03) 100%);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .stat-card {
    padding: 40px 32px;
    border-radius: 28px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
  }

  .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
  }

  .stat-icon {
    width: 88px;
    height: 88px;
    font-size: 36px;
    border-radius: 24px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
  }

  .stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
  }

  .stat-label {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 4px;
  }

  /* Search Section Desktop */
  .search-section {
    padding: 60px 0 100px;
    background: linear-gradient(135deg, rgba(91, 143, 168, 0.04) 0%, rgba(127, 184, 166, 0.06) 50%, rgba(224, 242, 254, 0.1) 100%);
  }

  .search-section::before {
    background:
      radial-gradient(circle at 15% 50%, rgba(91, 143, 168, 0.08) 0%, transparent 60%),
      radial-gradient(circle at 85% 50%, rgba(127, 184, 166, 0.08) 0%, transparent 60%);
  }

  .search-wrapper {
    max-width: 800px;
    margin: 0 auto;
  }

  .search-bar {
    margin-bottom: 28px;
    border-radius: 24px;
    padding: 0;
  }

  .search-bar:focus-within {
    box-shadow:
      0 16px 48px rgba(91, 143, 168, 0.18),
      0 6px 16px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-3px);
  }

  .search-icon {
    padding: 20px 28px;
    font-size: 20px;
  }

  .search-bar input {
    padding: 20px 16px;
    font-size: 17px;
  }

  .filter-btn {
    padding: 20px 28px;
    font-size: 20px;
    border-radius: 0 24px 24px 0;
  }

  .filter-label {
    font-size: 16px;
    margin-bottom: 16px;
    color: rgba(44, 62, 80, 0.85);
  }

  .chips-container {
    gap: 14px;
  }

  .chips-row {
    gap: 12px;
  }

  .chip {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 24px;
  }

  .chip:hover {
    transform: translateY(-3px);
    box-shadow:
      0 8px 20px rgba(91, 143, 168, 0.15),
      0 4px 8px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 1);
  }

  .chip.active {
    transform: translateY(-3px);
    box-shadow:
      0 10px 28px rgba(91, 143, 168, 0.3),
      0 4px 12px rgba(91, 143, 168, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  /* Work Process Section Desktop */
  .work-process-section {
    padding: 100px 0 120px;
    background: #FAFBFC;
  }

  .work-process-section::before {
    width: 500px;
    height: 600px;
    opacity: 0.2;
  }

  .work-process-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .work-process-video {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .work-process-video .h_iframe-aparat_embed_frame {
    width: 100%;
  }

  .work-process-content {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    align-self: flex-start;
  }

  .process-label {
    font-size: 16px;
    margin-bottom: 16px;
    display: block;
  }

  .process-title {
    font-size: 36px;
    margin-bottom: 48px;
    line-height: 1.3;
    display: block;
  }

  .process-steps {
    gap: 0;
  }

  .process-step {
    gap: 28px;
    padding-bottom: 40px;
  }

  .step-icon {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }

  .step-connector {
    height: 80px;
    margin-top: 12px;
  }

  .step-content {
    padding-top: 8px;
  }

  .step-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .step-description {
    font-size: 16px;
    line-height: 1.8;
  }

  .h_iframe-aparat_embed_frame {
    border-radius: 32px;
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.12),
      0 8px 24px rgba(91, 143, 168, 0.18);
  }

  .h_iframe-aparat_embed_frame:hover {
    transform: translateY(-6px);
    box-shadow:
      0 24px 72px rgba(0, 0, 0, 0.15),
      0 10px 32px rgba(91, 143, 168, 0.25);
  }

  .h_iframe-aparat_embed_frame iframe {
    border-radius: 32px;
  }

  /* FAQ Section Desktop */
  .faq-section {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, rgba(240, 247, 250, 0.9) 0%, rgba(224, 242, 254, 0.7) 50%, rgba(240, 249, 255, 0.9) 100%);
  }

  .faq-header {
    margin-bottom: 48px;
  }

  .faq-badge {
    padding: 10px 20px;
    font-size: 14px;
    margin-bottom: 20px;
  }

  .faq-badge i {
    font-size: 16px;
  }

  .faq-title {
    font-size: 42px;
    line-height: 1.3;
  }

  .faq-card {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 32px;
    padding: 0;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  }

  .faq-question {
    padding: 28px 32px;
    gap: 20px;
  }

  .faq-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .faq-text {
    font-size: 17px;
  }

  .faq-item.active .faq-answer {
    padding: 0 32px 32px 100px;
  }

  .faq-answer p {
    font-size: 16px;
    line-height: 1.9;
  }

  /* Legal Questions Section Desktop */
  .legal-questions-section {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 247, 250, 0.9) 100%);
  }

  .legal-questions-section .section-header {
    margin-bottom: 64px;
  }

  .legal-questions-section .section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
  }

  .legal-questions-section .section-subtitle {
    font-size: 18px;
  }

  .questions-slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 32px;
  }

  .questions-slider {
    gap: 32px;
  }

  .questions-slider .question-card {
    min-width: calc(33.333% - 22px);
    width: calc(33.333% - 22px);
    flex-shrink: 0;
    padding: 40px;
    border-radius: 28px;
  }

  .question-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
    margin-bottom: 24px;
    border-radius: 20px;
  }

  .question-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .question-text {
    font-size: 16px;
    line-height: 1.7;
    min-height: 52px;
    margin-bottom: 24px;
  }

  .question-meta {
    padding-top: 20px;
  }

  .question-category {
    padding: 8px 16px;
    font-size: 12px;
  }

  .question-views {
    font-size: 14px;
  }

  .question-views i {
    font-size: 12px;
  }

  .slider-indicators {
    margin-top: 32px;
    gap: 12px;
  }

  .slider-indicator {
    width: 10px;
    height: 10px;
  }

  .slider-indicator.active {
    width: 32px;
    border-radius: 16px;
  }

  .chip:hover,
  .chip.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }

  /* View Toggle Desktop */
  .view-toggle-section {
    padding: 32px 0;
    background: white;
  }

  .view-toggle {
    max-width: 300px;
    margin: 0 auto;
    padding: 8px;
    border-radius: 20px;
    background: var(--bg-color);
  }

  .toggle-btn {
    padding: 14px 24px;
    font-size: 16px;
  }

  /* Lawyers Section Desktop - Modern Horizontal Layout */
  .lawyers-section {
    padding: 80px 0;
    background: var(--bg-gradient);
  }

  .lawyers-section .section-header {
    margin-bottom: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .section-title {
    font-size: 36px;
    font-weight: 800;
  }

  .see-all {
    font-size: 17px;
    font-weight: 600;
  }

  .lawyers-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .lawyer-card {
    padding: 0;
    border-radius: 28px;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .lawyer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }

  /* Desktop: Horizontal Header Layout */
  .lawyer-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    padding: 32px 32px 24px;
    align-items: start;
    border-bottom: 1px solid rgba(91, 143, 168, 0.1);
  }

  .lawyer-image {
    position: relative;
    grid-row: 1 / 3;
  }

  .lawyer-image img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    border: 4px solid var(--bg-color);
    object-fit: cover;
  }

  .online-badge {
    width: 24px;
    height: 24px;
    bottom: 8px;
    right: 8px;
    border: 4px solid white;
  }

  .lawyer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .lawyer-name {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.3;
  }

  .lawyer-specialty {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
  }

  .lawyer-rating {
    font-size: 17px;
    gap: 8px;
    margin-top: 4px;
  }

  .lawyer-rating i {
    font-size: 18px;
  }

  .favorite-btn {
    font-size: 24px;
    padding: 8px;
    align-self: flex-start;
    grid-column: 3;
    grid-row: 1;
  }

  /* Desktop: Compact Details in Single Row */
  .lawyer-details {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px 32px;
    margin-bottom: 0;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid rgba(91, 143, 168, 0.1);
  }

  .detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
    flex: 1;
    min-width: 140px;
  }

  .detail-item i {
    font-size: 18px;
    width: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
  }

  /* Desktop: Price and Actions in One Row */
  .lawyer-price {
    padding: 24px 32px;
    margin-bottom: 0;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(91, 143, 168, 0.03), rgba(127, 184, 166, 0.03));
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(91, 143, 168, 0.1);
  }

  .price-label {
    font-size: 15px;
    color: var(--text-secondary);
  }

  .price-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
  }

  .lawyer-actions {
    display: flex;
    gap: 12px;
    padding: 24px 32px;
    grid-template-columns: none;
  }

  .lawyer-actions .btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 16px;
    white-space: nowrap;
  }

  .lawyer-actions .btn-primary {
    flex: 1.5;
    font-weight: 700;
  }

  /* Quick Consultation Desktop */
  .quick-consultation {
    padding: 80px 0;
    background: white;
  }

  .consultation-card {
    padding: 80px 64px;
    border-radius: 36px;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #6BA896 100%);
  }

  .consultation-icon {
    width: 112px;
    height: 112px;
    font-size: 48px;
    margin-bottom: 32px;
  }

  .consultation-title {
    font-size: 38px;
    margin-bottom: 16px;
  }

  .consultation-text {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.8;
  }

  .btn-large {
    padding: 22px 56px;
    font-size: 20px;
    border-radius: 24px;
  }

  /* Bottom Navigation - Hide on Desktop */
  .bottom-nav {
    display: none;
  }
}

/* Tablet header fixes (avoid crowding/wrapping) */
@media (min-width: 768px) and (max-width: 1199px) {

  /* Keep the mobile header layout on tablet */
  .header-content {
    gap: 20px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .header-nav {
    display: none;
  }

  .menu-btn {
    display: flex;
    grid-column: 1;
    justify-self: start;
  }

  .logo {
    justify-content: center;
    grid-column: 2;
  }

  .header-actions {
    grid-column: 3;
    justify-self: end;
  }

  .profile-btn {
    display: none;
  }

  .download-app-btn,
  .notification-btn,
  .profile-btn {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
  .hero {
    padding: 80px 0 100px;
  }

  .hero-title {
    font-size: 48px;
  }

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

  .hero-content {
    gap: 60px;
  }

  .consultation-options {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .consultation-option {
    padding: 28px 24px;
  }

  .option-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .option-title {
    font-size: 18px;
  }

  .option-desc {
    font-size: 14px;
  }

  .btn-compact {
    padding: 12px 20px;
    font-size: 14px;
  }

  .lawyers-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }

  .lawyer-header {
    padding: 36px 36px 28px;
    gap: 28px;
  }

  .lawyer-image img {
    width: 130px;
    height: 130px;
  }

  .lawyer-name {
    font-size: 28px;
  }

  .lawyer-specialty {
    font-size: 19px;
  }

  .lawyer-details {
    padding: 28px 36px;
    gap: 28px;
  }

  .detail-item {
    font-size: 16px;
    min-width: 160px;
  }

  .lawyer-price {
    padding: 28px 36px;
  }

  .price-amount {
    font-size: 24px;
  }

  .lawyer-actions {
    padding: 28px 36px;
    gap: 14px;
  }

  .lawyer-actions .btn {
    padding: 16px 24px;
    font-size: 16px;
  }

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

  .specialties-scroll {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 28px;
  }

  .specialty-item {
    padding: 36px 28px;
  }

  .specialty-icon {
    width: 80px;
    height: 80px;
    font-size: 36px;
  }

  .specialty-label {
    font-size: 17px;
  }
}

/* Extra Large Desktop */
@media (min-width: 1440px) {
  .container {
    max-width: 1600px;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .lawyers-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .lawyer-header {
    padding: 40px 40px 32px;
    gap: 32px;
  }

  .lawyer-image img {
    width: 140px;
    height: 140px;
    border-radius: 24px;
  }

  .lawyer-name {
    font-size: 30px;
  }

  .lawyer-specialty {
    font-size: 20px;
  }

  .lawyer-details {
    padding: 32px 40px;
    gap: 32px;
  }

  .detail-item {
    font-size: 17px;
    min-width: 180px;
  }

  .lawyer-price {
    padding: 32px 40px;
  }

  .price-amount {
    font-size: 26px;
  }

  .lawyer-actions {
    padding: 32px 40px;
    gap: 16px;
  }

  .lawyer-actions .btn {
    padding: 18px 28px;
    font-size: 17px;
  }

  .stats-grid {
    max-width: 1400px;
    gap: 40px;
  }

  .stat-card {
    padding: 48px 40px;
  }

  .stat-icon {
    width: 100px;
    height: 100px;
    font-size: 40px;
  }

  .stat-number {
    font-size: 48px;
  }

  .specialties-scroll {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
  }
}

@media (max-width: 360px) {
  .download-app-btn {
    display: none;
  }

  .profile-btn {
    display: none;
  }

  .logo {
    font-size: 16px;
  }

  .hero-title {
    font-size: 16px;
  }

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

  .consultation-option {
    padding: 10px 8px;
  }

  .option-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .option-title {
    font-size: 11px;
  }

  .btn-compact {
    font-size: 10px;
    padding: 7px 10px;
  }

  .specialty-item {
    min-width: 75px;
    padding: 10px 8px;
  }

  .specialty-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .specialty-label {
    font-size: 10px;
  }

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

  .stats-grid {
    gap: 8px;
  }

  .stat-card {
    padding: 14px 10px;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .stat-number {
    font-size: 16px;
  }

  .stat-label {
    font-size: 10px;
  }

  .lawyer-actions {
    grid-template-columns: 1fr;
  }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

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

  100% {
    background-position: -200% 0;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background: var(--primary-light);
  color: white;
}

/* Focus Styles */
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Map Page Styles */
.custom-marker {
  background: transparent !important;
  border: none !important;
}

.lawyer-marker {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(45, 95, 122, 0.3);
  border: 3px solid var(--primary-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.lawyer-marker:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(45, 95, 122, 0.4);
}

.lawyer-marker i {
  color: var(--primary-color);
  font-size: 18px;
}

.lawyer-marker.online {
  border-color: var(--online-color);
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.4);
}

.lawyer-marker.online::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: var(--online-color);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--online-color);
}

.user-location-marker {
  position: relative;
}

.user-location-pulse {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px var(--primary-color);
  animation: pulse-location 2s ease-in-out infinite;
}

@keyframes pulse-location {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(45, 95, 122, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(45, 95, 122, 0.2);
  }
}

.leaflet-popup-content-wrapper {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 0;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0;
  padding: 16px;
  min-width: 200px;
}

.leaflet-popup-tip {
  background: white;
}

.leaflet-container a.leaflet-popup-close-button {
  color: var(--text-secondary);
  padding: 8px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* ========================================
   Footer Styles
   ======================================== */

.footer {
  background: linear-gradient(180deg, #1a2b3c 0%, #0f1a24 100%);
  color: #ffffff;
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  display: none;
  /* Hidden on mobile by default */
}

/* Compact footer variant (used in index.html) */
.footer.footer--compact {
  padding: 36px 0 18px;
  margin-top: 48px;
}

.footer.footer--compact .footer-app-download {
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.footer.footer--compact .app-download-card {
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 14px;
}

/* Make the app download area horizontal on desktop to reduce height */
@media (min-width: 768px) {
  .footer.footer--compact .app-download-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 16px;
    text-align: right;
  }

  .footer.footer--compact .app-download-text {
    align-items: flex-start;
    text-align: right;
  }

  .footer.footer--compact .app-download-buttons {
    justify-content: flex-start;
  }

  .footer.footer--compact .app-download-image img {
    max-height: 140px;
    animation: none;
  }
}

.footer.footer--compact .app-download-title {
  font-size: 18px;
  line-height: 1.25;
}

.footer.footer--compact .app-download-subtitle {
  font-size: 12px;
}

.footer.footer--compact .app-download-btn {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 10px;
}

.footer.footer--compact .app-description-title {
  font-size: 14px;
  margin-bottom: 6px;
}

.footer.footer--compact .app-description-text {
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.footer.footer--compact .footer-links-grid {
  gap: 28px;
  margin-bottom: 26px;
  padding-bottom: 22px;
}

.footer.footer--compact .footer-title {
  font-size: 14px;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.footer.footer--compact .footer-links {
  gap: 8px;
}

.footer.footer--compact .footer-links a {
  font-size: 13px;
}

.footer.footer--compact .footer-trust-section {
  margin-bottom: 22px;
  padding-bottom: 22px;
}

.footer.footer--compact .trust-badges {
  gap: 16px;
}

.footer.footer--compact .trust-badge {
  min-width: 240px;
  padding: 14px 16px;
  border-radius: 14px;
}

.footer.footer--compact .trust-badge-icon {
  width: 56px;
  height: 56px;
}

.footer.footer--compact .trust-badge-title {
  font-size: 14px;
  margin-bottom: 4px;
}

.footer.footer--compact .trust-badge-subtitle {
  margin-bottom: 6px;
}

.footer.footer--compact .footer-bottom {
  gap: 12px;
}

.footer.footer--compact .footer-copyright p {
  font-size: 12px;
}

.footer.footer--compact .social-link {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 16px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(91, 143, 168, 0.3) 50%,
      transparent 100%);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Mobile App Download Section */
.footer-app-download {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-download-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.app-download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.app-download-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  width: 100%;
}

.app-download-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.app-download-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

.app-download-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
  justify-content: center;
  width: 100%;
}

.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.app-download-btn.android {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.app-download-btn.android:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
  background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
}

.app-download-btn.ios {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.app-download-btn.ios:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.app-download-btn i {
  font-size: 16px;
}

.app-download-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  order: -1;
}

.app-download-image img {
  max-width: 100%;
  max-height: 200px;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
  animation: floatImage 3s ease-in-out infinite;
  object-fit: contain;
}

@keyframes floatImage {

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

  50% {
    transform: translateY(-8px);
  }
}

.app-download-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.app-description-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.app-description-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* Footer Links Grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

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

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

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

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.footer-links a::before {
  content: "";
  position: absolute;
  right: -12px;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-right: 12px;
}

.footer-links a:hover::before {
  width: 6px;
}

/* Trust Badges Section */
.footer-trust-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badges {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 24px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  min-width: 280px;
}

.trust-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(91, 143, 168, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.trust-badge-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.trust-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.trust-badge-icon.enamad {
  background: transparent;
  padding: 4px;
}

.trust-badge-icon.enamad img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.trust-badge-icon.samandehi {
  background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

.trust-badge-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

.trust-badge-icon.enamad::before {
  display: none;
}

@keyframes shimmer {

  0%,
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  50% {
    transform: translate(-50%, -50%) rotate(180deg);
  }
}

.trust-badge-info {
  flex: 1;
  min-width: 0;
}

.trust-badge-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.4;
}

.trust-badge-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  font-weight: 500;
}

.trust-badge-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}

.trust-badge-stars i {
  font-size: 12px;
  color: #ffb800;
}

.trust-badge-stars i.far {
  color: rgba(255, 184, 0, 0.3);
}

.trust-badge-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  flex: 1;
  min-width: 200px;
}

.footer-copyright p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-copyright strong {
  color: var(--primary-light);
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(91, 143, 168, 0.3);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 143, 168, 0.3);
}

.social-link:active {
  transform: translateY(0);
}

/* Tablet and Desktop - Show Footer */
@media (min-width: 768px) {
  .footer {
    display: block;
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .app-download-content {
    grid-template-columns: 1fr 1fr;
  }

  .app-download-title {
    font-size: 24px;
  }
}

/* Desktop - Enhanced Layout */
@media (min-width: 1200px) {
  .footer {
    padding: 60px 0 30px;
  }

  .footer-app-download {
    margin-bottom: 50px;
    padding-bottom: 40px;
  }

  .app-download-card {
    padding: 30px;
  }

  .app-download-title {
    font-size: 24px;
  }

  .app-download-subtitle {
    font-size: 14px;
  }

  .app-download-buttons {
    gap: 12px;
  }

  .app-download-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .app-description-title {
    font-size: 18px;
  }

  .app-description-text {
    font-size: 14px;
  }

  .footer-links-grid {
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 50px;
  }

  .footer-title {
    font-size: 17px;
    margin-bottom: 24px;
  }

  .footer-links a {
    font-size: 15px;
  }

  .trust-badges {
    gap: 40px;
  }

  .trust-badge {
    min-width: 320px;
    padding: 24px 28px;
  }

  .trust-badge-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }

  .trust-badge-title {
    font-size: 16px;
  }

  .trust-badge-subtitle {
    font-size: 13px;
  }
}

/* Large Desktop */
@media (min-width: 1440px) {
  .footer-content {
    max-width: 1400px;
  }

  .footer-links-grid {
    gap: 80px;
  }

  .app-download-content {
    gap: 30px;
  }

  .app-download-title {
    font-size: 26px;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1199px) {
  .app-download-content {
    gap: 20px;
  }

  .app-download-card {
    padding: 20px;
  }

  .app-download-title {
    font-size: 18px;
  }

  .app-download-subtitle {
    font-size: 12px;
  }

  .app-download-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .app-download-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 12px;
  }

  .app-download-image img {
    max-height: 150px;
  }
}

/* Language Selection Dialog */
.lang-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lang-dialog-overlay.active {
  display: flex;
  opacity: 1;
}

.lang-dialog {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lang-dialog-overlay.active .lang-dialog {
  transform: scale(1);
}

.lang-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(91, 143, 168, 0.1);
}

.lang-dialog-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.lang-dialog-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.lang-dialog-close:hover {
  background: var(--bg-color);
  color: var(--text-primary);
}

.lang-dialog-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-color);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: right;
  width: 100%;
  position: relative;
  gap: 12px;
}

.lang-option:hover {
  background: rgba(91, 143, 168, 0.08);
  border-color: rgba(91, 143, 168, 0.2);
  transform: translateX(-4px);
}

.lang-option.active {
  background: linear-gradient(135deg, rgba(91, 143, 168, 0.15) 0%, rgba(127, 184, 166, 0.1) 100%);
  border-color: var(--primary-color);
}

.lang-option-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
}

.lang-option-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.lang-option-name {
  font-size: 13px;
  color: var(--text-secondary);
}

.lang-option-check {
  color: var(--primary-color);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.lang-option.active .lang-option-check {
  opacity: 1;
}

/* ============================================
   About Page Styles
   ============================================ */

/* About Hero Section */
.about-hero {
  padding: 24px 0 40px;
  background: var(--bg-gradient);
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.about-hero-text {
  text-align: center;
  max-width: 100%;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(91, 143, 168, 0.15);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-badge i {
  font-size: 14px;
}

.about-hero-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0 0 16px;
}

.about-hero-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.about-hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mission & Vision Section */
.mission-vision-section {
  padding: 40px 0;
  background: var(--card-bg);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.mission-vision-card {
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(91, 143, 168, 0.1);
}

.mission-vision-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mission-vision-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-vision-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mission-vision-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.mission-vision-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 40px 0;
  background: var(--bg-gradient);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(91, 143, 168, 0.15);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-badge i {
  font-size: 14px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.why-choose-item {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(91, 143, 168, 0.1);
}

.why-choose-item:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}

.why-choose-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(91, 143, 168, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
}

.why-choose-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.why-choose-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Services Overview Section */
.services-overview-section {
  padding: 40px 0;
  background: var(--card-bg);
}

.services-overview-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.services-overview-content {
  width: 100%;
}

.services-overview-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 16px 0 32px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-color);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.service-list-item:hover {
  background: rgba(91, 143, 168, 0.05);
  transform: translateX(-4px);
}

.service-list-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(91, 143, 168, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
}

.service-list-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.service-list-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.services-overview-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.services-overview-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Features Section */
.features-section {
  padding: 40px 0;
  background: var(--bg-gradient);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(91, 143, 168, 0.1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-image {
  width: 100%;
  max-width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.feature-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* Contact CTA Section */
.contact-cta-section {
  padding: 40px 0;
  background: var(--card-bg);
}

.contact-cta-card {
  background: linear-gradient(135deg, rgba(91, 143, 168, 0.1) 0%, rgba(127, 184, 166, 0.1) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(91, 143, 168, 0.2);
}

.contact-cta-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.contact-cta-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 24px;
  max-width: 500px;
}

.contact-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.contact-cta-image {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

.contact-cta-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Desktop Styles for About Page */
@media (min-width: 768px) {
  .about-hero {
    padding: 48px 0 64px;
  }

  .about-hero-content {
    flex-direction: row;
    gap: 48px;
    align-items: center;
    text-align: right;
  }

  .about-hero-text {
    flex: 1;
    text-align: right;
  }

  .about-hero-title {
    font-size: 32px;
  }

  .about-hero-description {
    font-size: 16px;
    margin: 0;
  }

  .about-hero-image {
    flex: 1;
    max-width: 500px;
  }

  .mission-vision-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .mission-vision-card {
    padding: 32px;
  }

  .mission-vision-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 24px;
  }

  .mission-vision-title {
    font-size: 20px;
  }

  .mission-vision-description {
    font-size: 15px;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .why-choose-item {
    padding: 24px;
  }

  .services-overview-wrapper {
    flex-direction: row;
    gap: 64px;
    align-items: flex-start;
  }

  .services-overview-content {
    flex: 1;
  }

  .services-overview-image {
    flex: 1;
    max-width: 500px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .feature-card {
    padding: 32px;
  }

  .feature-image {
    max-width: 250px;
    height: 250px;
  }

  .contact-cta-card {
    flex-direction: row;
    padding: 48px;
    text-align: right;
    align-items: center;
  }

  .contact-cta-content {
    flex: 1;
  }

  .contact-cta-image {
    flex: 1;
    max-width: 350px;
  }

  .contact-cta-buttons {
    flex-direction: row;
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .about-hero-title {
    font-size: 40px;
  }

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

  .why-choose-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   Topics Page Styles
   ============================================ */

/* Topics Hero Section */
.topics-hero {
  padding: 24px 0 32px;
  background: var(--bg-gradient);
}

.topics-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.topics-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(91, 143, 168, 0.15);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.topics-badge i {
  font-size: 14px;
}

.topics-hero-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0 0 16px;
}

.topics-hero-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* Topics Search Section */
.topics-search-section {
  padding: 0 0 24px;
}

.topics-search-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.topics-search-bar {
  position: relative;
  width: 100%;
}

.topics-search-bar .search-icon {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 18px;
  pointer-events: none;
}

.topics-search-bar input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: var(--bg-color);
  border: 2px solid rgba(91, 143, 168, 0.2);
  border-radius: var(--radius-lg);
  font-size: 15px;
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: inherit;
  padding-right: 70px;
}

.topics-search-bar input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--card-bg);
  box-shadow: 0 0 0 4px rgba(91, 143, 168, 0.1);
}

.topics-search-bar input::placeholder {
  color: var(--text-light);
}

/* Topics Grid Section */
.topics-grid-section {
  padding: 24px 0 40px;
  background: var(--bg-gradient);
}

.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.topic-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(91, 143, 168, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 143, 168, 0.3);
}

.topic-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topic-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, rgba(91, 143, 168, 0.15) 0%, rgba(127, 184, 166, 0.15) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
}

.topic-info {
  flex: 1;
}

.topic-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.topic-lawyers-count {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.topic-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.topic-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-service-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg-color);
  color: var(--text-secondary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(91, 143, 168, 0.1);
}

.topic-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
}

.topic-link-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(91, 143, 168, 0.3);
}

.topic-link-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.topic-link-btn:hover i {
  transform: translateX(-4px);
}

/* No Results Message */
.topics-no-results {
  text-align: center;
  padding: 64px 24px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(91, 143, 168, 0.1);
}

.no-results-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 32px;
}

.no-results-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.no-results-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Desktop Styles for Topics Page */
@media (min-width: 768px) {
  .topics-hero {
    padding: 48px 0 56px;
  }

  .topics-hero-title {
    font-size: 32px;
  }

  .topics-hero-description {
    font-size: 16px;
  }

  .topics-search-section {
    padding: 0 0 32px;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .topic-card {
    padding: 24px;
  }

  .topic-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .topic-title {
    font-size: 20px;
  }

  .topic-description {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .topics-hero-title {
    font-size: 40px;
  }

  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .topic-card {
    padding: 28px;
  }
}

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

.vpd-wrapper {
  background-color: unset !important;
}