body {
  background: #0b0b0f;
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

/* NAV */
.navbar {
  background: #111;
}

.logo {
  font-weight: bold;
}

.location {
  color: #aaa;
}

/* HERO */
.hero h2 {
  font-weight: 600;
}

/* CARD */
.profile-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.profile-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: top center;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.active-pill {
  background: #fff;
  color: #28a745;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.verified-badge-svg {
  filter: drop-shadow(0 0 2px rgba(0, 123, 255, 0.5));
  vertical-align: middle;
}

/* Top header */
/* HEADER CONTAINER */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 10px; /* Reduced horizontal margin */
  padding: 10px 18px;
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1000;
  flex-wrap: nowrap; /* Force single line */
}

/* MOBILE SPECIFIC HEADER ADJUSTMENTS */
.mobile-top-nav .header-left {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 12px;
  min-width: 0;
}

.mobile-top-nav .header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

.mobile-top-nav .logo-container {
  display: flex;
  align-items: center;
  min-width: 0;
}

.mobile-top-nav .logo-container img {
  height: 45px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.menu-icon-btn {
  color: #c9a961;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.top-header-secondary {
  margin-top: -5px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .top-header {
    margin: 10px;
    padding: 8px 12px;
    gap: 8px;
  }

  .mobile-top-nav .header-left {
    gap: 8px;
  }

  .mobile-top-nav .header-right {
    gap: 8px;
  }

  .mobile-top-nav .logo-container img {
    height: 42px;
    max-width: 160px;
  }

  .location-pill-nav {
    padding: 5px 10px !important;
    font-size: 11px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    display: flex !important;
    align-items: center;
    gap: 5px;
  }

  .location-pill-nav svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
  }

  .menu-icon-btn svg, .notif-icon-btn svg {
    width: 24px !important;
    height: 24px !important;
  }

  .profile-pill-nav img {
    width: 26px !important;
    height: 26px !important;
  }
}

@media (max-width: 480px) {
  .top-header {
    margin: 8px;
    padding: 6px 10px;
    gap: 5px;
  }

  .mobile-top-nav .header-left {
    gap: 6px;
  }

  .mobile-top-nav .header-right {
    gap: 5px;
  }

  .mobile-top-nav .logo-container img {
    height: 38px;
    max-width: 150px;
  }

  .location-pill-nav {
    padding: 4px 8px !important;
    font-size: 10px !important;
    max-width: 105px;
    display: flex !important;
    align-items: center;
    gap: 4px;
  }

  .location-pill-nav svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
  }

  .menu-icon-btn svg, .notif-icon-btn svg {
    width: 22px !important;
    height: 22px !important;
  }

  .profile-pill-nav {
    padding: 3px 6px !important;
    gap: 4px !important;
  }

  .profile-pill-nav img {
    width: 24px !important;
    height: 24px !important;
  }
  
  .profile-pill-nav svg {
    width: 12px !important;
    height: 12px !important;
  }
}

/* General Left/Right sides for other headers if any */
.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* LOCATION PILL */
.location-pill {
  background: rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
}

.location-pill:hover {
  background: rgba(255,255,255,0.15);
}

/* SEARCH */
.search-input {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  border-radius: 14px;
  padding: 12px 14px;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25);
}

.search-clear-btn {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85) !important;
  border: none !important;
}

.vip-active {
  background: linear-gradient(135deg, #c9a961, #e1c584) !important;
  color: #000 !important;
  border: none !important;
  font-weight: bold;
}

.text-gold {
  color: #c9a961 !important;
}

.btn-gold {
  background: #c9a961;
  color: #000;
  border: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-gold:hover {
  background: #e1c584;
  color: #000;
  transform: translateY(-2px);
}

/* Compact VIP Payment Options */
.vip-payment-selection {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vip-method-group {
  display: flex;
  gap: 4px;
}

.vip-method-item {
  flex: 1;
  position: relative;
  cursor: pointer;
  margin-bottom: 0;
}

.vip-method-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.vip-method-label {
  display: block;
  text-align: center;
  padding: 10px 5px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.vip-method-item input[type="radio"]:checked + .vip-method-label {
  background: #c9a961;
  color: #000;
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.vip-method-item:hover .vip-method-label:not(input:checked + .vip-method-label) {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn-outline-gold {
  border-color: #c9a961 !important;
  color: #c9a961 !important;
}

.btn-outline-gold:hover, .btn-outline-gold.active {
  background-color: #c9a961 !important;
  color: #000 !important;
}

.filter-group .btn.active {
  background-color: #c9a961 !important;
  border-color: #c9a961 !important;
  color: #000 !important;
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.4);
}

/* MOBILE MENU OFFCANVAS */
.glass-modal-content {
  z-index: 2050 !important; /* Ensure it's above bottom-nav (1040) */
}

.offcanvas-body {
  padding-bottom: 100px !important; /* Extra space so bottom nav doesn't cover content */
}

/* NOTIFICATION */
.recent-chats-list {
  max-height: 400px;
  overflow-y: auto;
}

.glass-modal-content {
  background: rgba(15, 15, 20, 0.6) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.auth-modal-content {
  background: rgba(15, 15, 20, 0.7) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
  color: #ffffff !important;
}

.auth-modal-content .modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.auth-modal-content p, 
.auth-modal-content h5 {
  color: #ffffff !important;
}

.auth-modal-content p {
  opacity: 0.85;
}

.recent-chat-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s;
}

.recent-chat-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.recent-chat-item img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.recent-chat-info {
  flex: 1;
  min-width: 0;
}

.recent-chat-name {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.recent-chat-last {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff3b30;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid #0b0b0f;
  min-width: 18px;
  text-align: center;
}

.notif-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
  margin-left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
  margin-left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DROPDOWN */
.location-dropdown {
  display: none;
  position: absolute;
  right: 15px;
  top: 75px;
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow-y: auto;
  max-height: 350px;
  width: 200px;
  z-index: 2000;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
  padding: 8px;
}

.location-dropdown div {
  padding: 12px 16px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.location-dropdown div:hover {
  background: rgba(201, 169, 97, 0.15);
  color: #c9a961;
  padding-left: 20px;
}

.location-pill-nav:active {
  transform: scale(0.95);
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

.bottom h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

.profile-location-info {
  margin-top: 4px;
}

.price {
  color: #c9a961;
  font-weight: bold;
}

/* PROFILE */
#profileModal .profile-modal-dialog {
  width: calc(100% - 24px);
  max-width: 420px;
  margin: 12px auto;
}

#profileModal .profile-modal-content {
  background: #0b0b0f;
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
  height: 90vh; /* Consistent height relative to viewport */
  max-height: 850px; /* Taller on desktop */
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  #profileModal .profile-modal-dialog {
    max-width: 500px; /* Wider on desktop for better readability */
    margin: 20px auto;
  }
}

.profile-header {
  position: relative;
  height: 42vh; /* Use percentage of viewport height */
  min-height: 280px; /* Ensure photo is always visible */
  max-height: 420px; /* But don't let it take over the whole screen */
  overflow: hidden;
  background: #000;
  flex-shrink: 0; /* Prevent header from shrinking */
}

@media (max-width: 768px) {
  .profile-header {
    height: 38vh;
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .profile-header {
    height: 34vh;
    min-height: 240px;
  }
}

.profile-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  touch-action: pan-y;
}

.profile-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

.profile-header-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}

.profile-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.profile-icon-btn.active {
  color: #c9a961;
}

.profile-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
}

.profile-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-overlay h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.profile-badge {
  font-size: 12px;
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-badge::before {
  content: "♥";
  font-size: 10px;
  color: #c9a961;
}

.profile-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 6px;
}

.profile-area {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-area::before {
  content: "📍";
  font-size: 12px;
  opacity: 0.9;
}

.profile-sep {
  opacity: 0.7;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.online::before {
  content: "●";
  font-size: 10px;
  color: #00ff88;
}

.online.is-offline::before {
  color: #a7a7ad;
}

.profile-body {
  background: rgba(16, 16, 22, 0.98);
  margin: -22px 12px 0;
  border-radius: 22px;
  padding: 22px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

.profile-section {
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.profile-section + .profile-section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 12px;
  padding-top: 12px;
}

.profile-section-title {
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.muted {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.profile-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.profile-dots {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.profile-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
}

.profile-dot.is-active {
  background: rgba(201, 169, 97, 0.95);
}

.profile-booked-banner {
  margin: 4px 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.22);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  z-index: 20000;
  max-width: min(520px, calc(100vw - 32px));
  width: max-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(20, 20, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  color: rgba(255, 255, 255, 0.9);
}

.app-toast.app-toast-success {
  border-color: rgba(46, 204, 113, 0.28);
}

.app-toast.app-toast-error {
  border-color: rgba(231, 76, 60, 0.28);
}

.app-toast-body {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-toast-close {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-toast-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

#ratingStars {
  flex-wrap: wrap;
}

#ratingStars .btn {
  flex: 1 1 18%;
  min-width: 0;
  padding: 8px 10px;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 480px) {
  #ratingStars {
    gap: 8px !important;
  }
  #ratingStars .btn {
    flex: 1 1 30%;
    font-size: 14px;
    padding: 8px 8px;
  }
}

/* Media queries for overall mobile adjustments */
@media (max-width: 768px) {
  .top-header {
    margin: 10px;
    padding: 8px 12px;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
  }

  .header-left, .header-right {
    flex: 1;
    display: flex;
    align-items: center;
    width: auto;
  }

  .header-left {
    justify-content: flex-start;
  }

  .header-right {
    justify-content: flex-end;
  }

  .logo-container {
    position: static !important;
    transform: none !important;
    left: auto !important;
  }

  .logo-container img {
    height: 30px !important;
  }

  .location-pill-nav {
    padding: 5px 10px !important;
    font-size: 11px !important;
  }

  .menu-icon-btn svg, .notif-icon-btn svg {
    width: 24px !important;
    height: 24px !important;
  }

  .profile-pill-nav {
    padding: 3px 6px !important;
  }

  .profile-pill-nav img {
    width: 26px !important;
    height: 26px !important;
  }
}

@media (max-width: 480px) {
  .top-header {
    margin: 8px;
    padding: 6px 10px;
    gap: 6px;
  }

  .header-left, .header-right {
    gap: 6px;
  }

  .logo-container img {
    height: 26px !important;
  }

  .location-pill-nav {
    padding: 4px 8px !important;
    font-size: 10px !important;
  }

  .menu-icon-btn svg, .notif-icon-btn svg {
    width: 22px !important;
    height: 22px !important;
  }

  .profile-pill-nav img {
    width: 24px !important;
    height: 24px !important;
  }
}

/* ANIMATED SCROLLING PROFILES */
.scrolling-profiles-section {
  position: relative;
  overflow: hidden;
  margin: 15px 0;
  padding: 10px 0;
}

.scrolling-profiles-section::before,
.scrolling-profiles-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px; /* Adjust fade width as needed */
  height: 100%;
  z-index: 10;
  pointer-events: none; /* Allows interaction with cards underneath */
}

.scrolling-profiles-section::before {
  left: 0;
  background: linear-gradient(to right, #0b0b0f, transparent);
}

.scrolling-profiles-section::after {
  right: 0;
  background: linear-gradient(to left, #0b0b0f, transparent);
}

.scrolling-profiles-container {
  display: flex;
  width: max-content; /* Important for horizontal scroll */
  animation: scroll-left 40s linear infinite; /* Adjust speed as needed */
  padding: 0 15px; /* Padding to prevent cards from touching edges */
}

.scrolling-profiles-container:hover {
  animation-play-state: paused;
}

.scrolling-profile-card {
  flex: 0 0 auto; /* Prevent cards from shrinking */
  width: 250px; /* Default width */
  height: 300px; /* Default height */
  margin-right: 20px;
  background: #1c1c24; /* Example background */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  position: relative;
  cursor: pointer;
}

.scrolling-profile-card:hover {
  transform: translateY(-5px);
}

.scrolling-profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-chip {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.service-chip:not(:first-child)::before {
  content: "•";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.35);
}

#profileModal .price-box,
#bookingModal .price-box {
  margin: 0;
}

#profileModal .price-box div,
#bookingModal .price-box div {
  display: flex;
  justify-content: space-between;
  padding: 10px 10px 10px 18px;
  background: transparent;
  border-radius: 8px;
  margin: 0;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

#profileModal .price-box div.selected,
#bookingModal .price-box div.selected {
  color: #c9a961;
  background: rgba(201, 169, 97, 0.08);
}

#profileModal .price-box div + div,
#bookingModal .price-box div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

#profileModal .price-box div.selected + div,
#bookingModal .price-box div.selected + div {
  border-top-color: transparent;
}

#profileModal .price-box div:has(+ div.selected),
#bookingModal .price-box div:has(+ div.selected) {
  border-bottom-color: transparent;
}

#profileModal .price-box div::before,
#bookingModal .price-box div::before {
  content: "•";
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.2s ease;
}

#profileModal .price-box div.selected::before,
#bookingModal .price-box div.selected::before {
  color: #c9a961;
}

.profile-actions {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #0b0b0f;
  flex: 0 0 auto;
}

.profile-actions .btn {
  flex: 1;
  border-radius: 14px;
  padding: 12px 14px;
}

.profile-actions .btn-dark {
  background: rgba(20, 20, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

@media (min-width: 768px) {
  #profileModal .profile-modal-dialog {
    margin: 20px auto;
  }
}

/* BOOKING */
#bookingModal .booking-modal-dialog {
  width: calc(100% - 24px);
  max-width: 420px;
  margin: 12px auto;
}

#bookingModal .booking-modal-content {
  background: #0b0b0f;
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
  height: min(92vh, 760px);
  display: flex;
  flex-direction: column;
}

.booking-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  gap: 10px;
  background: #0b0b0f;
  flex: 0 0 auto;
}

.booking-topbar-title {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  flex: 1;
}

.booking-topbar-spacer {
  width: 36px;
  height: 36px;
}

.booking-body {
  margin: 12px;
  padding: 18px 14px 14px;
}

.booking-profile-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 11, 15, 0.55);
  margin-bottom: 12px;
}

.booking-profile-card img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
}

.booking-profile-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.booking-profile-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
}

.booking-actions .btn {
  flex: 1;
}

/* SUCCESS MODAL */
#successModal .success-modal-dialog {
  width: calc(100% - 24px);
  max-width: 420px;
  margin: 12px auto;
}

#successModal .success-modal-content {
  background: #0b0b0f;
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon {
  font-size: 32px;
  color: #c9a961;
  font-weight: bold;
}

.success-details {
  background: rgba(11, 11, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 16px;
}

.success-details-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.success-details-row:last-child {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-weight: bold;
  font-size: 16px;
}

/* BUTTON */
.btn-gold {
  background: linear-gradient(45deg, #c9a961, #e5c07b);
  border: none;
  color: black;
  font-weight: bold;
}

/* CHAT */
.blocked-inline-card {
  background: linear-gradient(145deg, #161a25, #0a0c12);
  border: 1px solid rgba(0, 150, 255, 0.2);
  border-radius: 20px;
  padding: 24px 20px;
  margin: 20px 8%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 80, 255, 0.15), inset 0 0 15px rgba(0, 100, 255, 0.05);
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.blocked-inline-card h6 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 15px;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.blocked-inline-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin: 20px 0;
  padding: 0 10px;
}

.blocked-inline-card .separator {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  width: 100%;
}

.blocked-inline-card .btn-ok {
  background: linear-gradient(to bottom, #e2c285, #c9a961);
  border: none;
  color: #000;
  font-weight: 800;
  padding: 12px 0;
  width: 100%;
  max-width: 220px;
  margin-top: 15px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
  transition: all 0.2s ease;
  text-transform: none;
  font-size: 1.05rem;
}

.blocked-inline-card .btn-ok:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 169, 97, 0.4);
}

.blocked-inline-card .btn-ok:active {
  transform: translateY(0);
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-container {
  display: flex;
  flex-direction: column;
  height: 100vh; /* use full viewport */
  background: #0b0b0f;

  /* 👇 reserve space for footer */
  padding-bottom: 80px; /* adjust to your footer height */
  box-sizing: border-box;
}

.chat-box {
  flex: 1;
  padding: 10px;
  overflow-y: auto;

    /* prevents content from hiding under input */
  padding-bottom: 10px;
}

.chat-message {
  display: flex;
  align-items: flex-end;
  margin-bottom: 15px;
}

.chat-message.left-message {
  justify-content: flex-start;
}

.chat-message.right-message {
  justify-content: flex-end;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.left-avatar {
  margin-right: 8px;
}

.right-avatar {
  margin-left: 8px;
}

.bubble {
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 75%;
  word-wrap: break-word;
}

.left {
  background: #1f1f25; /* Amanda's bubble (grey) */
  color: white;
  border-bottom-left-radius: 4px;
}

.right {
  background: #2b3a67; /* User's bubble (blue) */
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-input {
  padding: 10px;
  border-top: 1px solid #222;

  position: sticky;
  bottom: 0;
  background: #0b0b0f;
  z-index: 10;
}

.chat-input input {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: #1a1a22;
  color: white;
}

/* CONTACT INFO BLOCKED CARD */
.chat-system-message {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  width: 100%;
}

.contact-blocked-card {
  background: linear-gradient(180deg, rgba(30,25,20,1) 0%, rgba(20,15,18,1) 100%);
  color: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  padding: 20px;
  text-align: center;
  max-width: 90%;
}

.contact-blocked-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-blocked-message {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Styles for the new profile badge and separator section */

.footer-content-wrapper { /* New class for the wrapper inside footer */
  background: #0b0b0f; /* Apply background to the wrapper */
  padding: 20px; /* Reduced padding for the wrapper */
  border-radius: 20px;
  margin-top: 30px; /* Reduced space from the content above */
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.footer-main-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 15px; /* Reduced padding */
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 10px; /* Reduced margin */
}

.footer-column h4 {
  color: #c9a961;
  font-size: 16px; /* Slightly reduced font size */
  margin-bottom: 10px; /* Reduced margin */
  position: relative;
  padding-bottom: 8px; /* Reduced padding */
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px; /* Reduced width */
  height: 2px;
  background-color: #c9a961;
}

.footer-column p {
  font-size: 13px; /* Slightly reduced font size */
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 6px; /* Reduced margin */
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px; /* Slightly reduced font size */
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #c9a961;
}

.social-icons {
  display: flex;
  gap: 10px; /* Reduced gap */
  margin-top: 10px; /* Reduced margin */
}

.social-icons a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px; /* Slightly reduced font size */
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #c9a961;
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px; /* Reduced padding */
  margin-top: 15px; /* Reduced margin */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 12px; /* Slightly reduced font size */
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-bar p {
  margin: 0;
  margin-bottom: 5px; /* Reduced for mobile wrapping */
}

.footer-bottom-bar .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Reduced gap */
}

.footer-bottom-bar .footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 12px; /* Slightly reduced font size */
}

.footer-bottom-bar .footer-links a:hover {
  color: #c9a961;
}

@media (max-width: 768px) {
  .footer-content-wrapper {
    padding: 15px 10px; /* Further reduced padding */
    margin-top: 20px; /* Further reduced margin */
  }

  .main-site-footer {
    padding: 0;
  }

  .footer-content-wrapper {
    margin-left: 10px;
    margin-right: 10px;
  }

  .footer-main-content {
    flex-direction: column;
    padding-bottom: 10px; /* Further reduced padding */
  }

  .footer-column {
    min-width: unset;
    width: 100%;
    margin-bottom: 10px; /* Further reduced margin */
    text-align: center; /* Center align content */
  }

  .footer-column h4 {
    font-size: 15px;
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  .footer-column h4::after {
    left: 50%; /* Center the pseudo-element */
    transform: translateX(-50%); /* Center the pseudo-element */
    width: 30px;
  }

  .footer-column p {
    font-size: 12px;
  }

  .footer-column ul {
    margin-top: 3px;
    width: fit-content; /* Allow centering */
    margin: 0 auto; /* Center the list */
  }

  .footer-column ul li {
    margin-bottom: 5px;
  }

  .footer-column ul li a {
    font-size: 12px;
  }

  .social-icons {
    margin-top: 8px;
    justify-content: center; /* Center social icons */
  }

  .social-icons a {
    font-size: 16px;
  }

  .social-icons svg {
    width: 16px;
    height: 16px;
  }

  .footer-bottom-bar {
    padding-top: 10px;
    margin-top: 10px;
    font-size: 11px;
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-bar p {
    margin-bottom: 4px;
  }

  .footer-bottom-bar .footer-links {
    justify-content: center;
    gap: 8px;
  }

  .footer-bottom-bar .footer-links a {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .main-site-footer {
    padding: 0;
  }

  .footer-content-wrapper {
    margin-left: 8px;
    margin-right: 8px;
    padding: 15px 8px 8px; /* Further reduced padding */
    margin-top: 15px; /* Further reduced margin */
  }

  .footer-column {
    text-align: center; /* Center align content */
  }

  .footer-column h4 {
    font-size: 14px;
    margin-bottom: 6px;
    padding-bottom: 4px;
  }

  .footer-column h4::after {
    left: 50%; /* Center the pseudo-element */
    transform: translateX(-50%); /* Center the pseudo-element */
  }

  .footer-column p {
    font-size: 11px;
  }

  .footer-column ul {
    width: fit-content; /* Allow centering */
    margin: 0 auto; /* Center the list */
  }

  .footer-column ul li {
    margin-bottom: 4px;
  }

  .footer-column ul li a {
    font-size: 11px;
  }

  .social-icons {
    margin-top: 6px;
    justify-content: center; /* Center social icons */
  }

  .social-icons a {
    font-size: 14px;
  }

  .social-icons svg {
    width: 14px;
    height: 14px;
  }

  .footer-bottom-bar {
    padding-top: 8px;
    margin-top: 8px;
    font-size: 10px;
  }

  .footer-bottom-bar p {
    margin-bottom: 3px;
  }

  .footer-bottom-bar .footer-links {
    gap: 6px;
  }

  .footer-bottom-bar .footer-links a {
    font-size: 10px;
  }
}


.profile-card .profile-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #c9a961; /* Gold background */
  color: #0b0b0f; /* Dark text for contrast */
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
  text-transform: uppercase;
}

.rating {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
}

.separator-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.separator-section h2 {
  color: #e5c07b; /* Lighter gold for heading */
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.separator-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.6;
}

.separator-line {
  border: none;
  height: 3px; /* Slightly increased height */
  background: linear-gradient(to right, transparent 0%, #e5c07b 30%, #c9a961 70%, transparent 100%); /* Softer, multi-point gradient */
  width: 60%; /* Increased width */
  margin: 25px auto; /* Adjusted margin */
  border-radius: 10px; /* More rounded corners */
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.4); /* Subtle glow effect */
}

@media (max-width: 768px) {
  .separator-section h2 {
    font-size: 1.8rem;
  }

  .separator-section p {
    font-size: 1rem;
  }

  .separator-line {
    width: 70%; /* Adjusted width for tablets */
    margin: 20px auto;
  }
}

@media (max-width: 480px) {
  .profile-card .profile-badge {
    font-size: 10px;
    padding: 3px 8px;
  }

  .separator-section h2 {
    font-size: 1.5rem;
  }

  .separator-section p {
    font-size: 0.9rem;
  }

  .separator-line {
    width: 80%; /* Adjusted width for mobile */
    margin: 15px auto;
  }
}
/* Private Secure top */
/* HERO SECTION */
.hero-section {
  position: relative;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  margin: 15px;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DARK GRADIENT OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.85)
  );
}

/* CONTENT */
.hero-content {
  position: absolute;
  bottom: 30px;
  width: 100%;
  color: white;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 24px;
  font-weight: 700;
}

.hero-content p {
  color: #ccc;
  margin-top: 5px;
}

/* BUTTON IMPROVEMENT */
.btn-gold {
  background: linear-gradient(45deg, #c9a961, #e5c07b);
  border: none;
  color: black;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 10px;
}

.btn-outline-gold {
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  transition: all 0.2s ease;
}

.btn-outline-gold:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-check:checked + .btn-outline-gold {
  background: rgba(201, 169, 97, 0.15);
  border-color: #c9a961;
  color: #c9a961;
  font-weight: bold;
}

/* BOTTOM NAV */
body {
  padding-bottom: 70px; /* space for fixed bottom nav */
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #08080a; /* Dark base matching screenshot */
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1040;
}

.bottom-nav .nav-item {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.2s ease;
}

.bottom-nav .nav-item svg {
  width: 26px;
  height: 26px;
}

.bottom-nav .nav-item.active {
  color: #c9a961;
}

.bottom-nav .nav-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.bottom-nav .nav-item.active:hover {
  color: #e5c07b;
}

/* DESKTOP MENU */
/* Desktop Menu Styles Removed */

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
  .bottom-nav {
    display: none;
  }

/* ANIMATED SCROLLING PROFILES */
.scrolling-profiles-section {
  margin: 15px 0; /* Use vertical margin only, or padding if horizontal space is needed */
  width: 100%;
  overflow: hidden;
  padding-bottom: 20px; /* Space below the scrolling section */
  position: relative;
  mask-image: linear-gradient(to right, 
    transparent 0%, 
    black 5%, 
    black 95%, 
    transparent 100%
  );
}

.scrolling-profiles-container {
  display: flex;
  width: max-content;
  animation: scroll-left 60s linear infinite; /* Adjust duration for speed */
  padding: 10px 0; /* Add some vertical padding */
}

.scrolling-profile-card {
  flex-shrink: 0;
  width: 250px; /* Adjust card width */
  height: 300px; /* Adjust card height */
  margin-right: 20px; /* Space between cards */
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Subtle shadow */
}

.scrolling-profile-card:hover {
  transform: translateY(-5px) scale(1.02); /* Lift and slightly enlarge on hover */
}

.scrolling-profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.scrolling-profile-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

.scrolling-profile-card .rating {
  background: rgba(0,0,0,0.6);
  padding: 5px 10px;
  border-radius: 10px;
  align-self: flex-start; /* Align rating to top left */
}

.scrolling-profile-card .bottom h5 {
  margin: 0;
  font-size: 1.1em;
}

.scrolling-profile-card .bottom p {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
}

.scrolling-profile-card .price {
  color: gold;
  font-weight: bold;
  font-size: 1.1em;
}

/* Keyframe for continuous scroll */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Scroll exactly half the container width */
  }
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .scrolling-profile-card {
    width: 200px;
    height: 250px;
    margin-right: 15px;
  }
}

@media (max-width: 480px) {
  .scrolling-profile-card {
    width: 160px; /* Further reduce width for smaller phones */
    height: 200px; /* Further reduce height */
    margin-right: 10px; /* Reduce margin */
  }

  .scrolling-profile-card .bottom h5 {
    font-size: 1em; /* Adjust font size */
  }

  .scrolling-profile-card .bottom p {
    font-size: 0.8em; /* Adjust font size */
  }

  .scrolling-profile-card .price {
    font-size: 1em; /* Adjust font size */
  }

  .scrolling-profile-card .rating {
    padding: 3px 8px; /* Adjust padding for rating */
    font-size: 0.8em; /* Adjust font size for rating */
  }
}


/* AUTH MODAL */
/* AUTH MODAL & PROFILE MENU MODAL */
#authModal .modal-content, #profileMenuModal .modal-content {
  background: #0b0b0f !important;
  color: #fff !important;
  border-radius: 28px;
  border: 1px solid rgba(201, 169, 97, 0.3) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

#authModal .modal-header, #profileMenuModal .modal-header {
  padding: 30px 20px 10px !important;
}

#authModal .modal-body, #profileMenuModal .modal-body {
  padding: 0 24px 30px !important;
}

#authModal .btn-close, #profileMenuModal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.8;
}

#authModal .btn-dark {
  background: rgba(20, 20, 26, 0.95);
  color: #fff;
}


/* ADVERTISED PROFILES */
.advertised-profiles-scroller {
  display: flex;
  overflow-x: hidden; /* Hide scrollbar but allow scrolling */
  scroll-behavior: smooth;
  gap: 15px; /* Space between cards */
  padding-bottom: 15px; /* Add some padding at the bottom for aesthetic purposes */
}
.advertised-profiles-scroller::-webkit-scrollbar {
  display: none; /* Hide scrollbar for a cleaner look */
}
.advertised-profile-card-item {
  flex: 0 0 calc((100% / 5) - 12px); /* 5 cards in a row, accounting for gap */
  /* Specific styling for smaller advertised profile cards */
}

.advertised-profile-card-item .profile-card {
  height: 250px; /* Smaller height for advertised cards */
}

.advertised-profile-card-item .profile-card img {
  height: 100%; /* Make image fill the smaller card height */
}

@media (max-width: 1200px) {
  .advertised-profile-card-item {
    flex: 0 0 calc((100% / 4) - 11.25px); /* 4 cards in a row */
  }
}

@media (max-width: 992px) {
  .advertised-profile-card-item {
    flex: 0 0 calc((100% / 3) - 10px); /* 3 cards in a row */
  }
}

@media (max-width: 768px) {
  .advertised-profile-card-item {
    flex: 0 0 calc((100% / 2) - 7.5px); /* 2 cards in a row */
  }
}

@media (max-width: 576px) {
  .advertised-profile-card-item {
    flex: 0 0 calc(100% - 0px); /* 1 card in a row */
  }
}
