/*
Theme Name:  NikahConnect Child
Description: NikahConnect Matrimonial Website — Hello Elementor Child Theme
Author:      NikahConnect
Template:    hello-elementor
Version:     1.0.0
Tags:        matrimonial, wedding, matchmaking, pakistan, urdu, bilingual
Text Domain: nikahconnect
*/

/* ── GOOGLE FONTS ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Noto+Nastaliq+Urdu:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS VARIABLES ─────────────────────────────────────────────────────────── */
:root {
  --nc-maroon:      #7D1B2B;
  --nc-maroon-dark: #4E0F1A;
  --nc-maroon-light:#A02A3C;
  --nc-gold:        #C9A84C;
  --nc-gold-light:  #E2CA7E;
  --nc-gold-pale:   #FBF5E0;
  --nc-blush:       #FAF0F2;
  --nc-ivory:       #FDFAF5;
  --nc-text:        #1C1C1E;
  --nc-slate:       #4A4560;
  --nc-muted:       #8B8A94;
  --nc-border:      #E8D4D8;
  --nc-white:       #FFFFFF;
  --nc-font-display:'Playfair Display', Georgia, serif;
  --nc-font-body:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --nc-font-urdu:   'Noto Nastaliq Urdu', serif;
}

/* ── GLOBAL RESET & BASE ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--nc-font-body);
  color: var(--nc-text);
  background-color: var(--nc-ivory);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── TYPOGRAPHY ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--nc-font-display);
  color: var(--nc-maroon);
  line-height: 1.2;
}

.nc-urdu {
  font-family: var(--nc-font-urdu);
  direction: rtl;
  unicode-bidi: embed;
}

/* ── ELEMENTOR OVERRIDES ───────────────────────────────────────────────────── */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--nc-font-display) !important;
}

.elementor-widget-text-editor {
  font-family: var(--nc-font-body);
  line-height: 1.75;
  color: var(--nc-slate);
}

/* ── NAVIGATION ────────────────────────────────────────────────────────────── */
.nc-navbar {
  background: var(--nc-maroon);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nc-navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  text-decoration: none;
}

.nc-navbar-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--nc-gold), var(--nc-gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.nc-navbar-logo-title {
  font-family: var(--nc-font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--nc-gold-light);
  letter-spacing: 0.5px;
}

.nc-navbar-logo-urdu {
  font-family: var(--nc-font-urdu);
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  direction: rtl;
  margin-top: -2px;
  display: block;
}

.nc-navbar-menu {
  display: flex; gap: 4px; align-items: center;
}

.nc-navbar-menu a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.nc-navbar-menu a:hover,
.nc-navbar-menu a.active {
  background: rgba(201,168,76,0.18);
  border-color: rgba(201,168,76,0.5);
  color: var(--nc-gold-light);
  font-weight: 600;
}

.nc-navbar-cta {
  background: linear-gradient(135deg, var(--nc-gold), var(--nc-gold-light)) !important;
  color: var(--nc-maroon-dark) !important;
  font-weight: 700 !important;
  margin-left: 8px;
  border: none !important;
}

.nc-navbar-cta:hover {
  opacity: 0.92;
  background: linear-gradient(135deg, var(--nc-gold), var(--nc-gold-light)) !important;
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.nc-footer {
  background: var(--nc-maroon-dark);
  color: rgba(255,255,255,0.65);
  padding: 52px 28px 22px;
}

.nc-footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.nc-footer-brand-name {
  font-family: var(--nc-font-display);
  font-size: 21px;
  color: var(--nc-gold-light);
  margin-bottom: 5px;
}

.nc-footer-brand-urdu {
  font-family: var(--nc-font-urdu);
  font-size: 13px;
  color: var(--nc-gold);
  direction: rtl;
  margin-bottom: 14px;
  display: block;
}

.nc-footer h4 {
  font-family: var(--nc-font-display);
  color: var(--nc-gold-light);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
}

.nc-footer a {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.nc-footer a:hover { color: var(--nc-gold-light); }

.nc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ── BUTTONS ───────────────────────────────────────────────────────────────── */
.nc-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--nc-maroon), var(--nc-maroon-light));
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(125,27,43,0.3);
  text-decoration: none;
}

.nc-btn-primary:hover { opacity: 0.92; transform: translateY(-2px); }

.nc-btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--nc-gold), var(--nc-gold-light));
  color: var(--nc-maroon-dark) !important;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  text-decoration: none;
}

.nc-btn-gold:hover { opacity: 0.92; transform: translateY(-2px); }

.nc-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.nc-btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── CARDS ─────────────────────────────────────────────────────────────────── */
.nc-card {
  background: var(--nc-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(125,27,43,0.09);
  border: 1px solid var(--nc-border);
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.nc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(125,27,43,0.18);
}

.nc-how-it-works-card {
  background: var(--nc-white);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(125,27,43,0.07);
  border: 1px solid var(--nc-border);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.nc-step-number {
  position: absolute;
  top: 10px; right: 14px;
  font-family: var(--nc-font-display);
  font-size: 44px;
  font-weight: 700;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  pointer-events: none;
}

/* ── PROFILE CARDS ─────────────────────────────────────────────────────────── */
.nc-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 22px;
}

.nc-profile-photo {
  height: 175px;
  background: linear-gradient(135deg, var(--nc-blush), var(--nc-gold-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nc-profile-locked-overlay {
  position: absolute; inset: 0;
  background: rgba(253,250,245,0.8);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nc-verified-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--nc-maroon);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.nc-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.nc-tag-gold   { background: var(--nc-gold-pale); color: var(--nc-maroon); }
.nc-tag-blush  { background: var(--nc-blush);     color: var(--nc-maroon-light); }

/* ── TESTIMONIALS ──────────────────────────────────────────────────────────── */
.nc-testi-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
}

/* ── FORMS ─────────────────────────────────────────────────────────────────── */
.nc-form-wrap {
  background: var(--nc-white);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(125,27,43,0.1);
  border: 1px solid var(--nc-border);
  max-width: 700px;
  margin: 0 auto;
}

.nc-form-wrap input,
.nc-form-wrap select,
.nc-form-wrap textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--nc-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--nc-text);
  background: var(--nc-ivory);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--nc-font-body);
}

.nc-form-wrap input:focus,
.nc-form-wrap select:focus,
.nc-form-wrap textarea:focus {
  border-color: var(--nc-maroon);
  box-shadow: 0 0 0 3px rgba(125,27,43,0.1);
}

.nc-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--nc-slate);
  margin-bottom: 5px;
}

.nc-form-group { margin-bottom: 18px; }

/* ── MEMBERSHIP CARD ───────────────────────────────────────────────────────── */
.nc-price-card {
  background: var(--nc-white);
  border: 2px solid var(--nc-gold);
  border-radius: 22px;
  padding: 40px 36px 30px;
  box-shadow: 0 12px 48px rgba(125,27,43,0.14);
  position: relative;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.nc-price-badge {
  position: absolute;
  top: -16px;
  left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--nc-gold), var(--nc-gold-light));
  color: var(--nc-maroon-dark);
  padding: 6px 22px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nc-price-amount {
  font-family: var(--nc-font-display);
  font-size: 58px;
  font-weight: 700;
  color: var(--nc-maroon);
  line-height: 1;
}

/* ── SEARCH FILTERS ────────────────────────────────────────────────────────── */
.nc-search-bar {
  background: var(--nc-white);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(125,27,43,0.08);
  border: 1px solid var(--nc-border);
  margin-bottom: 20px;
}

.nc-search-bar select,
.nc-search-bar input {
  width: 100%;
  padding: 9px 10px;
  border: 1.5px solid var(--nc-border);
  border-radius: 7px;
  font-size: 13px;
  background: var(--nc-ivory);
  outline: none;
}

/* ── STEP INDICATOR ────────────────────────────────────────────────────────── */
.nc-step-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.nc-step-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  transition: all 0.3s;
}

.nc-step-dot.active   { background: var(--nc-maroon); color: #fff; }
.nc-step-dot.done     { background: var(--nc-gold);   color: var(--nc-maroon-dark); }
.nc-step-dot.inactive { background: var(--nc-border); color: var(--nc-muted); }

.nc-step-line {
  width: 70px; height: 2px;
  background: var(--nc-border);
  margin: 0 8px;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.nc-step-line.done { background: var(--nc-gold); }

/* ── SECTIONS (Elementor Section BG helpers) ───────────────────────────────── */
.nc-section-blush  { background-color: var(--nc-blush)  !important; }
.nc-section-ivory  { background-color: var(--nc-ivory)  !important; }
.nc-section-gold   { background-color: var(--nc-gold-pale) !important; }
.nc-section-maroon { background: linear-gradient(135deg, var(--nc-maroon-dark), var(--nc-maroon)) !important; }

/* ── DIVIDER GOLD ──────────────────────────────────────────────────────────── */
.nc-gold-divider {
  display: flex; align-items: center;
  gap: 12px; margin: 20px auto;
  max-width: 240px;
}

.nc-gold-divider::before,
.nc-gold-divider::after {
  content: '';
  flex: 1; height: 1px;
}

.nc-gold-divider::before { background: linear-gradient(to right, transparent, var(--nc-gold)); }
.nc-gold-divider::after  { background: linear-gradient(to left,  transparent, var(--nc-gold)); }

/* ── CUSTOM SCROLLBAR ──────────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--nc-gold); border-radius: 3px; }

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nc-navbar-menu { display: none; }
  .nc-navbar-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--nc-maroon-dark);
    padding: 12px 16px 20px;
    gap: 4px;
  }

  .nc-profile-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .nc-form-wrap { padding: 24px 18px; }
  .nc-price-card { padding: 32px 20px 24px; }
}
