/* ==========================================================================
   Sri Vari Marriage Bureau - Luxury Design System (Exact Match to Reference)
   ========================================================================== */

:root {
  --svm-burgundy: #701127;
  --svm-burgundy-dark: #4e0b1b;
  --svm-burgundy-light: #8e1834;
  --svm-burgundy-subtle: #fdf2f4;

  --svm-gold: #c89d53;
  --svm-gold-light: #e6c88b;
  --svm-gold-dark: #a87e38;

  --svm-cream: #fdfbf7;
  --svm-rose-card: #fdf5f6;
  --svm-card-border: #f2dede;
  --svm-border-soft: #ebd5d8;

  --svm-text-dark: #1a1215;
  --svm-text-body: #4a3e43;
  --svm-text-muted: #7d6e74;

  --svm-font-serif: 'Playfair Display', Georgia, serif;
  --svm-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--svm-font-sans);
  color: var(--svm-text-body);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
  font-family: var(--svm-font-serif);
  color: var(--svm-text-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white .font-serif {
  color: #ffffff !important;
}

a {
  color: var(--svm-burgundy);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--svm-gold-dark);
}

.text-burgundy {
  color: var(--svm-burgundy) !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.svm-navbar {
  background: #ffffff;
  border-bottom: 1px solid #f1e9eb;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: all 0.3s ease;
}

.svm-nav-logo {
  height: 52px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.svm-navbar .navbar-brand:hover .svm-nav-logo {
  transform: scale(1.02);
}

.svm-nav-link {
  font-size: 0.90rem;
  font-weight: 600;
  color: #332a2e !important;
  padding: 7px 11px !important;
  white-space: nowrap !important;
  position: relative;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}

.svm-nav-link:hover,
.svm-nav-link.active {
  color: var(--svm-burgundy) !important;
}

.svm-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 11px;
  right: 11px;
  height: 2.5px;
  background: var(--svm-burgundy);
  border-radius: 2px;
}

/* Helpline button */
.svm-help-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: #faf6f7;
  border: 1px solid #f1e4e7;
  border-radius: 30px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}

.svm-help-contact:hover {
  background: #f6eaec;
  border-color: #e5cfd4;
}

.svm-help-contact .help-icon {
  font-size: 1.15rem;
  color: var(--svm-burgundy);
}

.svm-help-contact .help-label {
  font-size: 0.68rem;
  color: #857077;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.svm-help-contact .help-num {
  color: #1a1215;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.2;
}

.btn-svm-login {
  border: 1.5px solid #d4bfc3;
  color: var(--svm-burgundy);
  background: #ffffff;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 6px 18px;
  border-radius: 30px;
  white-space: nowrap;
  line-height: 1.4;
  transition: all 0.25s ease;
}

.btn-svm-login:hover {
  border-color: var(--svm-burgundy);
  background: var(--svm-burgundy-subtle);
  color: var(--svm-burgundy);
}

.btn-svm-register {
  background: var(--svm-burgundy);
  border: 1.5px solid var(--svm-burgundy);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 6px 18px;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(112, 17, 39, 0.18);
  white-space: nowrap;
  line-height: 1.4;
  transition: all 0.25s ease;
}

.btn-svm-register:hover {
  background: var(--svm-burgundy-dark);
  border-color: var(--svm-burgundy-dark);
  transform: translateY(-1px);
}

/* Professional Gold & VIP Upgrade Buttons */
.btn-svm-upgrade,
.btn-svm-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 45%, #fde68a 100%) !important;
  border: 1.5px solid #f59e0b !important;
  color: #92400e !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  padding: 8px 18px !important;
  border-radius: 50rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.2) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.btn-svm-upgrade:hover,
.btn-svm-gold:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.38) !important;
  transform: translateY(-2px) !important;
}

.btn-svm-upgrade:hover i,
.btn-svm-gold:hover i {
  color: #ffffff !important;
}

.btn-card-upgrade {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  border: 1px solid #fde68a !important;
  color: #b45309 !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-card-upgrade:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.btn-card-upgrade:hover i {
  color: #ffffff !important;
}

.btn-card-view {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-view:hover {
  background: #fdf2f4;
  border-color: #8e1027;
  color: #8e1027;
}

.btn-svm-primary {
  background: linear-gradient(135deg, var(--svm-burgundy-light) 0%, var(--svm-burgundy) 100%) !important;
  border: 1.5px solid var(--svm-burgundy) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(112, 17, 39, 0.25) !important;
  transition: all 0.25s ease !important;
  letter-spacing: 0.3px;
}

.btn-svm-primary:hover,
.btn-svm-primary:focus {
  background: linear-gradient(135deg, var(--svm-burgundy) 0%, var(--svm-burgundy-dark) 100%) !important;
  border-color: var(--svm-burgundy-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(112, 17, 39, 0.38) !important;
}

.btn-svm-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(112, 17, 39, 0.2) !important;
}

/* ==========================================================================
   Hero Section (Exact Replica of Reference Banner)
   ========================================================================== */
.svm-hero-section {
  background-color: #fdfaf7;
  background-image: url('../images/herobanner.jpeg?v=8');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 72% 38%;
  padding: 28px 0 105px 0;
  position: relative;
  overflow: hidden;
  min-height: 470px;
}

.svm-hero-mobile-section {
  width: 100%;
  background-color: #fdfaf7;
  overflow: hidden;
  position: relative;
}

.svm-mobile-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.svm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.svm-hero-title {
  font-family: var(--svm-font-serif);
  font-size: 2.85rem;
  line-height: 1.15;
  color: var(--svm-text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.svm-hero-title span.brand-name {
  color: var(--svm-burgundy);
  display: inline-block;
}

.svm-hero-subtitle {
  font-size: 0.96rem;
  color: #55444a;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 540px;
}

/* 4 Trust Highlights with dividers */
.svm-trust-badges {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 28px;
}

.svm-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 18px;
  position: relative;
}

.svm-trust-item:first-child {
  padding-left: 0;
}

.svm-trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #d6bfc3;
}

.svm-trust-icon {
  font-size: 1.6rem;
  color: var(--svm-burgundy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  width: auto;
  height: auto;
  transition: transform 0.2s ease;
}

.svm-trust-item:hover .svm-trust-icon {
  transform: translateY(-2px);
}

.svm-trust-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #33272b;
  line-height: 1.25;
}

/* Floating Quote on the Right: Good People Better Families (Moved Aside) */
.svm-hero-quote {
  position: absolute;
  right: 25px;
  top: 85px;
  z-index: 5;
  text-align: left;
}

.svm-hero-quote .quote-title {
  font-family: var(--svm-font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #1a1618;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.svm-hero-quote .quote-line {
  width: 48px;
  height: 2px;
  background: #1a1618;
  margin-top: 6px;
}

/* ==========================================================================
   Floating Match Search Box (Overlapping Bottom Portion of Hero)
   ========================================================================== */
.svm-search-container {
  margin-top: -85px;
  position: relative;
  z-index: 25;
  padding: 0 15px;
}

.svm-search-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #efe4e6;
  overflow: hidden;
}

/* Tabs: 100% Full-Width 3-tab layout matching reference design */
.svm-search-tabs {
  display: flex;
  width: 100%;
  background: #edf2f6;
  border-bottom: 1px solid #fae4e8;
}

.svm-search-tab-btn {
  flex: 1;
  padding: 11px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #382c31;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.svm-search-tab-btn:not(:first-child) {
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.svm-search-tab-btn.active {
  background: var(--svm-burgundy);
  color: #ffffff;
}

.svm-search-tab-btn:hover:not(.active) {
  color: var(--svm-burgundy);
  background: #e2e8ee;
}

.svm-search-body {
  background: #ffffff;
  padding: 18px 24px 14px 24px;
}

/* Exact 1-Row Filter Grid on Desktop */
.svm-filter-row,
.svm-desktop-filter-row {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.3fr 1.3fr 1.3fr 1.2fr;
  gap: 12px;
  align-items: flex-end;
}

.svm-filter-col {
  min-width: 0;
}

.svm-form-label {
  font-size: 0.80rem;
  font-weight: 600;
  color: #44353a;
  margin-bottom: 4px;
  display: block;
  white-space: nowrap;
}

.svm-select {
  border: 1.5px solid #ebd5d8;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.88rem;
  color: #332b2f;
  font-weight: 500;
  height: 40px;
  background-color: #ffffff;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.svm-select:focus {
  border-color: var(--svm-burgundy);
  box-shadow: 0 0 0 3px rgba(112, 17, 39, 0.12);
  outline: none;
}

.btn-search-submit {
  background: var(--svm-burgundy);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(112, 17, 39, 0.25);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-search-submit:hover {
  background: var(--svm-burgundy-dark);
  transform: translateY(-1px);
}

/* Popular Searches Pills */
.svm-popular-searches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f6eaec;
}

.popular-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #332b2f;
}

.popular-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.popular-tag {
  font-size: 0.80rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  background: #faedf0;
  border: 1px solid #f2d2d6;
  color: #4e353c;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.popular-tag:hover {
  background: var(--svm-burgundy);
  border-color: var(--svm-burgundy);
  color: #ffffff;
}

/* ==========================================================================
   Mobile-Specific Search Box Styles (Exact Reference Design)
   ========================================================================== */
.btn-mobile-call {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fceef0;
  color: #8e1027;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid #f7d5dc;
  transition: all 0.2s ease;
}
.btn-mobile-call:hover {
  background-color: #8e1027;
  color: #ffffff;
}

.svm-gender-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.svm-gender-toggle-btn {
  background-color: #fff2f4;
  color: #8e1027;
  border: 1.5px solid #f7d3da;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.svm-gender-toggle-btn.active {
  background-color: #8e1027;
  color: #ffffff;
  border-color: #8e1027;
  box-shadow: 0 4px 12px rgba(142, 16, 39, 0.25);
}

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

.svm-mobile-field-col.full-width {
  grid-column: span 2;
}

.svm-input-icon-wrap {
  position: relative;
  width: 100%;
}

.svm-field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8e1027;
  font-size: 0.95rem;
  z-index: 2;
  pointer-events: none;
}

.svm-select-mobile {
  padding-left: 36px !important;
  height: 44px;
  border: 1.5px solid #ebd5d8;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #2b2225;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.svm-select-mobile:focus {
  border-color: #8e1027;
  box-shadow: 0 0 0 3px rgba(142, 16, 39, 0.12);
  outline: none;
}

.btn-mobile-search-action {
  width: 100%;
  height: 46px;
  background-color: #8e1027;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(142, 16, 39, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-mobile-search-action:hover {
  background-color: #a81530;
}

.svm-mobile-popular-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #fae6e9;
  padding: 18px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.popular-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #8e1027;
  margin-bottom: 12px;
}

.mobile-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-popular-pill {
  background-color: #fff2f4;
  color: #382c31;
  border: 1px solid #f9d5dc;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.80rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-popular-pill:hover {
  background-color: #8e1027;
  color: #ffffff;
  border-color: #8e1027;
}

/* ==========================================================================
   Why Choose Us Section (5 Light Rose Cards)
   ========================================================================== */
.svm-why-choose-section {
  padding: 60px 0 50px 0;
  background: #ffffff;
}

.svm-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.svm-section-title {
  font-size: 2.25rem;
  color: var(--svm-text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.svm-section-sub {
  font-size: 1.02rem;
  color: #6b5c62;
  max-width: 650px;
  margin: 0 auto;
}

.svm-feature-card {
  background: var(--svm-rose-card);
  border: 1px solid #f6e1e4;
  border-radius: 14px;
  padding: 28px 16px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px rgba(112, 17, 39, 0.03);
}

.svm-feature-card:hover {
  transform: translateY(-5px);
  border-color: #dfb2b9;
  box-shadow: 0 12px 28px rgba(112, 17, 39, 0.08);
}

.svm-feature-icon {
  width: 58px;
  height: 58px;
  background: #ffffff;
  color: var(--svm-burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(112, 17, 39, 0.06);
  transition: all 0.3s ease;
}

.svm-feature-card:hover .svm-feature-icon {
  background: var(--svm-burgundy);
  color: #ffffff;
  transform: scale(1.05);
}

.svm-feature-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1a1215;
  margin-bottom: 8px;
}

.svm-feature-desc {
  font-size: 0.85rem;
  color: #695a60;
  margin-bottom: 0;
  line-height: 1.45;
}

/* ==========================================================================
   Featured Profiles Section & Cards (Exact Reference Style)
   ========================================================================== */
.svm-featured-profiles-section {
  padding: 50px 0 60px 0;
  background: #ffffff;
}

.svm-view-all-link {
  color: var(--svm-burgundy);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
}

.svm-view-all-link:hover {
  color: var(--svm-burgundy-dark);
}

.svm-profiles-slider-wrapper {
  position: relative;
}

.svm-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background: #ffffff;
  border: 1px solid #eed8dc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--svm-burgundy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  z-index: 10;
  padding: 0;
  transition: all 0.2s ease;
}

.svm-nav-arrow:hover {
  background: var(--svm-burgundy);
  color: #ffffff;
  border-color: var(--svm-burgundy);
}

.svm-nav-arrow.arrow-left {
  left: -18px;
}

.svm-nav-arrow.arrow-right {
  right: -18px;
}

.svm-profile-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0e1e4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.svm-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(112, 17, 39, 0.10);
  border-color: #dfb2b9;
}

.svm-card-img-wrap {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Ambient blurred background from user photo for full-bleed luxury look */
.svm-card-img-blur {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(20px) brightness(0.65) saturate(1.2);
  transform: scale(1.15);
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.svm-card-img-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Main uncropped foreground image: fits 100% inside container so face is never cut off */
.svm-card-img-wrap img,
.svm-card-img-main {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.28));
  transition: transform 0.35s ease;
  z-index: 2;
  position: relative;
}

.svm-profile-card:hover .svm-card-img-main,
.svm-profile-card:hover .svm-card-img-wrap img {
  transform: scale(1.035);
}

@media (max-width: 575.98px) {
  .svm-card-img-wrap {
    height: 220px;
  }
}

/* Detail Page Photo Styling - Ambient blur backdrop with fully contained foreground photo */
.svm-detail-img-wrap {
  position: relative;
  width: 100%;
  min-height: 380px;
  max-height: 480px;
  overflow: hidden;
  background: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.svm-detail-img-blur {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(24px) brightness(0.65) saturate(1.2);
  transform: scale(1.15);
  opacity: 0.65;
  z-index: 1;
  pointer-events: none;
}

.img-profile-detail {
  max-height: 480px;
  width: auto;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 2;
}

.svm-btn-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ebd5d8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b59fa4;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.svm-btn-heart:hover,
.svm-btn-heart.active {
  background: #ffffff;
  color: #e53935;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.2);
}

.svm-photo-shortlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.svm-photo-shortlist-btn:hover {
  transform: scale(1.1);
  background: #ffffff;
  color: #e11d48;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.25);
}

.svm-photo-shortlist-btn.active {
  background: #ffffff;
  color: #e11d48;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.btn-action-shortlist {
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-action-shortlist:hover {
  border-color: #8e1027;
  color: #8e1027;
  background-color: #fdf2f4;
}

.btn-action-shortlist.active {
  background-color: #fdf2f4;
  border-color: #e11d48;
  color: #e11d48;
}

.svm-card-info {
  padding: 12px 14px 14px 14px;
}

.svm-profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

.svm-profile-code {
  font-weight: 800;
  font-size: 0.96rem;
  color: #1a1215;
}

.svm-status-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
}

.svm-card-age-edu {
  font-size: 0.85rem;
  font-weight: 500;
  color: #4a3e43;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.svm-card-location {
  font-size: 0.80rem;
  color: #85747a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Full Width Burgundy Statistics Band (with vertical dividers)
   ========================================================================== */
.svm-stats-banner {
  background: var(--svm-burgundy);
  color: #ffffff;
  padding: 38px 0;
  position: relative;
}

.svm-stat-col {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.svm-stat-col:last-child {
  border-right: none;
}

.svm-stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 15px;
}

.svm-stat-icon {
  font-size: 2.3rem;
  color: #ffffff;
}

.svm-stat-text {
  text-align: left;
}

.svm-stat-value {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.svm-stat-label {
  font-size: 0.86rem;
  color: #ffd8de;
  font-weight: 500;
}

/* ==========================================================================
   Success Stories + Registration CTA
   ========================================================================== */
.svm-stories-cta-section {
  padding: 65px 0;
  background: #ffffff;
}

.svm-section-subtext {
  font-size: 0.95rem;
  color: #6b5c62;
}

.svm-story-slider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.story-arrow-left,
.story-arrow-right {
  position: static;
  flex-shrink: 0;
  transform: none;
}

.svm-story-card {
  background: #ffffff;
  border: 1px solid #f2dede;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 20px rgba(112, 17, 39, 0.05);
  flex-grow: 1;
  min-height: 160px;
}

.svm-story-avatar {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fae1e5;
  flex-shrink: 0;
}

.svm-story-quote {
  font-size: 0.92rem;
  color: #332b2f;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 8px;
}

.svm-story-author {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--svm-burgundy);
}

.svm-story-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8c3c7;
  display: inline-block;
  cursor: pointer;
  transition: all 0.25s ease;
}

.svm-story-dot.active {
  background: var(--svm-burgundy);
}

/* Right CTA Card */
.svm-cta-card {
  background: var(--svm-rose-card);
  border: 1px solid #f6e1e4;
  border-radius: 14px;
  padding: 30px 24px;
  box-shadow: 0 6px 20px rgba(112, 17, 39, 0.03);
}

.svm-cta-title {
  font-size: 1.70rem;
  color: var(--svm-burgundy);
  line-height: 1.24;
  margin-bottom: 12px;
}

.svm-cta-desc {
  font-size: 0.92rem;
  color: #5c4c52;
  margin-bottom: 18px;
  line-height: 1.5;
}

.btn-svm-cta {
  background: var(--svm-burgundy);
  color: #ffffff !important;
  font-weight: 600;
  padding: 9px 24px;
  border-radius: 6px;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-svm-cta:hover {
  background: var(--svm-burgundy-dark);
  transform: translateY(-1px);
}

.svm-cta-subtext {
  font-size: 0.80rem;
  color: #88767d;
}

.svm-cta-rings-img {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.svm-cta-rings-tagline {
  font-family: var(--svm-font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: #a07432;
  line-height: 1.35;
  margin-top: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.svm-footer {
  background: #1c1114;
  color: #ded1d5;
  padding: 55px 0 0 0;
  font-size: 0.9rem;
}

.svm-footer-brand img {
  height: 52px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.svm-footer-heading {
  font-family: var(--svm-font-sans);
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.svm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svm-footer-links li {
  margin-bottom: 10px;
}

.svm-footer-links a {
  color: #b5a4aa;
  transition: all 0.2s ease;
}

.svm-footer-links a:hover {
  color: #f7d58a;
  padding-left: 3px;
}

.svm-footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #b5a4aa;
}

.svm-footer-contact i {
  color: #f7d58a;
  font-size: 1rem;
}

.svm-social-icons {
  display: flex;
  gap: 10px;
}

.svm-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2b1d22;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 1px solid #3d2931;
}

.svm-social-btn:hover {
  background: var(--svm-burgundy);
  color: #f7d58a;
  transform: translateY(-2px);
  border-color: var(--svm-burgundy);
}

.svm-footer-bottom {
  border-top: 1px solid #2b1d22;
  padding: 22px 0;
  margin-top: 45px;
  font-size: 0.84rem;
  color: #8c7880;
}

.svm-footer-divider-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: #55444a;
}

.svm-footer-slogan {
  color: #bfaab1;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991px) {
  .svm-search-container {
    margin-top: 14px;
    padding: 0 10px;
  }

  .svm-search-card {
    border-radius: 16px;
    border: 1px solid #fae4e8;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  }

  .svm-search-tabs {
    display: flex;
    width: 100%;
    background: #fff2f4;
    border-bottom: 1px solid #fae2e6;
  }

  .svm-search-tab-btn {
    flex: 1;
    padding: 12px 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #8e1027;
    background: #fff2f4;
    border: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .svm-search-tab-btn.active {
    background: #8e1027 !important;
    color: #ffffff !important;
  }

  .svm-search-body {
    padding: 18px 14px 16px 14px;
    border-radius: 0 0 16px 16px;
  }

  .svm-stat-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .svm-stat-col:nth-child(3),
  .svm-stat-col:nth-child(4) {
    border-bottom: none;
  }

  .svm-stat-item {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .svm-search-container {
    margin-top: 10px;
    padding: 0 8px;
  }

  .svm-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.94rem;
  }

  .svm-trust-badges {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px !important;
    margin: 20px auto 0 auto !important;
  }

  .svm-trust-item {
    width: auto;
    padding: 0 8px;
  }

  .svm-trust-item:not(:last-child)::after {
    display: none;
  }

  .svm-search-tab-btn {
    padding: 10px 4px;
    font-size: 0.78rem;
  }

  .svm-stories-cta-section {
    padding: 36px 0;
  }

  .svm-story-slider-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .story-arrow-left,
  .story-arrow-right {
    display: flex !important;
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    position: static;
    flex-shrink: 0;
  }

  .svm-story-card {
    flex-direction: row;
    text-align: left;
    padding: 16px 14px;
    gap: 14px;
    border-radius: 12px;
    min-height: auto;
  }

  .svm-story-avatar {
    width: 62px;
    height: 62px;
  }

  .svm-story-quote {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 4px;
  }

  .svm-story-author {
    font-size: 0.80rem;
  }

  .svm-cta-card {
    padding: 24px 18px;
    border-radius: 14px;
    text-align: center;
  }

  .svm-cta-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .svm-cta-desc {
    font-size: 0.85rem;
    margin-bottom: 14px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
  }

  .btn-svm-cta {
    padding: 9px 24px;
    font-size: 0.90rem;
    border-radius: 8px;
  }

  .svm-cta-subtext {
    font-size: 0.78rem;
  }

  .svm-cta-rings-wrap {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(160, 116, 50, 0.25);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
  }

  .svm-cta-rings-img {
    width: 85px;
    height: 85px;
  }

  .svm-cta-rings-tagline {
    font-size: 0.82rem;
    margin-top: 6px;
    line-height: 1.3;
  }

  .svm-stat-value {
    font-size: 1.65rem;
  }

  .svm-feature-card {
    padding: 16px 10px;
    border-radius: 12px;
  }

  .svm-feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .svm-feature-title {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .svm-feature-desc {
    font-size: 0.75rem;
    line-height: 1.35;
  }
}

/* ==========================================================================
   Sticky Constant Search Filter Sidebar
   ========================================================================== */
@media (min-width: 992px) {
  .svm-search-sidebar-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 78px !important;
    max-height: calc(100vh - 90px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #dfb2b9 transparent;
    z-index: 1010;
  }

  .svm-search-sidebar-sticky::-webkit-scrollbar {
    width: 6px;
  }
  .svm-search-sidebar-sticky::-webkit-scrollbar-track {
    background: transparent;
  }
  .svm-search-sidebar-sticky::-webkit-scrollbar-thumb {
    background: #dfb2b9;
    border-radius: 10px;
  }
  .svm-search-sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: #701127;
  }
}