  :root {
      --primary: #6c2bd9;
      --primary-2: #7c3aed;
      --primary-soft: #f3eafe;
      --primary-soft-2: #ede4fb;
      --ink: #0f1222;
      --muted: #6b7280;
      --line: #ececf1;
      --bg: #f7f7fb;

      --green: #10b981;
      --blue: #3b82f6;
      --pink: #ec4899;
      --teal: #14b8a6;
      --amber: #f59e0b;
    }

    * { -webkit-tap-highlight-color: transparent; }

    html, body {
      margin: 0;
      padding: 0;
      font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
      background: #e9ecf3;
      color: var(--ink);
    }

    /* Phone frame */
    .app-shell {
      max-width: 420px;
      margin: 0 auto;
      min-height: 100vh;
      background: #ffffff;
      position: relative;
      overflow: hidden;
      box-shadow: 0 25px 60px rgba(20, 20, 60, 0.12);
    }

    /* Status bar */
    .status-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 22px 6px;
      font-weight: 700;
      font-size: 15px;
    }
    .status-bar .right-icons { display: flex; gap: 6px; font-size: 12px; }
    .status-bar i { color: #111; }

    /* Header */
    .page-header {
      padding: 6px 22px 4px;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }
    .page-header h1 {
      font-size: 28px;
      font-weight: 800;
      margin: 0 0 6px;
      letter-spacing: -0.5px;
    }
    .page-header p {
      font-size: 12px;
      color: var(--muted);
      margin: 0;
      line-height: 1.45;
      max-width: 280px;
    }
    .bell-wrap {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      cursor: pointer;
      transition: transform 0.2s;
    }
    .bell-wrap:hover { transform: scale(1.08); }
    .bell-wrap i { font-size: 22px; color: #111; }
    .bell-dot {
      position: absolute;
      top: 6px;
      right: 8px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #ef4444;
      border: 2px solid #fff;
      animation: pulse 1.6s infinite;
    }
    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.25); opacity: 0.7; }
    }

    /* Segment toggle */
    .segment {
      margin: 18px 18px 14px;
      background: #fafafd;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 5px;
      display: flex;
      position: relative;
    }
    .segment .seg-btn {
      flex: 1;
      border: 0;
      background: transparent;
      padding: 12px 8px;
      border-radius: 999px;
      font-weight: 600;
      font-size: 12px;
      color: #4b5563;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      transition: color 0.25s;
      z-index: 1;
    }
    .segment .seg-btn.active { color: var(--primary); }
    .segment .seg-indicator {
      position: absolute;
      top: 5px;
      bottom: 5px;
      width: calc(50% - 5px);
      background: var(--primary-soft);
      border-radius: 999px;
      transition: transform 0.35s cubic-bezier(.7,.2,.2,1);
    }
    .segment[data-active="institutions"] .seg-indicator { transform: translateX(100%); }
    .segment[data-active="consultants"] .seg-indicator { transform: translateX(0%); }

    /* Search */
    .search-row {
      display: flex;
      gap: 10px;
      padding: 0 18px;
      align-items: center;
    }
    .search-input {
      flex: 1;
      position: relative;
    }
    .search-input input {
      width: 100%;
      border: 1px solid var(--line);
      background: #fafafd;
      border-radius: 999px;
      padding: 14px 18px 14px 46px;
      font-size: 12px;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .search-input input::placeholder { color: #9ca3af; }
    .search-input input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(108, 43, 217, 0.10);
    }
    .search-input i {
      position: absolute;
      left: 18px;
      top: 50%;
      transform: translateY(-50%);
      color: #9ca3af;
    }
    .filter-btn {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      border: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 8px 18px rgba(108, 43, 217, 0.35);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .filter-btn:hover { transform: scale(1.05); box-shadow: 0 12px 22px rgba(108, 43, 217, 0.45); }
    .filter-btn:active { transform: scale(0.95); }

    /* Category pills */
    .cat-scroll {
      display: flex;
      gap: 10px;
      padding: 16px 18px 4px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .cat-scroll::-webkit-scrollbar { display: none; }
    .cat-pill {
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 999px;
      padding: 10px 18px;
      font-size: 12px;
      font-weight: 600;
      color: #1f2937;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      transition: all 0.25s ease;
    }
    .cat-pill:hover { transform: translateY(-2px); border-color: #d1d5db; }
    .cat-pill.active {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
      box-shadow: 0 8px 16px rgba(108, 43, 217, 0.3);
    }
    .cat-pill.active i { color: #fff !important; }
    .cat-pill .ic-uni { color: var(--blue); }
    .cat-pill .ic-col { color: #1d4ed8; }
    .cat-pill .ic-online { color: #ef4444; }
    .cat-pill .ic-sch { color: #ef4444; }
    .cat-pill .ic-coach { color: var(--amber); }

    /* Banner */
    .banner {
      margin: 16px 18px 14px;
      border-radius: 18px;
      padding: 16px 16px 16px 14px;
      background: linear-gradient(180deg, #f1e7ff 0%, #e5d4ff 100%);
      display: flex;
      align-items: center;
      gap: 12px;
      position: relative;
      overflow: hidden;
      animation: floatIn 0.6s ease both;
    }
    @keyframes floatIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .banner-illu {
      width: 78px;
      height: 78px;
      border-radius: 14px;
      background: #fff7e6;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: inset 0 -10px 0 #e7f2ff;
    }
    .banner-illu i { font-size: 38px; color: #b88a3d; }
    .banner-text { flex: 1; min-width: 0; }
    .banner-text h4 {
      color: var(--primary);
      font-size: 12px;
      font-weight: 800;
      margin: 0 0 4px;
      line-height: 1.25;
    }
    .banner-text p {
      font-size: 11.5px;
      color: #5b4877;
      margin: 0;
      line-height: 1.45;
    }
    .explore-btn {
      background: var(--primary);
      color: #fff;
      border: 0;
      border-radius: 999px;
      padding: 10px 14px;
      font-size: 12px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 8px 18px rgba(108, 43, 217, 0.4);
      cursor: pointer;
      transition: transform 0.2s;
      white-space: nowrap;
    }
    .explore-btn:hover { transform: translateX(2px); }

    /* Sort / Category / Location row */
    .sort-row {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 18px 14px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .sort-row::-webkit-scrollbar { display: none; }
    .chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      font-size: 11px;
      font-weight: 600;
      color: #374151;
      background: #fff;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.2s;
    }
    .chip:hover { border-color: var(--primary); color: var(--primary); }
    .chip i.fa-chevron-down { font-size: 10px; color: #9ca3af; }
    .reset-btn {
      margin-left: auto;
      background: transparent;
      border: 0;
      color: var(--primary);
      font-weight: 700;
      font-size: 12px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      white-space: nowrap;
    }
    .reset-btn:hover i { transform: rotate(-90deg); }
    .reset-btn i { transition: transform 0.4s; }

    /* Institution cards */
    .cards { padding: 0 14px 110px; display: flex; flex-direction: column; gap: 14px; }
    .inst-card {
      background: #fff;
      border: 1px solid #f0f0f5;
      border-radius: 18px;
      padding: 12px;
      display: grid;
      grid-template-columns: 110px 1fr;
      gap: 12px;
      box-shadow: 0 3px 14px rgba(20, 20, 50, 0.04);
      transition: transform 0.3s, box-shadow 0.3s;
      animation: cardIn 0.5s ease both;
    }
    .inst-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 20, 50, 0.08); }
    @keyframes cardIn {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .inst-card:nth-child(1) { animation-delay: 0.05s; }
    .inst-card:nth-child(2) { animation-delay: 0.12s; }
    .inst-card:nth-child(3) { animation-delay: 0.19s; }
    .inst-card:nth-child(4) { animation-delay: 0.26s; }
    .inst-card:nth-child(5) { animation-delay: 0.33s; }

    .inst-image {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      aspect-ratio: 1 / 1.05;
      background: #eee;
    }
    .inst-image img { width: 100%; height: 100%; object-fit: cover; }
    .img-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      padding: 4px 10px;
      border-radius: 8px;
      font-size: 11px;
      font-weight: 700;
      color: #fff;
      backdrop-filter: blur(6px);
    }
    .bg-featured { background: var(--green); }
    .bg-popular { background: var(--blue); }
    .bg-new { background: var(--pink); }
    .bg-scholarship { background: #a855f7; }
    .bg-online { background: var(--teal); }

    .inst-body {
      position: relative;
      display: flex;
      flex-direction: column;
      min-width: 0;
    }
    .inst-top {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }
    .logo-circle {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #fff;
      border: 1px solid #ececf1;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      overflow: hidden;
    }
    .logo-circle img { width: 70%; height: 70%; object-fit: contain; }
    .inst-name-wrap { flex: 1; min-width: 0; }
    .inst-name {
      font-size: 12px;
      font-weight: 800;
      color: #111;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 6px;
      line-height: 1.2;
    }
    .verified { color: var(--primary); font-size: 12px; }
    .inst-loc {
      font-size: 11.5px;
      color: var(--muted);
      margin-top: 4px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .inst-loc i { color: var(--primary); }
    .heart-btn {
      width: 28px;
      height: 28px;
      border: 0;
      background: transparent;
      cursor: pointer;
      color: #c8c5d6;
      font-size: 18px;
      transition: transform 0.2s, color 0.2s;
      flex-shrink: 0;
    }
    .heart-btn:hover { color: #ef4444; transform: scale(1.15); }
    .heart-btn.active { color: #ef4444; }
    .heart-btn.active i::before { content: "f004"; font-weight: 900; }

    .rating-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 6px;
      font-size: 12px;
      font-weight: 600;
    }
    .rating-row .star { color: #fbbf24; }
    .rating-row .divider { color: #d1d5db; }
    .rating-row .reviews { color: var(--muted); font-weight: 500; }

    .tag-row {
      display: flex;
      gap: 6px;
      margin-top: 8px;
      flex-wrap: wrap;
    }
    .tag {
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 10.5px;
      font-weight: 600;
      background: #eef2ff;
      color: #4f46e5;
    }
    .tag-courses { background: #f3f4f6; color: #4b5563; }
    .tag-pink { background: #fff0f5; color: #ec4899; }

    .status-row {
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 10px;
      border-radius: 999px;
      font-size: 10.5px;
      font-weight: 700;
    }
    .sb-toprated { background: #fff4dc; color: #b45309; }
    .sb-popular { background: #f3eafe; color: var(--primary); }
    .sb-new { background: #e7faf0; color: #047857; }
    .sb-scholar { background: #e6f2ff; color: #1d4ed8; }
    .sb-flex { background: #fff4dc; color: #b45309; }

    .view-btn {
      border: 1.5px solid var(--primary);
      color: var(--primary);
      background: #fff;
      border-radius: 999px;
      padding: 7px 14px;
      font-size: 11.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }
    .view-btn:hover { background: var(--primary); color: #fff; }

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    max-width: 420px;

    background: #fff;
    border-top: 1px solid #f0f0f5;
    padding: 10px 14px 22px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;

    z-index: 1000;
}

#consultantsContent,
#institutionsContent {
    padding-bottom: 90px;
}
    .nav-item {
      background: transparent;
      border: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      color: #9ca3af;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      padding: 4px;
      transition: color 0.2s;
    }
    .nav-item i { font-size: 18px; }
    .nav-item:hover { color: var(--primary); }
    .nav-item.active { color: var(--primary); }
    .nav-item.active i { transform: scale(1.05); }

    /* Filter Offcanvas */
    .offcanvas-bottom { height: 88vh !important; border-top-left-radius: 24px; border-top-right-radius: 24px; }
    .offcanvas-bottom::before {
      content: "";
      position: absolute;
      top: 8px;
      left: 50%;
      transform: translateX(-50%);
      width: 42px;
      height: 4px;
      border-radius: 999px;
      background: #d1d5db;
    }
    .filter-section { padding: 14px 4px; border-bottom: 1px solid #f3f4f6; }
    .filter-section:last-child { border-bottom: 0; }
    .filter-section h6 {
      font-size: 12px;
      font-weight: 800;
      color: #111;
      margin: 0 0 12px;
      letter-spacing: 0.2px;
    }
    .filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .filter-chip {
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 12px;
      font-weight: 600;
      color: #374151;
      cursor: pointer;
      transition: all 0.2s;
    }
    .filter-chip:hover { border-color: var(--primary); }
    .filter-chip.selected {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
      box-shadow: 0 6px 14px rgba(108, 43, 217, 0.3);
    }
    .range-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #6b7280; margin-top: 6px; }
    .range-row span { font-weight: 700; color: var(--primary); }
    input[type="range"] {
      width: 100%;
      accent-color: var(--primary);
    }

    .offcanvas-footer {
      position: sticky;
      bottom: 0;
      background: #fff;
      padding: 14px 0 8px;
      display: flex;
      gap: 10px;
      border-top: 1px solid #f3f4f6;
    }
    .btn-clear {
      flex: 1;
      background: #f3f4f6;
      border: 0;
      border-radius: 999px;
      padding: 14px;
      font-weight: 700;
      font-size: 12px;
      color: #374151;
      cursor: pointer;
    }
    .btn-apply {
      flex: 1.4;
      background: var(--primary);
      border: 0;
      border-radius: 999px;
      padding: 14px;
      font-weight: 700;
      font-size: 12px;
      color: #fff;
      cursor: pointer;
      box-shadow: 0 10px 22px rgba(108, 43, 217, 0.35);
      transition: transform 0.2s;
    }
    .btn-apply:hover { transform: translateY(-2px); }

    /* Toast */
    .mini-toast {
      position: fixed;
      bottom: 100px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: #111827;
      color: #fff;
      padding: 10px 18px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s, transform 0.25s;
      z-index: 1080;
    }
    .mini-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    /* Home indicator */
    .home-indicator {
      width: 130px;
      height: 4px;
      border-radius: 999px;
      background: #111;
      margin: 4px auto 6px;
    }
    
    
    
    /* Consultant css start*/
   
       :root {
      --primary: #6c2bd9;
      --primary-light: #f1ecff;
      --primary-soft: #ede4ff;
      --text-dark: #16111f;
      --text-muted: #6b6b7a;
      --border-color: #ececf3;
      --green: #16c47f;
      --yellow: #ffc107;
      --pink-grad-start: #ffe7e0;
      --pink-grad-end: #ffdce8;
    }

    * { box-sizing: border-box; }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: #e9eaf0;
      margin: 0;
      padding: 0;
      color: var(--text-dark);
      -webkit-font-smoothing: antialiased;
    }

    .phone-shell {
      max-width: 430px;
      margin: 24px auto;
      background: #fff;
      border-radius: 40px;
      box-shadow: 0 30px 80px rgba(0,0,0,0.18);
      overflow: hidden;
      position: relative;
      padding-bottom: 0;
    }

    /* Status Bar */
    .status-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 24px 4px;
      font-weight: 600;
      font-size: 15px;
    }
    .status-bar .right-icons i {
      margin-left: 6px;
      font-size: 12px;
    }

    /* Header */
    .page-header {
      padding: 12px 22px 16px;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }
    .page-header h1 {
      font-size: 30px;
      font-weight: 800;
      margin: 0 0 6px;
      letter-spacing: -0.5px;
      color: #0c0a1a;
    }
    .page-header p {
      font-size: 12px;
      color: #5a5a6b;
      margin: 0;
      line-height: 1.4;
      max-width: 280px;
    }
    .bell-btn {
      position: relative;
      background: #fff;
      border: none;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .bell-btn i { font-size: 20px; color: #0c0a1a; }
    .bell-btn .dot {
      position: absolute;
      top: 4px;
      right: 6px;
      width: 9px;
      height: 9px;
      background: #ff3b30;
      border-radius: 50%;
      border: 2px solid #fff;
    }

    /* Toggle */
    .toggle-wrap {
      margin: 6px 18px 14px;
      background: #f7f6fb;
      border-radius: 60px;
      padding: 6px;
      display: flex;
      gap: 4px;
      border: 1px solid #eeebf5;
    }
    .toggle-btn {
      flex: 1;
      padding: 12px 8px;
      border-radius: 50px;
      border: none;
      background: transparent;
      font-weight: 600;
      font-size: 12px;
      color: #6a6a7a;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      transition: background 0.2s ease;
    }
    .toggle-btn.active {
      background: var(--primary-soft);
      color: var(--primary);
    }
    .toggle-btn i { font-size: 13px; }

    /* Search row */
    .search-row {
      display: flex;
      gap: 10px;
      padding: 6px 18px 14px;
      align-items: center;
    }
    .search-box {
      flex: 1;
      background: #fff;
      border: 1px solid #ececf3;
      border-radius: 40px;
      padding: 12px 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    }
    .search-box i { color: #b9b9c4; font-size: 12px; }
    .search-box input {
      border: none;
      outline: none;
      flex: 1;
      font-size: 12px;
      color: #6a6a7a;
      background: transparent;
    }
    .filter-btn {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--primary);
      border: none;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 6px 14px rgba(108,43,217,0.25);
    }
    .filter-btn i { font-size: 13px; }

    /* Category chips */
    .chips-row {
      display: flex;
      gap: 8px;
      padding: 0 18px 14px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .chips-row::-webkit-scrollbar { display: none; }
    .chip {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 10px 16px;
      border-radius: 30px;
      background: #fff;
      border: 1px solid #ececf3;
      font-size: 12px;
      font-weight: 600;
      color: #16111f;
      white-space: nowrap;
      cursor: pointer;
    }
    .chip.active {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }
    .chip i { font-size: 12px; }
    .chip .icon-business { color: #2f80ed; }
    .chip .icon-career { color: #27ae60; }
    .chip .icon-finance { color: #f2994a; }
    .chip .icon-marketing { color: #eb5757; }
    .chip .icon-leadership { color: #9b59b6; }
    .chip.active i { color: #fff !important; }

    /* Top consultants */
    .top-section {
      background: linear-gradient(180deg, #ffe2d6 0%, #ffe6ec 100%);
      padding: 16px 18px 18px;
      margin: 0 0 14px;
    }
    .top-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
    }
    .top-head h3 {
      font-size: 13px;
      font-weight: 700;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .top-head .view-all {
      color: var(--primary);
      font-size: 12px;
      font-weight: 600;
      text-decoration: none;
    }
    .consultants-strip {
      display: flex;
      gap: 14px;
      overflow-x: auto;
      scrollbar-width: none;
      padding-bottom: 4px;
    }
    .consultants-strip::-webkit-scrollbar { display: none; }
    .consultant-mini {
      flex-shrink: 0;
      width: 72px;
      text-align: center;
      position: relative;
    }
    .avatar-wrap {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      padding: 2.5px;
      margin: 0 auto;
      position: relative;
      background: #fff;
    }
    .avatar-wrap.purple { background: #8b5cf6; }
    .avatar-wrap.blue { background: #3b82f6; }
    .avatar-wrap.green { background: #22c55e; }
    .avatar-wrap.orange { background: #f97316; }
    .avatar-wrap.pink { background: #ec4899; }
    .avatar-wrap img,
    .avatar-wrap .avatar-placeholder {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      border: 2.5px solid #fff;
      background: #f0f0f5;
      display: block;
    }
    .avatar-wrap .avatar-placeholder {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #d4d4dc;
    }
    .rating-badge {
      position: absolute;
      bottom: -2px;
      left: 50%;
      transform: translateX(-50%);
      color: #fff;
      font-size: 10.5px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      gap: 2px;
      white-space: nowrap;
    }
    .rating-badge i { font-size: 8px; }
    .rb-purple { background: #8b5cf6; }
    .rb-blue { background: #3b82f6; }
    .rb-green { background: #22c55e; }
    .rb-orange { background: #f97316; }
    .rb-pink { background: #f4b3c8; color: #fff; }
    .online-dot {
      position: absolute;
      bottom: 4px;
      right: 2px;
      width: 11px;
      height: 11px;
      background: #22c55e;
      border-radius: 50%;
      border: 2px solid #fff;
    }
    .consultant-mini .name {
      font-size: 11px;
      font-weight: 700;
      margin-top: 12px;
      color: #1a1530;
    }
    .consultant-mini .price {
      font-size: 11.5px;
      color: #6b6b7a;
      margin-top: 1px;
    }

    /* Sort row */
    .sort-row {
      display: flex;
      gap: 8px;
      padding: 4px 18px 14px;
      align-items: center;
    }
    .sort-pill {
      flex: 1;
      background: #fff;
      border: 1px solid #ececf3;
      border-radius: 30px;
      padding: 9px 12px;
      font-size: 11px;
      color: #16111f;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }
    .sort-pill i.fa-chevron-down { font-size: 9px; color: #888; }
    .reset-btn {
      background: none;
      border: none;
      color: var(--primary);
      font-size: 12px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 4px 8px;
    }
    .reset-btn i { font-size: 12px; }

    /* Status tabs */
    .status-tabs {
      display: flex;
      gap: 8px;
      padding: 0 18px 14px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .status-tabs::-webkit-scrollbar { display: none; }
    .status-tab {
      flex: 1;
      min-width: max-content;
      background: #fff;
      border: 1px solid #ececf3;
      padding: 10px 16px;
      border-radius: 30px;
      font-size: 12px;
      font-weight: 600;
      color: #1a1530;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      white-space: nowrap;
      cursor: pointer;
    }
    .status-tab.active {
      background: #fff6d6;
      border-color: #ffe07d;
    }
    .status-tab .badge-emoji {
      width: 18px;
      height: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .icon-grad { color: #d96d3a; }
    .icon-new { color: #2bbb9b; }
    .icon-star { color: #ffc107; }
    .icon-offer { color: #ff4d6d; }

    /* Consultant cards */
    .cards-wrap { padding: 0 14px 100px; }
    .consultant-card {
      background: #fff;
      border: 1px solid #ececf3;
      border-radius: 18px;
      padding: 16px 14px;
      margin-bottom: 14px;
      position: relative;
      box-shadow: 0 2px 6px rgba(0,0,0,0.025);
    }
    .consultant-card.offer { border-left: 4px solid #ffc107; }
    .consultant-card .card-row {
      display: flex;
      gap: 14px;
      align-items: flex-start;
    }
    .card-avatar {
      width: 84px;
      height: 84px;
      border-radius: 50%;
      padding: 2.5px;
      flex-shrink: 0;
      position: relative;
    }
    .card-avatar.gold { background: #ffc107; }
    .card-avatar.green { background: #22c55e; }
    .card-avatar.yellow { background: #fde68a; }
    .card-avatar img,
    .card-avatar .placeholder {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      border: 2.5px solid #fff;
      background: #f0f0f5;
    }
    .card-avatar .placeholder {
      background: #fff7d6;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #b9b9c4;
      font-size: 11px;
    }
    .card-avatar .online {
      position: absolute;
      top: 4px;
      left: 4px;
      width: 12px;
      height: 12px;
      background: #22c55e;
      border-radius: 50%;
      border: 2px solid #fff;
    }
    .card-info { flex: 1; min-width: 0; }
    .card-info .name-row {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 4px;
    }
    .card-info .name {
      font-size: 18px;
      font-weight: 700;
      margin: 0;
      color: #1a1530;
    }
    .verified {
      color: var(--primary);
      font-size: 13px;
    }
    .card-info .meta {
      font-size: 12px;
      color: #4a4a5a;
      line-height: 1.5;
      margin: 0;
    }
    .stars-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
    }
    .stars { color: #ffc107; font-size: 12px; letter-spacing: 1px; }
    .rating-chip {
      background: #f0f0f5;
      color: #1a1530;
      font-size: 11.5px;
      font-weight: 600;
      padding: 2px 10px;
      border-radius: 12px;
    }
    .new-chip {
      background: #ffe1ec;
      color: #e91e63;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 12px;
      letter-spacing: 0.5px;
      margin-left: 6px;
    }
    .card-right {
      text-align: right;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: flex-end;
      min-height: 84px;
      flex-shrink: 0;
    }
    .green-check {
      color: #22c55e;
      font-size: 22px;
    }
    .price {
      font-weight: 700;
      color: var(--primary);
      font-size: 15px;
      margin-top: 8px;
      white-space: nowrap;
    }
    .price .strike {
      color: #b9b9c4;
      font-weight: 500;
      text-decoration: line-through;
      font-size: 12px;
      margin-right: 4px;
    }
    .chat-btn {
      margin-top: 10px;
      background: #fff;
      border: 1.5px solid #22c55e;
      color: #22c55e;
      font-weight: 600;
      font-size: 11px;
      padding: 6px 14px;
      border-radius: 30px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
    }
    .chat-btn i { font-size: 12px; }

    .offer-banner {
      margin-top: 12px;
      background: linear-gradient(90deg, #e9fbef 0%, #d9f7e3 100%);
      border-radius: 12px;
      padding: 8px 12px;
      font-size: 11px;
      color: #1a7a3d;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      position: relative;
      overflow: hidden;
    }
    .offer-banner .badge-circle {
      width: 18px;
      height: 18px;
      background: #22c55e;
      color: #fff;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 9px;
    }


    .nav-item {
      flex: 1;
      text-align: center;
      color: #9a9aa8;
      font-size: 11.5px;
      font-weight: 500;
      text-decoration: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
    }
    .nav-item i { font-size: 19px; }
    .nav-item.active { color: var(--primary); font-weight: 600; }

    .home-indicator {
      width: 130px;
      height: 4px;
      background: #1a1530;
      border-radius: 2px;
      margin: 4px auto 8px;
    }

    @media (max-width: 480px) {
      .phone-shell {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
      }
    } 
    
    /* Consultant Section Animation */

#consultantsContent {
    animation: consultantFadeIn 0.45s ease;
}

.consultant-card {
    opacity: 0;
    animation: consultantCardIn 0.5s ease forwards;
}

.consultant-card:nth-child(1) { animation-delay: 0.05s; }
.consultant-card:nth-child(2) { animation-delay: 0.12s; }
.consultant-card:nth-child(3) { animation-delay: 0.19s; }
.consultant-card:nth-child(4) { animation-delay: 0.26s; }
.consultant-card:nth-child(5) { animation-delay: 0.33s; }

@keyframes consultantFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes consultantCardIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.top-section{
    animation: floatIn 0.6s ease both;
}
   
    /* Consultant css end*/
  