/* ============================================
   IL Phone Lookup - Modern Design System
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Primary Palette - Deep Teal (WCAG AA Compliant) */
  --primary-900: #0a2f3d;
  --primary-800: #0e4a5a;
  --primary-700: #127080;
  --primary-600: #168fa3;
  --primary-500: #1aa8bf;
  --primary: #1aa8bf;
  
  /* Accent - Warm Coral (WCAG AA Compliant) */
  --accent-500: #e85a4a;
  --accent-600: #d04a3a;
  --accent: #e85a4a;
  
  /* Neutrals - Darker values for better contrast */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #7c8a9a;  /* Darker for 4.5:1 on white */
  --gray-500: #4a5568;  /* Darker for better contrast */
  --gray-600: #374151;  /* Darker for body text */
  --gray-700: #1f2937;
  --gray-800: #111827;
  --gray-900: #030712;
  
  /* Status Colors (WCAG AA Compliant) */
  --success: #059669;  /* Darker green for better contrast */
  --success-bg: #d1fae5;
  --warning: #d97706;  /* Darker orange for better contrast */
  --danger: #dc2626;
  --info: #2563eb;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px rgb(32 189 208 / 0.15);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Typography Scale */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
}

/* ============================================
   Base Styles
   ============================================ */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px; /* Base font */
}

body {
  color: var(--gray-800);
  background: linear-gradient(135deg, var(--gray-50) 0%, #e8f4f8 50%, var(--gray-100) 100%);
  background-attachment: fixed;
  font-family: 'Heebo', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

body.he {
  text-align: right;
  direction: rtl;
}

/* Hebrew-optimized font */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&display=swap');

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: var(--text-2xl);
  color: var(--gray-800);
}

h3 {
  font-size: var(--text-xl);
  color: var(--gray-700);
}

p {
  color: var(--gray-700);  /* Darker for better contrast - 10:1 on white */
  margin-bottom: 1rem;
  line-height: 1.7;
}

a {
  color: var(--primary-700);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-500);
}

/* ============================================
   Layout & Container
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

main#main-content {
  padding-top: 30px;
  padding-bottom: 60px;
  min-height: calc(100vh - 200px);
}

/* ============================================
   Site Header
   ============================================ */
.site-header {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  padding: 16px 0;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.site-logo:hover {
  color: var(--primary-500);
  transform: scale(1.02);
}

.site-logo i {
  font-size: 1.4em;
  color: var(--primary-500);
}

/* ============================================
   Cards & Panels
   ============================================ */
.panel, .box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  margin-bottom: 24px;
}

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

.panel.box {
  margin-bottom: 32px;
}

.panel-heading {
  background: linear-gradient(135deg, var(--gray-50) 0%, #fff 100%);
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.panel-heading h2,
.panel-heading h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-heading h2 i,
.panel-heading h3 i {
  color: var(--primary);
  font-size: 1.2em;
}

.panel-body {
  padding: 24px;
  overflow: hidden;
  width: 100%;
}

/* Hero Section */
.text-center.box {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 50%, var(--primary-600) 100%);
  color: #fff;
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.text-center.box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.text-center.box h1 {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  font-size: var(--text-3xl);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

/* ============================================
   Search Box - Modern Floating Card Design
   ============================================ */
.search-box {
  width: 100%;
  max-width: 800px;
  margin: -40px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 20;
}

.search-box .form-group {
  display: flex;
  background: #fff;
  border-radius: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
}

.search-box .form-group:focus-within {
  box-shadow: 0 15px 50px rgba(32, 189, 208, 0.2), 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-200);
  transform: translateY(-3px);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 20px 28px;
  font-size: var(--text-lg);
  color: var(--gray-800);
  box-shadow: none;
  direction: rtl;
  min-width: 0;
}

.search-box input:focus {
  outline: none;
  box-shadow: none;
}

.search-box input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

.search-box button[type="submit"] {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  border: none;
  color: #fff;
  padding: 18px 40px;
  font-size: var(--text-lg);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  min-width: 140px;
  justify-content: center;
  flex-shrink: 0;
}

.search-box button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(32, 189, 208, 0.5);
}

.search-box button[type="submit"]:active {
  transform: scale(0.98);
}

.search-box button[type="submit"] i {
  font-size: 1.1em;
}

/* Mobile Search Box */
@media (max-width: 640px) {
  .search-box {
    margin: -30px auto 30px;
  }
  
  .search-box .form-group {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 12px;
  }
  
  .search-box input {
    padding: 16px 20px;
    font-size: var(--text-base);
    text-align: center;
    width: 100%;
  }
  
  .search-box button[type="submit"] {
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius);
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(32, 189, 208, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(32, 189, 208, 0.4);
  color: #fff;
}

.btn-default {
  background: #fff;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-default:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  color: var(--gray-800);
}

/* Phone Pagination Navigation */
.phone-pagination {
  margin: 30px 0;
}

.pagination-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px; /* WCAG touch target minimum */
  min-width: 48px;
  padding: 12px 24px;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--gray-700);
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
  background: var(--gray-50);
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.btn-nav:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-nav i {
  font-size: 1rem;
}

/* RTL adjustments for pagination */
.he .btn-prev {
  order: 2; /* In RTL, "previous" appears on the right */
}

.he .btn-next {
  order: 1; /* In RTL, "next" appears on the left */
}

.btn-info {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
  color: #fff;
  border: none;
}

.btn-info:hover {
  transform: translateY(-1px);
  color: #fff;
}

.btn-lg {
  padding: 14px 28px;
  font-size: var(--text-base);
}

.btn-block {
  width: 100%;
  margin-bottom: 12px;
}

/* ============================================
   Labels & Badges
   ============================================ */
.label {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.label-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

.label-warning {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 100%);
  color: #fff;
}

.label-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.call-type-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  color: var(--gray-700);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
}

/* ============================================
   Phone Lists
   ============================================ */
.phone-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.phone-list li {
  float: none;
  margin: 0;
}

.phone-list li a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.phone-list li a:hover {
  background: var(--primary-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ============================================
   User Reviews
   ============================================ */
.user-review {
  background: linear-gradient(135deg, #fff 0%, var(--gray-50) 100%);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  border-right: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.user-review:hover {
  box-shadow: var(--shadow);
}

.user-review header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.user-review header strong {
  color: var(--gray-800);
  font-weight: 600;
  font-size: var(--text-lg);
}

.user-review .review-date {
  font-size: var(--text-sm);
  color: var(--gray-700);  /* Darker for better contrast */
  background: var(--gray-100);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.user-review p {
  margin: 0;
  color: var(--gray-700);  /* Darker for better contrast */
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ============================================
   Comment Cards (Homepage)
   ============================================ */
.list-group {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.list-group:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-500);
}

.list-group-item-heading {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.list-group-item-heading a {
  color: var(--primary-700);
  font-weight: 700;
}

.list-group-item-text {
  color: var(--gray-600);
  font-size: var(--text-sm);
  margin-bottom: 6px;
}

.list-group-item-text.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  padding: 14px 24px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  direction: rtl;
  font-size: var(--text-base);
}

.breadcrumb-item {
  list-style: none;
  white-space: nowrap;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 12px;
  color: var(--gray-500);  /* Darker separator */
  font-weight: 400;
}

.breadcrumb-item a {
  color: var(--primary-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-item a:hover {
  color: var(--primary-600);
}

.breadcrumb-item.active {
  color: var(--gray-700);  /* Darker for better contrast */
  font-weight: 500;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.accordion {
  margin: 20px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.accordion .card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* FAQ Panel */
.panel.box.my-5 {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.accordion .card:hover {
  border-color: var(--primary-500);
}

.card-header {
  background: var(--gray-50);
  padding: 0;
  border-bottom: none;
}

.faq-heading {
  font-size: var(--text-base);
  margin: 0;
}

.faq-heading .btn-link {
  display: block;
  width: 100%;
  padding: 16px 20px;
  text-align: right;
  color: var(--gray-800);
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-heading .btn-link:hover {
  color: var(--primary);
  background: rgba(32, 189, 208, 0.05);
}

.card-body {
  padding: 20px;
  background: #fff;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   Progress Bars (Spam Meter)
   ============================================ */
.progress {
  height: 40px;
  background: var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: #fff;
  padding: 0 16px;
}

.progress-bar-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.progress-bar-warning {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 100%);
}

/* ============================================
   Forms
   ============================================ */
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--text-base);
  color: var(--gray-800);
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(32, 189, 208, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
}

.input-group {
  display: flex;
  gap: 0;
}

.input-group {
  display: flex;
  flex-direction: row;
}

.input-group .form-control {
  border-radius: var(--radius) 0 0 var(--radius);
  border-left: 2px solid var(--gray-200);
  border-right: none;
  order: 1;
}

.input-group-addon {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray-600);
  font-weight: 500;
  white-space: nowrap;
  order: 2;
}

/* RTL: Swap visual order - addon on right, input on left */
.he .input-group {
  flex-direction: row-reverse;
}

.he .input-group .form-control {
  border-radius: 0 var(--radius) var(--radius) 0;
  border-right: 2px solid var(--gray-200);
  border-left: none;
  order: 2;
}

.he .input-group-addon {
  border-radius: var(--radius) 0 0 var(--radius);
  border-left: 2px solid var(--gray-200);
  border-right: none;
  order: 1;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-900) 50%, var(--gray-800) 100%);
  padding: 60px 0 30px;
  margin-top: 60px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-logo:hover {
  color: var(--primary-500);
}

.footer-logo i {
  font-size: 1.4em;
  color: var(--primary-500);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.85);  /* Brighter for better contrast */
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 300px;
  margin: 0;
}

.footer-nav-title {
  color: #fff;
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 16px;
}

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

.footer-links li a {
  color: rgba(255, 255, 255, 0.9);  /* Brighter for better contrast */
  font-size: var(--text-base);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--primary-500);
  transform: translateX(-4px);
}

.he .footer-links li a:hover {
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.75);  /* Brighter for better contrast */
  font-size: var(--text-base);
  margin: 0;
}

/* Legacy footer support */
footer.container-fluid.text-center.foot {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-900) 50%, var(--gray-800) 100%);
  padding: 40px 0 30px;
  margin-top: 60px;
  border-top: none;
}

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

.footer .link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  margin: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  font-size: var(--text-sm);
}

.footer .link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: #fff;
}

.white-txt {
  color: rgba(255, 255, 255, 0.9);
}

.white-txt.small {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
  
  .footer-desc {
    max-width: none;
  }
  
  .footer-links {
    align-items: center;
  }
  
  .footer-links li a:hover {
    transform: none;
  }
}

/* ============================================
   Related Phones Section
   ============================================ */
.related-phones {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px solid var(--gray-200);
}

.related-phones h3 {
  margin-bottom: 20px;
  color: var(--gray-700);
}

/* ============================================
   Phone Details Section
   ============================================ */
.phone-details-section .panel-heading h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.phone-number-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
}

.phone-number-display i {
  color: var(--primary-600);
}

.phone-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.info-item:hover {
  background: #fff;
  box-shadow: var(--shadow);
}

.info-item.kosher {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  color: #fff;
  font-size: 20px;
}

.info-item.kosher .info-icon {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: var(--text-sm);
  color: var(--gray-600);  /* Darker for better contrast - 7:1 on white */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.info-value {
  font-size: var(--text-lg);  /* Larger for better readability */
  color: var(--gray-800);
  font-weight: 500;
  line-height: 1.5;
}

.info-value small {
  display: block;
  margin-top: 6px;
  font-size: var(--text-sm);
  color: var(--gray-600);  /* Darker for better contrast */
  font-weight: 400;
  line-height: 1.5;
}

.badge-type {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
}

.badge-type.landline {
  background: rgba(30, 64, 175, 0.15);
  color: #1e3a8a; /* Darker blue for WCAG AA contrast */
}

.badge-type.mobile {
  background: rgba(109, 40, 217, 0.15);
  color: #5b21b6; /* Darker purple for WCAG AA contrast */
}

/* Phone Formats */
.phone-formats {
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}

.phone-formats h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.phone-formats h3 i {
  color: var(--primary);
}

.formats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.format-link {
  display: inline-block;
  padding: 8px 16px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius);
  font-weight: 500;
  font-family: monospace;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.format-link:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
   Sections
   ============================================ */
section.recent-comments,
section.recent-searches,
section.phone-directory,
section.feedback-list {
  margin-top: 40px;
}

section h2 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  margin-bottom: 20px;
}

.hero-box {
  padding: 60px 40px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary-700) 0%, var(--primary) 50%, var(--primary-600) 100%);
  box-shadow: var(--shadow-lg);
}

.hero-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: #fff;
  font-size: var(--text-4xl);
  font-weight: 700;
  margin: 0 0 16px 0;
  text-align: center;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.6;
}

/* ============================================
   Search Section
   ============================================ */
.search-section {
  margin: -30px auto 40px;
  position: relative;
  z-index: 10;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: none;
  padding-bottom: 0;
}

.section-header h2 i {
  color: var(--primary);
}

.section-desc {
  color: var(--gray-600);  /* Darker for better contrast */
  margin-top: 8px;
  font-size: var(--text-base);
}

/* ============================================
   Comments Grid - see Home Page Comment Cards section for main styles
   ============================================ */
.comment-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--gray-50) 0%, #fff 100%);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-header .phone-number {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--primary-700);
  direction: ltr;
  text-align: left;
}

.comment-header .phone-number:hover {
  color: var(--primary-500);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  width: fit-content;
}

.status-badge.legit {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
  color: #059669;
}

.status-badge.spam {
  background: linear-gradient(135deg, rgba(255, 107, 91, 0.15) 0%, rgba(255, 107, 91, 0.1) 100%);
  color: var(--accent-600);
}

.comment-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-author {
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
  font-size: var(--text-base);
}

.comment-type {
  font-size: var(--text-sm);
  color: var(--gray-700);  /* Darker for better contrast */
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  width: fit-content;
  font-weight: 500;
}

.comment-text {
  color: var(--gray-700);  /* Darker for better contrast */
  font-size: var(--text-base);
  margin: 0;
  flex: 1;
  line-height: 1.6;
}

/* ============================================
   Verified Name
   ============================================ */
.verified-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--success);
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius);
}

.verified-name::before {
  content: '✓';
  font-weight: bold;
}

/* ============================================
   External Links
   ============================================ */
.list-group-item {
  display: block;
  padding: 16px 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

.list-group-item:hover {
  background: #fff;
  border-color: var(--primary);
  transform: translateX(-4px);
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px 0;
}

.pagination .btn {
  min-width: 140px;
}

/* ============================================
   Accessibility
   ============================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  top: 20px;
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus {
  position: absolute;
  width: auto;
  height: auto;
  padding: 12px 24px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ============================================
   Alerts
   ============================================ */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 500;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   Error Pages (404, No Results)
   ============================================ */
.error-page {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.error-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(32, 189, 208, 0.3);
}

.error-icon.warning {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 100%);
  box-shadow: 0 20px 40px rgba(255, 107, 91, 0.3);
}

.error-icon i {
  font-size: 48px;
  color: #fff;
}

.error-page h1 {
  font-size: var(--text-5xl);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-message {
  font-size: var(--text-xl);
  color: var(--gray-600);
  margin-bottom: 8px;
}

.error-path {
  font-size: var(--text-sm);
  color: var(--gray-400);
  font-family: monospace;
  background: var(--gray-100);
  padding: 8px 16px;
  border-radius: var(--radius);
  display: inline-block;
  margin-bottom: 30px;
}

.error-search {
  margin: 40px 0;
}

.error-search > p {
  margin-bottom: 20px;
  color: var(--gray-600);
}

.error-suggestions {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin: 30px 0;
  text-align: right;
}

.error-suggestions h3 {
  margin-bottom: 16px;
  color: var(--gray-700);
}

.error-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.error-suggestions li {
  padding: 8px 0;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 12px;
}

.error-suggestions li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* ============================================
   Content & Legal Pages
   ============================================ */
.content-page {
  max-width: 900px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 30px;
}

.page-header h1 {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-header h1 i {
  color: var(--primary);
}

.legal-page .panel-body {
  padding: 40px;
}

.legal-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  color: var(--gray-800);
  font-size: var(--text-xl);
  margin-bottom: 16px;
}

.legal-section p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.legal-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: var(--text-base);
  line-height: 1.7;
}

.legal-list li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2em;
}

.he .legal-list li {
  padding: 12px 28px 12px 0;
}

.he .legal-list li::before {
  right: 0;
  left: auto;
}

.legal-list li:last-child {
  border-bottom: none;
}

.content-section {
  margin-bottom: 30px;
}

.content-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.content-section h2 i {
  color: var(--primary);
}

.intro-text {
  background: linear-gradient(135deg, var(--gray-50) 0%, #fff 100%);
  padding: 24px;
  border-radius: var(--radius);
  border-right: 4px solid var(--primary);
  margin-bottom: 30px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* Removal Form Panel */
.removal-form-panel {
  max-width: 600px;
}

.removal-form .form-help {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: var(--text-base);
}

/* ============================================
   Phone Detail Page Sections
   ============================================ */
.box .panel-heading h2,
.box .panel-heading h3 {
  font-size: var(--text-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.box .panel-heading h2 i,
.box .panel-heading h3 i {
  color: var(--primary);
}

/* Spam Meter */
.progress {
  height: 50px;
  background: var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}

.progress .progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  padding: 0 20px;
  text-align: center;
  line-height: 1.4;
}

.progress-bar-success {
  background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
}

.progress-bar-warning {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 100%);
}

.progress-bar-danger {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.progress-bar-info {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

/* Stats List */
.box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.box ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: var(--text-base);
  line-height: 1.5;
}

.box ul li:last-child {
  border-bottom: none;
}

.box ul li strong {
  color: var(--primary-700);
  font-weight: 700;
}

/* Two Column Layout Fix */
.panel-body > .row > .col-xs-12.col-sm-6 {
  width: 50%;
  float: right; /* RTL */
}

@media (max-width: 767px) {
  .panel-body > .row > .col-xs-12.col-sm-6 {
    width: 100%;
    float: none;
  }
}

.col-xs-12.col-sm-6 > .box {
  height: 100%;
  margin-bottom: 24px;
}

/* Nested box fix */
.box .box,
.panel .box {
  box-shadow: none;
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

.box .box:last-child,
.panel .box:last-child {
  margin-bottom: 0;
}

/* Row clearfix for Bootstrap grid */
.row::after {
  content: "";
  display: table;
  clear: both;
}

/* Form Improvements */
.form-horizontal .form-group {
  margin-bottom: 20px;
}

.form-horizontal .input-group {
  display: flex;
  width: 100%;
}

.form-horizontal .input-group .form-control {
  flex: 1;
  font-size: var(--text-base);
  padding: 14px 16px;
}

.form-horizontal .input-group-addon {
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-700);
}

.form-horizontal textarea.form-control {
  min-height: 140px;
  font-size: var(--text-base);
  line-height: 1.6;
}

.form-horizontal label.control-label {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 10px;
  display: block;
}

/* Select dropdown */
.form-horizontal select.form-control {
  font-size: var(--text-base);
  padding: 14px 16px;
  height: auto;
}

/* No Data Message */
.box .panel-body b {
  font-size: var(--text-lg);
  color: var(--primary-700);
  display: block;
  margin-bottom: 16px;
}

/* Site Header Logo */
.logo-icon {
  font-size: 1.5em;
}

/* ============================================
   Feedback/Comments Grid
   ============================================ */
.feedback-list .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 -10px;
}

.feedback-list .row > article {
  flex: 0 0 calc(50% - 20px);
  max-width: calc(50% - 20px);
  padding: 0;
}

@media (min-width: 992px) {
  .feedback-list .row > article {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
}

@media (max-width: 767px) {
  .feedback-list .row > article {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.feedback-list .list-group {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 0;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.feedback-list .list-group:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
  transform: translateY(-2px);
}

.feedback-list .list-group-item-heading {
  margin: 0 0 12px 0;
  font-size: var(--text-lg);
}

.feedback-list .list-group-item-heading a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.feedback-list .list-group-item-heading a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.feedback-list .list-group-item-text {
  margin: 0 0 8px 0;
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.5;
}

.feedback-list .list-group-item-text:last-child {
  margin-bottom: 0;
  flex: 1;
}

.feedback-list .list-group-item-text.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Call type badges */
.feedback-list .call-type-badge,
.list-group .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: 10px;
}

.badge-spam {
  background: linear-gradient(135deg, var(--error) 0%, #b91c1c 100%);
  color: #fff;
}

.badge-legit {
  background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
  color: #fff;
}

/* ============================================
   Home Page Comment Cards
   ============================================ */
.recent-comments .section-header {
  text-align: center;
  margin-bottom: 30px;
}

.recent-comments .section-header h2 {
  font-size: var(--text-2xl);
  color: var(--gray-800);
  margin-bottom: 10px;
}

.recent-comments .section-desc {
  color: var(--gray-600);
  font-size: var(--text-base);
}

.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
  gap: 24px;
  margin: 0;
  justify-content: center;
}

.comments-grid > article {
  width: 100%;
}

/* Grid handles responsiveness automatically with auto-fill */

.comment-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.comment-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
  transform: translateY(-2px);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.comment-header .phone-number {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.comment-header .phone-number:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
}

.status-badge.spam {
  background: linear-gradient(135deg, var(--error) 0%, #b91c1c 100%);
  color: #fff;
}

.status-badge.legit {
  background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
  color: #fff;
}

.comment-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comment-author {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
  font-size: var(--text-base);
}

.comment-type {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gray-100);
  border-radius: 12px;
  font-size: var(--text-xs);
  color: var(--gray-600);
  margin-bottom: 12px;
}

.comment-text {
  color: var(--gray-600);
  font-size: var(--text-sm);
  line-height: 1.5;
  flex: 1;
}

.comment-text.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* ============================================
   Recent Phones Grid
   ============================================ */
.recent-searches {
  padding: 40px 0;
}

.recent-phones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.recent-phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all 0.2s ease;
  direction: ltr;
}

.recent-phone-chip:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
  color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.recent-phone-chip i {
  color: var(--primary-500);
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
  padding: 60px 30px;
  background: linear-gradient(145deg, var(--primary-700) 0%, var(--primary) 50%, var(--primary-600) 100%);
  border-radius: var(--radius-xl);
  margin: 40px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 28px;
  color: #fff;
}

.feature-card h3 {
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 12px 0;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-base);
  line-height: 1.6;
  margin: 0;
}

/* Button Outline Style */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--primary-500);
  color: var(--primary-600);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--primary-500);
  color: #fff;
}

/* ============================================
   RTL Specific Overrides
   ============================================ */
.he ul {
  padding-right: 0;
  padding-left: 0;
}

.he .user-review {
  border-right: 4px solid var(--primary);
  border-left: none;
}

.he .list-group-item:hover {
  transform: translateX(4px);
}

.he .panel-body,
.he input,
.he textarea {
  direction: rtl;
}

.he .list-group li a,
.he .phone-list li a {
  direction: ltr;
}

.he .area-code-section small.pull-right {
  float: left !important;
}

.he .removal-form {
  text-align: right;
  margin-left: auto;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.panel.box,
.list-group,
.user-review {
  animation: fadeInUp 0.5s ease-out;
}

/* Staggered animation for list items */
.phone-list li:nth-child(1) { animation-delay: 0.05s; }
.phone-list li:nth-child(2) { animation-delay: 0.1s; }
.phone-list li:nth-child(3) { animation-delay: 0.15s; }
.phone-list li:nth-child(4) { animation-delay: 0.2s; }
.phone-list li:nth-child(5) { animation-delay: 0.25s; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  h1 {
    font-size: var(--text-2xl);
  }
  
  h2 {
    font-size: var(--text-xl);
  }
  
  .text-center.box {
    padding: 32px 20px;
  }
  
  .text-center.box h1 {
    font-size: var(--text-2xl);
  }
  
  .search-box input {
    font-size: var(--text-base);
    padding: 14px 20px;
  }
  
  .search-box button[type="submit"] {
    width: 100%;
  }
  
  .panel-body {
    padding: 16px;
  }
  
  .footer {
    flex-direction: column;
    text-align: center;
  }
  
  .pagination {
    flex-direction: column;
    gap: 16px;
  }
  
  .pagination .btn {
    width: 100%;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.m-b-20 { margin-bottom: 20px; }
.m-t-20 { margin-top: 20px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }

.row.equal {
  display: flex;
  flex-wrap: wrap;
}

.flex-1 { flex: 1; }
.ltr { direction: ltr; }
.rtl { direction: rtl; }
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Title styling */
.title-type {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--gray-700);
  margin-bottom: 8px;
}

.text-type {
  color: var(--gray-600);
}

/* Removal Form */
.removal-form {
  max-width: 600px;
  margin-top: 50px;
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* AdSense - reserve space to prevent CLS (use ID selectors - AdSense strips class-based min-height) */
#ad-slot-2586405431,
#ad-slot-8525900628,
#ad-slot-9483759078,
#ad-slot-article-cta,
#ad-slot-article-side {
  min-height: 250px;
}
#ad-slot-8525900628,
#ad-slot-9483759078 {
  margin-block: 20px;
}
@media (min-width: 768px) {
  #ad-slot-2586405431,
  #ad-slot-8525900628,
  #ad-slot-9483759078,
  #ad-slot-article-cta {
    min-height: 280px;
  }
}
.ad-label {
  font-size: 11px;
  color: #6b6c75;
  margin-bottom: 4px;
}

.adsbygoogle {
  display: block;
  background: transparent;
}

/* Map box */
.map-box {
  min-height: 370px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Country icons */
.isr-icon, .au-icon, .in-icon, .ca-icon, .br-icon, .uk-icon, .ru-icon {
  background-size: 25px 20px;
  background-repeat: no-repeat;
  padding-left: 35px;
}
.isr-icon { background-image: url(/static/country/svg/il.svg); }
.au-icon { background-image: url(/static/country/svg/au.svg); }
.in-icon { background-image: url(/static/country/svg/in.svg); }
.ca-icon { background-image: url(/static/country/svg/ca.svg); }
.br-icon { background-image: url(/static/country/svg/br.svg); }
.uk-icon { background-image: url(/static/country/svg/gb.svg); }
.ru-icon { background-image: url(/static/country/svg/ru.svg); }

