/*
 * Pakistan Rishtay - Premium Homepage Redesign
 * Brand Colors: Emerald Green #4FA857 | Deep Red #D9233C
 * Theme: Light, Elegant, Modern Matrimonial
 */

/* =========================================
   GOOGLE FONTS IMPORT
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* =========================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================= */
:root {
  --pr-green: #4FA857;
  --pr-green-dark: #3a7d40;
  --pr-green-light: #e8f5e9;
  --pr-green-xlight: #f0faf0;
  --pr-red: #D9233C;
  --pr-red-dark: #a81829;
  --pr-red-light: #fdecea;
  --pr-white: #ffffff;
  --pr-bg: #f8fafc;
  --pr-bg-alt: #f5f7fa;
  --pr-text: #1a1a2e;
  --pr-text-muted: #6b7280;
  --pr-border: #e5e7eb;
  --pr-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --pr-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  --pr-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
  --pr-radius: 16px;
  --pr-radius-sm: 10px;
  --pr-radius-xl: 24px;
  --pr-font-body: 'Plus Jakarta Sans', sans-serif;
  --pr-font-heading: 'Playfair Display', serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   BASE OVERRIDES
   ========================================= */
body,
.slice,
.sct-color-1,
section {
  font-family: var(--pr-font-body) !important;
  color: var(--pr-text);
}

/* =========================================
   GLOBAL SECTION STYLES
   ========================================= */
.pr-section {
  padding: 80px 0;
  position: relative;
}

.pr-section-alt {
  background-color: var(--pr-bg-alt);
}

.pr-section-white {
  background-color: var(--pr-white);
}

/* Section Header */
.pr-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.pr-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pr-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pr-green);
  margin-bottom: 12px;
}

.pr-section-eyebrow::before,
.pr-section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--pr-green);
  border-radius: 2px;
}

.pr-section-eyebrow.red {
  color: var(--pr-red);
}

.pr-section-eyebrow.red::before,
.pr-section-eyebrow.red::after {
  background: var(--pr-red);
}

.pr-section-title {
  font-family: var(--pr-font-heading) !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 700 !important;
  color: var(--pr-text) !important;
  line-height: 1.25 !important;
  margin-bottom: 16px !important;
}

.pr-section-title .accent-green {
  color: var(--pr-green);
}

.pr-section-title .accent-red {
  color: var(--pr-red);
}

.pr-section-subtitle {
  font-size: 17px;
  color: var(--pr-text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.pr-gradient-text-green {
  background: linear-gradient(135deg, var(--pr-green) 0%, #34a34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pr-gradient-text-red {
  background: linear-gradient(135deg, var(--pr-red) 0%, #c01030 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pr-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--pr-green-light);
  color: var(--pr-green-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.pr-badge-red {
  background: var(--pr-red-light);
  color: var(--pr-red-dark);
}

/* =========================================
   BUTTONS
   ========================================= */
.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--pr-font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.pr-btn-green {
  background: var(--pr-green);
  color: #fff !important;
  border-color: var(--pr-green);
}

.pr-btn-green:hover {
  background: var(--pr-green-dark);
  border-color: var(--pr-green-dark);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 168, 87, 0.35);
}

.pr-btn-red {
  background: var(--pr-red);
  color: #fff !important;
  border-color: var(--pr-red);
}

.pr-btn-red:hover {
  background: var(--pr-red-dark);
  border-color: var(--pr-red-dark);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 35, 60, 0.35);
}

.pr-btn-outline-green {
  background: transparent;
  color: var(--pr-green) !important;
  border-color: var(--pr-green);
}

.pr-btn-outline-green:hover {
  background: var(--pr-green);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
}

.pr-btn-outline-white {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7);
}

.pr-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  text-decoration: none;
}

.pr-btn-sm {
  font-size: 13px;
  padding: 10px 22px;
}

.pr-btn-lg {
  font-size: 16px;
  padding: 16px 40px;
}

/* =========================================
   MARQUEE SECTION (careful.php)
   ========================================= */
.pr-marquee-section {
  background: linear-gradient(135deg, #fff5f6 0%, #fff0f0 100%);
  border-top: 3px solid var(--pr-red);
  border-bottom: 1px solid rgba(217, 35, 60, 0.12);
  padding: 10px 0;
  overflow: hidden;
}

.pr-marquee-section marquee h3 {
  font-family: var(--pr-font-body) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1a1a2e !important;
  margin: 4px 0 !important;
  line-height: 1.5 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
}

.pr-marquee-section marquee h3 span {
  color: var(--pr-red) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  font-weight: 700;
}

.pr-marquee-section .marquee-icon {
  color: var(--pr-red);
  font-size: 14px;
}

/* =========================================
   HERO / SLIDER SECTION
   ========================================= */
.pr-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1a2e;
}

.pr-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pr-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(26, 26, 46, 0.78) 0%,
      rgba(79, 168, 87, 0.18) 50%,
      rgba(217, 35, 60, 0.22) 100%);
  z-index: 1;
}

.pr-hero-floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.pr-hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: floatShape 8s ease-in-out infinite;
}

.pr-hero-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--pr-green);
  top: -80px;
  right: 10%;
  animation-delay: 0s;
}

.pr-hero-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--pr-red);
  bottom: 10%;
  left: 5%;
  animation-delay: 2s;
}

.pr-hero-shape-3 {
  width: 150px;
  height: 150px;
  background: var(--pr-green);
  top: 30%;
  right: 25%;
  animation-delay: 4s;
}

@keyframes floatShape {

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

  50% {
    transform: translateY(-25px) rotate(10deg);
  }
}

.pr-hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 60px;
}

.pr-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.pr-hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pr-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}

.pr-hero-title {
  font-family: var(--pr-font-heading) !important;
  font-size: clamp(32px, 5vw, 60px) !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.18 !important;
  margin-bottom: 20px !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.pr-hero-title .line-green {
  color: #6fcf6b;
}

.pr-hero-title .line-red {
  color: #f06070;
}

.pr-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  font-weight: 400;
}

.pr-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.pr-hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.pr-hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
}

.pr-hero-badge .badge-icon {
  width: 28px;
  height: 28px;
  background: rgba(79, 168, 87, 0.25);
  border: 1px solid rgba(79, 168, 87, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #6fcf6b;
  flex-shrink: 0;
}

/* Hero Search Card */
.pr-hero-search-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--pr-radius-xl);
  padding: 36px 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
}

.pr-hero-search-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pr-green) 0%, var(--pr-red) 100%);
}

.pr-search-card-title {
  font-family: var(--pr-font-heading) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--pr-text) !important;
  margin-bottom: 6px !important;
  line-height: 1.3 !important;
}

.pr-search-card-subtitle {
  font-size: 14px;
  color: var(--pr-text-muted);
  margin-bottom: 24px;
}

.pr-search-form .form-group label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--pr-text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  margin-bottom: 6px !important;
  white-space: nowrap;
}

.pr-search-form .form-control,
.pr-search-form select.form-control {
  border: 1.5px solid var(--pr-border) !important;
  border-radius: var(--pr-radius-sm) !important;
  font-family: var(--pr-font-body) !important;
  font-size: 14px !important;
  color: var(--pr-text) !important;
  background: #fff !important;
  padding: 10px 14px !important;
  height: auto !important;
  transition: var(--transition) !important;
  font-weight: 500 !important;
}

.pr-search-form .form-control:focus,
.pr-search-form select.form-control:focus {
  border-color: var(--pr-green) !important;
  box-shadow: 0 0 0 3px rgba(79, 168, 87, 0.12) !important;
  outline: none !important;
}

.pr-search-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--pr-green) 0%, var(--pr-green-dark) 100%);
  color: #fff !important;
  border: none;
  border-radius: var(--pr-radius-sm) !important;
  font-family: var(--pr-font-body) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 13px 24px !important;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  letter-spacing: 0.3px;
}

.pr-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 168, 87, 0.4);
  color: #fff !important;
  text-decoration: none;
}

/* Override for search button inside hero */
.pr-hero-search-card button[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, var(--pr-green) 0%, var(--pr-green-dark) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--pr-radius-sm) !important;
  font-family: var(--pr-font-body) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 13px 24px !important;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 16px;
  letter-spacing: 0.3px;
  border-radius: 100px !important;
}

.pr-hero-search-card button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 168, 87, 0.4) !important;
}

/* bootstrap-select fix in hero */
.pr-hero-search-card .bootstrap-select .btn {
  border: 1.5px solid var(--pr-border) !important;
  border-radius: var(--pr-radius-sm) !important;
  font-family: var(--pr-font-body) !important;
  font-size: 14px !important;
  background: #fff !important;
  color: var(--pr-text) !important;
}

/* =========================================
   STATS / TRUST SECTION
   ========================================= */
.pr-stats-section {
  background: #fff;
  padding: 56px 0;
  border-top: 1px solid var(--pr-border);
  border-bottom: 1px solid var(--pr-border);
}

.pr-stat-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--pr-radius);
  transition: var(--transition);
  position: relative;
}

.pr-stat-card:hover {
  transform: translateY(-6px);
}

.pr-stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.pr-stat-icon-green {
  background: var(--pr-green-light);
  color: var(--pr-green);
}

.pr-stat-icon-red {
  background: var(--pr-red-light);
  color: var(--pr-red);
}

.pr-stat-icon-blue {
  background: #e8f0fe;
  color: #4285f4;
}

.pr-stat-icon-orange {
  background: #fff3e0;
  color: #f57c00;
}

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

.pr-stat-number {
  font-family: var(--pr-font-heading) !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin-bottom: 6px !important;
  color: var(--pr-text) !important;
  display: block;
}

.pr-stat-label {
  font-size: 14px;
  color: var(--pr-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.pr-stat-divider {
  width: 1px;
  background: var(--pr-border);
  height: 80px;
  align-self: center;
}

/* =========================================
   CERTIFICATE / GOVT REGISTERED SECTION
   ========================================= */
.pr-cert-section {
  background: linear-gradient(135deg, var(--pr-bg-alt) 0%, #f0faf0 100%);
  padding: 64px 0;
}

.pr-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--pr-green-light), #fff);
  border: 1.5px solid rgba(79, 168, 87, 0.3);
  border-radius: 100px;
  padding: 8px 20px 8px 10px;
  margin-bottom: 20px;
}

.pr-cert-badge .badge-icon-circle {
  width: 32px;
  height: 32px;
  background: var(--pr-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

.pr-cert-badge span {
  font-size: 13px;
  font-weight: 700;
  color: var(--pr-green-dark);
  letter-spacing: 0.5px;
}

.pr-cert-img-wrapper {
  position: relative;
  border-radius: var(--pr-radius);
  overflow: hidden;
  box-shadow: var(--pr-shadow);
  border: 2px solid rgba(79, 168, 87, 0.2);
  transition: var(--transition);
  background: #fff;
}

.pr-cert-img-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: var(--pr-shadow-lg);
}

.pr-cert-img-wrapper img {
  width: 100%;
  display: block;
  border-radius: calc(var(--pr-radius) - 2px);
  border: none !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* =========================================
   HOW IT WORKS SECTION
   ========================================= */
.pr-hiw-section {
  background: var(--pr-white);
  padding: 80px 0;
}

.pr-hiw-step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .pr-hiw-step-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

.pr-hiw-card {
  background: #fff;
  border: 1.5px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.pr-hiw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

.pr-hiw-card:hover {
  border-color: var(--pr-green);
  transform: translateY(-8px);
  box-shadow: var(--pr-shadow-lg);
}

.pr-hiw-card:hover::before {
  background: linear-gradient(90deg, var(--pr-green) 0%, var(--pr-red) 100%);
}

.pr-hiw-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pr-green) 0%, var(--pr-green-dark) 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  font-family: var(--pr-font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(79, 168, 87, 0.35);
}

.pr-hiw-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--pr-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--pr-green);
  transition: var(--transition);
}

.pr-hiw-card:hover .pr-hiw-icon {
  background: var(--pr-green);
  color: #fff;
  transform: scale(1.05);
}

.pr-hiw-title {
  font-family: var(--pr-font-body) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--pr-text) !important;
  margin-bottom: 10px !important;
}

.pr-hiw-text {
  font-size: 14.5px;
  color: var(--pr-text-muted);
  line-height: 1.7;
  font-weight: 400;
}

.pr-hiw-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pr-border);
  font-size: 24px;
}

.pr-hiw-video-wrapper {
  border-radius: var(--pr-radius);
  overflow: hidden;
  box-shadow: var(--pr-shadow-lg);
  background: #000;
  position: relative;
}

.pr-hiw-video-wrapper video {
  width: 100%;
  display: block;
  border-radius: var(--pr-radius);
}

/* =========================================
   TRUST FEATURES SECTION
   ========================================= */
.pr-trust-section {
  background: var(--pr-bg-alt);
  padding: 56px 0;
}

.pr-trust-card {
  background: #fff;
  border-radius: var(--pr-radius);
  padding: 28px 24px;
  display: block;
  align-items: flex-start;
  gap: 18px;
  border: 1.5px solid var(--pr-border);
  transition: var(--transition);
  height: 100%;
}

.pr-trust-card:hover {
  border-color: var(--pr-green);
  box-shadow: var(--pr-shadow);
  transform: translateY(-4px);
}

.pr-trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.pr-trust-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--pr-text) !important;
  margin-bottom: 6px !important;
  font-family: var(--pr-font-body) !important;
}

.pr-trust-text {
  font-size: 13.5px;
  color: var(--pr-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   MATCHMAKING DIRECTORY (free_and_fun.php)
   ========================================= */
.pr-directory-section {
  background: var(--pr-white);
  padding: 80px 0;
}

.pr-dir-card {
  background: #fff;
  border: 1.5px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.pr-dir-card:hover {
  border-color: var(--pr-green);
  box-shadow: var(--pr-shadow);
}

.pr-dir-card-header {
  background: linear-gradient(135deg, var(--pr-green-light), #f0faf0);
  padding: 14px 18px;
  border-bottom: 1px solid rgba(79, 168, 87, 0.15);
  font-size: 14px;
  font-weight: 700;
  color: var(--pr-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pr-dir-card-body {
  padding: 16px;
}

.pr-dir-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pr-dir-chip {
  background: var(--pr-bg-alt);
  color: var(--pr-text);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  text-decoration: none !important;
  border: 1px solid var(--pr-border);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pr-dir-chip:hover {
  background: var(--pr-green);
  color: #fff !important;
  border-color: var(--pr-green);
  text-decoration: none !important;
  transform: translateY(-1px);
}

.pr-dir-chip a {
  color: inherit !important;
  text-decoration: none !important;
}

.pr-dir-chip:hover a {
  color: #fff !important;
}

.pr-abroad-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pr-bg-alt);
  border: 1px solid var(--pr-border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pr-text);
  text-decoration: none !important;
  transition: var(--transition);
}

.pr-abroad-chip img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

.pr-abroad-chip:hover {
  background: var(--pr-green);
  color: #fff !important;
  border-color: var(--pr-green);
  text-decoration: none !important;
}

.pr-abroad-chip a {
  color: inherit !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pr-abroad-chip:hover a {
  color: #fff !important;
}

/* =========================================
   PREMIUM MEMBERS CARDS
   ========================================= */
.pr-members-section {
  background: var(--pr-bg-alt);
  padding: 80px 0;
}

.pr-member-card {
  background: #fff;
  border-radius: var(--pr-radius);
  overflow: hidden;
  border: 1.5px solid var(--pr-border);
  transition: var(--transition);
  position: relative;
}

.pr-member-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pr-shadow-lg);
  border-color: transparent;
}

.pr-member-card .card-body {
  padding: 18px 20px !important;
  background: #fff;
}

.pr-member-card .home_pm {
  border-radius: 0 !important;
  height: 240px !important;
  transition: var(--transition);
}

.pr-member-card:hover .home_pm {
  transform: scale(1.04);
}

/* Premium badge overlay */
.pr-member-card::after {
  content: '✓ Verified';
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--pr-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  pointer-events: none;
}

/* =========================================
   PERSONALIZED MATCHMAKING SECTION
   ========================================= */
.pr-personalized-section {
  background: linear-gradient(135deg, #fff 0%, var(--pr-green-xlight) 100%);
  padding: 80px 0;
}

.pr-pm-feature-card {
  background: #fff;
  border: 1.5px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 28px 24px;
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pr-pm-feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--pr-green);
  border-radius: 0 2px 2px 0;
}

.pr-pm-feature-card.red-accent::before {
  background: var(--pr-red);
}

.pr-pm-feature-card.blue-accent::before {
  background: #4285f4;
}

.pr-pm-feature-card.orange-accent::before {
  background: #f57c00;
}

.pr-pm-feature-card:hover {
  border-color: var(--pr-green);
  box-shadow: var(--pr-shadow);
  transform: translateX(6px);
}

.pr-pm-feature-card.red-accent:hover {
  border-color: var(--pr-red);
}

.pr-pm-feature-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--pr-text) !important;
  margin-bottom: 8px !important;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pr-font-body) !important;
}

.pr-pm-feature-title i {
  color: var(--pr-green);
}

.red-accent .pr-pm-feature-title i {
  color: var(--pr-red);
}

.pr-pm-feature-text {
  font-size: 14px;
  color: var(--pr-text-muted);
  line-height: 1.7;
  margin: 0;
  padding-left: 26px;
}

/* =========================================
   SPECIAL FEATURES / APP SECTION
   ========================================= */
.pr-features-section {
  background: var(--pr-white);
  padding: 80px 0;
}

.pr-feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.pr-feature-row:last-child {
  margin-bottom: 0;
}

.pr-feature-row.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 767px) {

  .pr-feature-row,
  .pr-feature-row.reverse {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
  }
}

.pr-feature-img-wrap {
  flex: 0 0 42%;
  text-align: center;
  position: relative;
}

.pr-feature-img-wrap img {
  max-width: 240px;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  transition: var(--transition);
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.pr-feature-img-wrap:hover img {
  transform: translateY(-8px);
}

.pr-feature-content {
  flex: 1;
}

.pr-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.pr-feature-title {
  font-family: var(--pr-font-heading) !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 700 !important;
  color: var(--pr-text) !important;
  margin-bottom: 16px !important;
  line-height: 1.3 !important;
}

.pr-feature-text {
  font-size: 16px;
  color: var(--pr-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* =========================================
   PARALLAX / CTA SECTION
   ========================================= */
.pr-cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--pr-text);
  overflow: hidden;
}

.pr-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../../uploads/free_and_fun/parallax.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.pr-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(79, 168, 87, 0.25) 100%);
}

.pr-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.pr-cta-title {
  font-family: var(--pr-font-heading) !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 16px !important;
  line-height: 1.25 !important;
}

.pr-cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.pr-cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================================
   HAPPY STORIES / SUCCESS SECTION
   ========================================= */
.pr-stories-section {
  background: var(--pr-bg-alt);
  padding: 80px 0;
}

.pr-story-card {
  background: #fff;
  border: 1.5px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pr-story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pr-shadow-lg);
  border-color: var(--pr-red);
}

.pr-story-card .home_pm {
  border-radius: 0 !important;
  height: 220px !important;
  transition: var(--transition);
}

.pr-story-card:hover .home_pm {
  transform: scale(1.04);
}

.pr-story-card-body {
  padding: 20px;
  flex: 1;
}

.pr-story-date {
  font-size: 12px;
  color: var(--pr-text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.pr-story-title {
  font-family: var(--pr-font-body) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--pr-text) !important;
  line-height: 1.4 !important;
}

.pr-story-title a {
  color: var(--pr-text) !important;
  text-decoration: none !important;
  transition: var(--transition);
}

.pr-story-title a:hover {
  color: var(--pr-red) !important;
}

.pr-story-heart {
  width: 32px;
  height: 32px;
  background: var(--pr-red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pr-red);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 12px;
}

/* =========================================
   PACKAGES / PRICING SECTION
   ========================================= */
.pr-pricing-section {
  background: var(--pr-white);
  padding: 80px 0;
}

.pr-pricing-card {
  background: #fff;
  border: 1.5px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pr-pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--pr-shadow-lg);
  border-color: var(--pr-green);
}

.pr-pricing-card.featured {
  border-color: var(--pr-green);
  box-shadow: var(--pr-shadow-lg);
  transform: translateY(-8px) scale(1.02);
}

.pr-pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pr-green), var(--pr-green-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.pr-pricing-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

.pr-pricing-name {
  font-family: var(--pr-font-body) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--pr-text) !important;
  margin-bottom: 8px !important;
}

.pr-pricing-price {
  font-family: var(--pr-font-heading) !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  color: var(--pr-green) !important;
  margin-bottom: 6px !important;
  line-height: 1.1 !important;
}

.pr-pricing-price span {
  font-size: 18px !important;
  font-family: var(--pr-font-body) !important;
  color: var(--pr-text-muted) !important;
}

.pr-pricing-divider {
  height: 1px;
  background: var(--pr-border);
  margin: 20px 0;
}

.pr-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  flex: 1;
}

.pr-pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 8px 0;
  color: var(--pr-text);
  border-bottom: 1px solid var(--pr-bg-alt);
  font-weight: 500;
}

.pr-pricing-features li:last-child {
  border-bottom: none;
}

.pr-pricing-features li .feat-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.pr-pricing-features li .feat-icon.active {
  background: var(--pr-green-light);
  color: var(--pr-green);
}

.pr-pricing-features li .feat-icon.inactive {
  background: #f3f4f6;
  color: #9ca3af;
}

.pr-pricing-features li.text-line-through {
  color: var(--pr-text-muted);
  text-decoration: none !important;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.pr-contact-section {
  background: var(--pr-bg-alt);
  padding: 80px 0;
}

.pr-contact-card {
  background: #fff;
  border-radius: var(--pr-radius-xl);
  padding: 52px 48px;
  box-shadow: var(--pr-shadow);
  border: 1.5px solid var(--pr-border);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.pr-contact-title {
  font-family: var(--pr-font-heading) !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  color: var(--pr-text) !important;
  margin-bottom: 12px !important;
}

.pr-contact-text {
  font-size: 16px;
  color: var(--pr-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.pr-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--pr-bg-alt);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
  text-align: left;
  text-decoration: none !important;
  color: var(--pr-text) !important;
  transition: var(--transition);
}

.pr-contact-item:hover {
  border-color: var(--pr-green);
  background: var(--pr-green-light);
  text-decoration: none !important;
  transform: translateY(-2px);
}

.pr-contact-icon {
  width: 44px;
  height: 44px;
  background: var(--pr-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.pr-contact-item .item-label {
  font-size: 12px;
  color: var(--pr-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 2px;
}

.pr-contact-item .item-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--pr-text);
}

.pr-social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pr-social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--pr-bg-alt);
  border: 1.5px solid var(--pr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--pr-text-muted) !important;
  transition: var(--transition);
  text-decoration: none !important;
}

.pr-social-link:hover {
  background: var(--pr-green);
  border-color: var(--pr-green);
  color: #fff !important;
  transform: translateY(-3px);
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */
.pr-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.pr-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.pr-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.pr-reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.pr-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.pr-reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.pr-delay-1 {
  transition-delay: 0.1s;
}

.pr-delay-2 {
  transition-delay: 0.2s;
}

.pr-delay-3 {
  transition-delay: 0.3s;
}

.pr-delay-4 {
  transition-delay: 0.4s;
}

/* =========================================
   RESPONSIVE OVERRIDES
   ========================================= */
@media (max-width: 767px) {
  .pr-hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .pr-hero-content {
    padding: 100px 0 40px;
  }

  .pr-hero-search-card {
    padding: 24px 18px;
    margin-top: 32px;
  }

  .pr-hero-cta-group {
    flex-direction: column;
  }

  .pr-hero-cta-group .pr-btn {
    width: 100%;
    justify-content: center;
  }

  .pr-hero-trust-badges {
    gap: 12px;
  }

  .pr-stats-section {
    padding: 40px 0;
  }

  .pr-stat-divider {
    display: none;
  }

  .pr-section {
    padding: 56px 0;
  }

  .pr-contact-card {
    padding: 32px 24px;
  }

  .pr-hiw-step-cards {
    max-width: 100%;
  }

  /* ---- Proposal / Profile card bottom margin on mobile ---- */
  /* Premium members AJAX section */
  #home_premium_members_wrapper .col-md-3,
  #home_premium_members_wrapper .col-sm-6,
  #home_premium_members_wrapper [class*="col-"] {
    margin-bottom: 20px !important;
  }

  /* Happy stories cards */
  #happy-stories .col-md-3,
  #happy-stories .col-sm-6,
  #happy-stories [class*="col-"] {
    margin-bottom: 20px !important;
  }

  /* Stats bar cards */
  .pr-stats-section [class*="col-"] {
    margin-bottom: 16px !important;
  }

  /* How It Works trust mini-cards */
  #how-it-works .col-md-3,
  #how-it-works [class*="col-"] {
    margin-bottom: 16px !important;
  }

  /* Packages pricing cards */
  #packages [class*="col-"] {
    margin-bottom: 24px !important;
  }

  /* Directory city cards */
  #browse-categories [class*="col-"] {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 991px) {
  .pr-hero-search-card {
    margin-top: 40px;
  }

  .pr-pricing-card.featured {
    transform: none;
  }

  /* ---- Proposal card bottom margin on tablet ---- */
  #home_premium_members_wrapper .col-md-3,
  #home_premium_members_wrapper .col-sm-6 {
    margin-bottom: 20px !important;
  }

  #happy-stories .col-md-3,
  #happy-stories .col-sm-6 {
    margin-bottom: 20px !important;
  }
}

/* =========================================
   SKELETON LOADER OVERRIDES (preserve functionality)
   ========================================= */
.proposal-skeleton-grid .skeleton-card {
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--pr-radius) !important;
  border: 1.5px solid var(--pr-border) !important;
}

.proposal-skeleton-grid .skeleton-img,
.proposal-skeleton-grid .skeleton-line {
  background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 37%, #f0f0f0 63%) !important;
  background-size: 400% 100% !important;
  animation: pr-shimmer 1.6s infinite !important;
  border-radius: 8px !important;
}

@keyframes pr-shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

/* =========================================
   EXISTING CLASSES - OVERRIDE TO MATCH THEME
   ========================================= */
/* Override default section colours used by the framework */
.slice.sct-color-1,
section.slice.sct-color-1,
.sct-color-1 {
  background-color: transparent !important;
}

.matchmaking-bg {
  background: linear-gradient(135deg, var(--pr-bg-alt) 0%, #f0faf0 100%) !important;
}

/* Main heading override */
.main-heading {
  text-align: center !important;
}

.main-heading h2 {
  font-family: var(--pr-font-heading) !important;
  font-size: clamp(26px, 3.5vw, 38px) !important;
  font-weight: 700 !important;
  color: var(--pr-text) !important;
  line-height: 1.3 !important;
}

.main-heading img[src*="like.png"] {
  display: none !important;
  /* hide old divider icon, replaced by section eyebrows */
}

/* existing card class */
.card.card-hover--animation-1.z-depth-1-top.z-depth-2--hover.home-p-member {
  border-radius: var(--pr-radius) !important;
  border: 1.5px solid var(--pr-border) !important;
  box-shadow: var(--pr-shadow-sm) !important;
  overflow: hidden;
  transition: var(--transition) !important;
}

.card.card-hover--animation-1.z-depth-1-top.z-depth-2--hover.home-p-member:hover {
  box-shadow: var(--pr-shadow-lg) !important;
  transform: translateY(-8px);
  border-color: transparent !important;
}

/* =========================================
   NUMBER COUNTER ANIMATION
   ========================================= */
.pr-counter {
  display: inline-block;
}