/*
  SmartRishtey – Modern Redesign
  Only CSS changed. No .aspx / .aspx.cs / .master / .ascx files were touched.
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Nunito:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:        #c32143;
  --primary-dark:   #9e1a36;
  --primary-light:  #e8304f;
  --gold:           #d4a338;
  --gold-light:     #f5c842;
  --dark:           #1c1c2e;
  --dark-2:         #2d2d3a;
  --text:           #3a3a4a;
  --text-light:     #757585;
  --border:         #ebe8e4;
  --bg-light:       #fafaf8;
  --bg-warm:        #fdf8f4;
  --bg-cream:       #fff9f5;
  --white:          #ffffff;
  --shadow-xs:      0 1px 4px rgba(195,33,67,.07);
  --shadow-sm:      0 3px 12px rgba(0,0,0,.08);
  --shadow:         0 6px 24px rgba(0,0,0,.11);
  --shadow-lg:      0 12px 48px rgba(0,0,0,.15);
  --shadow-primary: 0 4px 20px rgba(195,33,67,.25);
  --radius-sm:      4px;
  --radius:         8px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --transition:     all 0.3s cubic-bezier(.4,0,.2,1);
}

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

html, body {
  font-family: 'Nunito', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-family: 'Playfair Display', 'Noto Sans JP', serif;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

p  { margin: 0; }
ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover, a:focus { color: var(--primary-dark); text-decoration: none; }

body a {
  -webkit-transition: var(--transition);
          transition: var(--transition);
}

img { max-width: 100%; }

input[type=radio] { margin: 2px 0 0; }

/* ============================================================
   HEADER  –  Top strip + sticky main nav
   ============================================================ */

/* ---------- Top announcement strip ---------- */
.nav-topstrip {
  background: linear-gradient(90deg, var(--dark) 0%, #2d1020 100%);
  padding: 8px 0;
  font-size: 12px;
  position: relative;
  z-index: 1001;
}

.nav-topstrip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-topstrip-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-topstrip-left a {
  color: rgba(255,255,255,.65);
  font-weight: 500;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}

.nav-topstrip-left a:hover { color: var(--white); }
.nav-topstrip-left a .fa { color: var(--primary); font-size: 11px; }

.nav-topstrip-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-topstrip-text { color: rgba(255,255,255,.5); font-size: 12px; }

.nav-topstrip-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .4px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-topstrip-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.nav-topstrip-cta .fa { font-size: 10px; }

/* ---------- Main nav wrapper (sticky) ---------- */
.nav-main-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s ease, background .3s ease;
}

/* Shadow deepens when scrolled past hero */
.nav-main-wrap.nav-scrolled .navbar-inner,
.nav-main-wrap.nav-scrolled .nav-main-inner {
  box-shadow: 0 4px 24px rgba(0,0,0,.13);
}

/* ---------- Navbar inner ---------- */
.navbar-inverse-blue .navbar-inner,
.navbar-inner,
.nav-main-inner {
  background: var(--white);
  border: none;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  position: relative;
  z-index: 1000;
}

.navbar-inner_1 {
  padding: 7px 0;
  background: var(--primary);
  border: none;
  box-shadow: 0 4px 16px rgba(195,33,67,.3);
}

.navbar {
  min-height: 100%;
  margin-bottom: 0;
  border: none;
  border-radius: 0;
}

.navbar-nav { margin: 0; float: right; }

/* ---------- Brand / Logo ---------- */
.brand {
  display: inline-block;
  padding: 0;
  width: 190px;         /* wider logo */
  vertical-align: middle;
}

.brand img {
  width: 100% !important;
  max-width: 190px;
  height: auto;
  margin: 10px 0;
  display: block;
}

.pull-right nav.navbar.nav_bottom { background: none; border: none; }
.nav_bottom { background: none; }

/* ---------- Nav items ---------- */
ul.nav_1 {
  float: right;        /* keep Bootstrap 3 float layout — flex breaks it */
  margin: 0;
}

ul.nav_1 li { display: inline-block; margin-right: 0; }

/* Base link style */
ul.nav_1 > li > a,
.navbar-nav > li > a {
  position: relative;
  padding: 26px 13px;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .2px;
  text-align: center;
  background: none !important;
  transition: color .25s;
}

/* Animated underline on hover */
ul.nav_1 > li > a::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 20px);
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .25s ease;
}

ul.nav_1 > li > a:hover::after,
ul.nav_1 > li.active > a::after,
ul.nav_1 > li.open > a::after {
  transform: translateX(-50%) scaleX(1);
}

ul.nav_1 > li > a:hover,
ul.nav_1 > li > a:focus { color: var(--primary) !important; }

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus,
.nav > li > a:hover,
.nav > li > a:focus {
  background: none !important;
  color: var(--primary) !important;
}

/* Caret replacement with Font Awesome angle */
.nav-caret { margin-left: 3px; font-size: 11px; vertical-align: middle; }
.caret { display: none; } /* hide Bootstrap default caret */

/* ---------- Dropdown menus ---------- */
.dropdown-menu {
  right: 0 !important;
  left: inherit;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.14);
  padding: 8px 0;
  min-width: 210px;
  animation: dropDown .2s cubic-bezier(.4,0,.2,1);
  top: calc(100% + 2px);
  border-top: 3px solid var(--primary);
}

@keyframes dropDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-menu > li > a {
  color: var(--text) !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(0,0,0,.04);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .18s, color .18s, padding-left .18s;
}

.dropdown-menu > li > a .fa {
  width: 16px;
  text-align: center;
  color: var(--primary);
  opacity: .7;
  font-size: 12px;
  flex-shrink: 0;
}

.dropdown-menu > li > a:hover {
  background: var(--bg-warm) !important;
  color: var(--primary) !important;
  padding-left: 22px;
}

.dropdown-menu > li > a:hover .fa { opacity: 1; }
.dropdown-menu > li:last-child > a { border-bottom: none; }
.dropdown-menu.columns-2 { min-width: 400px; }
.dropdown-menu.columns-3 { min-width: 550px; }

/* ---------- Auth buttons (Login / Account / Logout) ---------- */

/* Login – filled red pill */
li#liLogin > a,
li.nav-auth-btn:not(.nav-account-btn):not(.nav-logout-btn) > a {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important;
  border-radius: 24px !important;
  padding: 9px 22px !important;
  margin: 16px 0 16px 8px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .5px;
  box-shadow: var(--shadow-primary);
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  line-height: normal;
  transition: var(--transition) !important;
}

li#liLogin > a::after,
li.nav-auth-btn:not(.nav-account-btn):not(.nav-logout-btn) > a::after { display: none !important; }

li#liLogin:hover > a,
li.nav-auth-btn:not(.nav-account-btn):not(.nav-logout-btn):hover > a {
  background: linear-gradient(135deg, var(--primary-dark), #7a1228) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(195,33,67,.4) !important;
}

/* My Account – outlined pill */
li#liMyAccount > a,
li.nav-account-btn > a {
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  border-radius: 24px !important;
  padding: 8px 18px !important;
  margin: 16px 0 16px 8px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  line-height: normal;
  background: transparent !important;
  transition: var(--transition) !important;
}

li#liMyAccount > a::after,
li.nav-account-btn > a::after { display: none !important; }

li#liMyAccount:hover > a,
li.nav-account-btn:hover > a {
  background: var(--primary) !important;
  color: var(--white) !important;
}

/* Logout – ghost text link */
li#liLogOut > a,
li.nav-logout-btn > a {
  color: var(--text-light) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 26px 10px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  background: none !important;
  transition: color .2s !important;
}

li#liLogOut > a::after,
li.nav-logout-btn > a::after { display: none !important; }

li#liLogOut:hover > a,
li.nav-logout-btn:hover > a { color: var(--primary) !important; }

/* ---------- Custom hamburger ---------- */

/* Hidden on desktop — Bootstrap 3 already does this but we reinforce it */
.navbar-header.nav_2,
.navbar-toggle,
.navbar-toggle1,
.nav-hamburger {
  display: none !important;
}

/* Only show on mobile */
@media (max-width: 767px) {
  .navbar-header.nav_2 { display: block !important; }
  .navbar-toggle,
  .navbar-toggle1,
  .nav-hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent !important;
    border: 2px solid var(--primary) !important;
    border-radius: var(--radius-sm) !important;
    padding: 7px 9px !important;
    margin-top: 16px !important;
    margin-bottom: 10px !important;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }
}

.nav-ham-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* Animate to X when open */
.navbar-toggle[aria-expanded="true"] .nav-ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle[aria-expanded="true"] .nav-ham-bar:nth-child(2) { opacity: 0; }
.navbar-toggle[aria-expanded="true"] .nav-ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Legacy toggle fallback */
.navbar-toggle .icon-bar { background-color: var(--primary); }

/* ---------- Navbar brand (text fallback) ---------- */
.navbar-brand {
  height: 100%; padding: 0;
  margin: 20px 0 0; padding-left: 15px;
  font-size: 36px; text-transform: uppercase;
  letter-spacing: 3px; font-weight: 700; color: var(--primary);
}

.navbar-default { background-color: var(--gold) !important; border-color: var(--gold); border-radius: 0; }
.navbar-default .navbar-nav > li > a { color: var(--white); font-weight: 600; }
.navbar-default .navbar-brand { color: var(--white); }
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus { color: var(--white); background: transparent; }

/* ---------- Legacy colorNav (kept for safety) ---------- */
.navigation { float: left; margin-right: 3%; margin-top: 15px; }
#colorNav > ul { padding: 0; margin: 0; }
#colorNav > ul > li { list-style: none; position: relative; }
#colorNav > ul > li > a { color: inherit; text-decoration: none !important; }
#colorNav li ul {
  position: absolute; list-style: none; text-align: center; padding: 0;
  width: 180px; left: 50%; margin-left: -90px; top: 32px;
  max-height: 0; overflow: hidden; transition: max-height .4s linear; z-index: 1;
}
#colorNav li ul li { background: var(--dark-2); }
#colorNav li ul li a { padding: 8px; color: #fff !important; display: block; font-size: 13px; text-decoration: none !important; }
#colorNav li ul li:nth-child(odd) { background: #353545; }
#colorNav li ul li:hover { background: var(--primary); }
#colorNav li ul li:first-child { border-radius: 3px 3px 0 0; margin-top: 19px; position: relative; }
#colorNav li ul li:first-child:before {
  content: ''; position: absolute; width: 1px; height: 1px;
  border: 5px solid transparent; border-bottom-color: var(--dark-2);
  left: 50%; top: -10px; margin-left: -5px;
}
#colorNav li ul li:last-child { border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }
#colorNav li:hover ul { max-height: 200px; }
#colorNav li.green:after {
  font-family: 'fontawesome'; content: "\f0c9"; display: inline-block;
  font-size: 20px; color: var(--white); position: relative; top: 11px; transition: .4s;
}

/* Socials */
.socials { padding: 0; margin: 10px 0 0; list-style: none; }
.socials li:first-child { padding-left: 0; }
.socials li { display: inline-block; padding: 0 5px; }
.socials li a { color: var(--white); font-size: 20px; }

/* Multi-column dropdown */
.multi-column-dropdown { list-style: none; padding: 0; margin: 0; }
.multi-column-dropdown li a { display: block; clear: both; line-height: 1.43; color: var(--text); white-space: normal; }
.multi-column-dropdown li a:hover { text-decoration: none; color: var(--primary); background: var(--bg-warm); }
.mega-dropdown { position: static !important; }
.mega-dropdown-menu { padding: 20px 15px 15px; text-align: center; width: 100%; }
.nav-list { border-bottom: 1px solid var(--border); }
.nav-list > li { padding: 20px 15px 15px; border-left: 1px solid var(--border); margin-right: 0 !important; }
.nav-list > li:last-child { border-right: 1px solid var(--border); }
.nav-list > li > a:hover { text-decoration: none; }
.nav-list > li > a > span { display: block; font-weight: 700; text-transform: uppercase; }

/* ---------- Mobile nav ---------- */
@media (max-width: 767px) {

  /* ── Reset all heights / margins ── */
  .nav_bottom        { margin-top: 0 !important; }
  .navbar-inner,
  .nav-main-inner    { height: auto !important; padding: 0 !important; }

  /* ── Container: logo left, hamburger right ── */
  .navbar-inner .container,
  .nav-main-inner .container {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px !important;
    position: relative; /* containing block for the dropdown */
  }

  .brand              { margin: 0 !important; width: 140px !important; flex-shrink: 0; }
  .brand img          { max-width: 140px !important; margin: 8px 0 !important; }

  /* pull-right: shrinks to just hold the hamburger button */
  .pull-right         { float: none !important; flex-shrink: 0; }

  /* ── KEY FIX: remove Bootstrap's position:relative from nav_bottom ──
     Without this, #bs-megadropdown-tabs is positioned relative to this
     narrow float — not the full-width container.               ── */
  nav.navbar.nav_bottom {
    position: static !important;   /* ← the critical line */
    margin:   0 !important;
    padding:  0 !important;
    background: none !important;
  }

  .navbar-header.nav_2 {
    float: none !important;
    margin: 0 !important;
  }

  /* ── Fullscreen dropdown: now relative to .container which is full-width ── */
  div#bs-megadropdown-tabs {
    position: absolute !important;
    top:   100% !important;
    left:  0    !important;
    right: 0    !important;
    width: 100% !important;
    background: var(--white);
    border-top: 3px solid var(--primary);
    box-shadow: 0 12px 40px rgba(0,0,0,.16);
    z-index: 9999;
    max-height: 80vh;
    overflow-y: auto;
  }

  /* ── Nav list: full-width stacked ── */
  ul.nav_1 {
    float: none !important;
    width: 100% !important;
    padding: 6px 0 10px;
    margin: 0 !important;
  }

  ul.nav_1 > li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  /* Nav link row */
  ul.nav_1 > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid var(--border) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--dark) !important;
    background: none !important;
    width: 100% !important;
  }

  ul.nav_1 > li > a::after { display: none !important; }

  /* ── Accordion +/- icon (injected by JS) ── */
  .mob-acc-icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 16px; font-weight: 700;
    display: inline-flex;
    align-items: center; justify-content: center;
    flex-shrink: 0; line-height: 1;
    transition: background .2s, color .2s;
    margin-left: auto;
  }

  .mob-acc-open > a .mob-acc-icon {
    background: var(--primary);
    color: var(--white);
  }

  /* ── Submenu accordion panel ── */
  .mob-submenu {
    display: none;
    background: #fdf4f4;
    border-left: 4px solid var(--primary);
    width: 100%;
  }

  .mob-submenu li { display: block !important; width: 100% !important; }

  .mob-submenu li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 12px 20px 12px 28px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    border-bottom: 1px solid var(--border) !important;
    transition: background .15s, padding-left .15s !important;
    background: none !important;
  }

  .mob-submenu li:last-child a { border-bottom: none !important; }

  .mob-submenu li a .fa {
    color: var(--primary);
    font-size: 13px; width: 16px; text-align: center; flex-shrink: 0;
  }

  .mob-submenu li a:hover {
    background: rgba(195,33,67,.05) !important;
    color: var(--primary) !important;
    padding-left: 34px !important;
  }

  /* Hide Bootstrap default dropdown on mobile */
  .dropdown-menu          { display: none !important; }
  .open > .dropdown-menu  { display: none !important; }

  /* ── Auth buttons on mobile ── */
  li#liLogin > a,
  li.nav-auth-btn:not(.nav-account-btn):not(.nav-logout-btn) > a {
    margin: 10px 16px 6px !important;
    display: inline-flex !important;
    width: auto !important;
    padding: 10px 22px !important;
    border-radius: 24px !important;
    justify-content: center !important;
  }

  li#liMyAccount > a,
  li.nav-account-btn > a,
  li#liLogOut > a,
  li.nav-logout-btn > a {
    margin: 6px 16px 10px !important;
    display: inline-flex !important;
    width: auto !important;
    padding: 10px 22px !important;
    border-radius: 24px !important;
    justify-content: center !important;
  }

  .nav-topstrip-left { display: none; }

  /* Bottom padding so floating buttons don't overlap content */
  body { padding-bottom: 80px; }
}

/* ---------- Floating mobile WhatsApp + Call ---------- */
.mob-float-btns {
  display: none;
}

@media (max-width: 767px) {
  .mob-float-btns {
    display: flex;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    gap: 12px;
    z-index: 9998;
    width: max-content;
  }

  .mob-float-wa,
  .mob-float-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 50px;
    color: var(--white) !important;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .3px;
    text-decoration: none !important;
    box-shadow: 0 6px 24px rgba(0,0,0,.25);
    transition: transform .2s, box-shadow .2s;
  }

  .mob-float-wa:hover,
  .mob-float-call:hover {
    transform: translateY(-2px);
    color: var(--white) !important;
  }

  .mob-float-wa {
    background: #25D366;
    box-shadow: 0 6px 20px rgba(37,211,102,.4);
  }

  .mob-float-wa:hover { box-shadow: 0 8px 28px rgba(37,211,102,.55); }

  .mob-float-call {
    background: var(--primary);
    box-shadow: 0 6px 20px rgba(195,33,67,.4);
  }

  .mob-float-call:hover { box-shadow: 0 8px 28px rgba(195,33,67,.55); }

  .mob-float-wa .fa,
  .mob-float-call .fa { font-size: 16px; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  ul.nav_1 > li > a,
  .navbar-nav > li > a { padding: 24px 8px; font-size: 12.5px; }
  .brand { width: 160px; }
  .brand img { max-width: 160px; }
}

@media (min-width: 1280px) {
  .navbar-inner,
  .nav-main-inner { height: 72px; }
  .brand { width: 170px; }
  .brand img { max-width: 170px; }
  ul.nav_1 > li > a,
  .navbar-nav > li > a { padding: 24px 14px; }
}

/* ============================================================
   LOGIN / FORGOT PASSWORD MODAL
   ============================================================ */

/* Centred dialog */
.modal-login {
  width: 400px;
  top: 50%;
  margin: 0;
  left: 50%;
  transform: translate(-50%, -50%) !important;
}

.modal-login .modal-content {
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  overflow: hidden;
}

/* ---- Header ---- */
.modal-login .modal-header {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1020 60%, var(--primary-dark) 100%);
  padding: 32px 30px 24px;
  border: none;
  position: relative;
  text-align: center;
}

/* Icon circle */
.modal-login-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
  color: var(--white);
}

.modal-login .modal-title {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.6em;
  font-weight: 700;
  margin: 0 0 6px;
  text-align: center;
}

.modal-login-sub {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  text-align: center;
  margin: 0;
}

/* Close button */
.modal-login .close {
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(255,255,255,.7);
  font-size: 22px;
  opacity: 1;
  line-height: 1;
  transition: color .2s;
}

.modal-login .close:hover { color: var(--white); }

/* ---- Body ---- */
.modal-login .modal-body {
  padding: 28px 30px 16px;
  background: var(--white);
}

.modal-login .form-group { margin-bottom: 16px; }

.modal-login label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-login label .fa {
  color: var(--primary);
  margin-right: 6px;
  font-size: 11px;
}

/* Forgot password link inside label */
.nav-forgot-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary) !important;
  text-transform: none;
  letter-spacing: 0;
  float: right;
}

.nav-forgot-link:hover { color: var(--primary-dark) !important; text-decoration: underline; }

/* Input fields */
.modal-login .form-control {
  min-height: 44px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 14px;
  padding: 10px 16px;
  color: var(--text);
  background: var(--bg-light);
  transition: border-color .2s, box-shadow .2s;
}

.modal-login .form-control:focus {
  border-color: var(--primary) !important;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(195,33,67,.1) !important;
  outline: none;
}

/* ---- Footer ---- */
.modal-login .modal-footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
}

.modal-remember {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  margin: 0;
}

.modal-login .btn.loginbtn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  min-width: 110px;
  min-height: 40px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .5px;
  padding: 10px 24px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  cursor: pointer;
}

.modal-login .btn.loginbtn:hover,
.modal-login .btn.loginbtn:focus {
  background: linear-gradient(135deg, var(--primary-dark), #7a1228);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(195,33,67,.4);
}

/* ---- Register link row ---- */
.modal-login-footer {
  background: var(--white);
  padding: 14px 30px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.modal-login-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--text-light);
}

.modal-login-footer a {
  color: var(--primary);
  font-weight: 700;
}

.modal-login-footer a:hover { color: var(--primary-dark); }

/* Alert inside modal */
.modal-login .alert { border-radius: var(--radius-sm); font-size: 13px; margin-top: 4px; }

/* Misc */
.modal-login .hint-text   { text-align: center; }
.modal-login .hint-text a { color: var(--text-light); }
.modal-login .checkbox-inline { margin-top: 12px; }
.modal-login input[type="checkbox"] { margin-top: 2px; }

.trigger-btn { display: inline-block; margin: 100px auto; }

/* ---- Responsive ---- */
@media (max-width: 480px) {
  .modal-login { width: 94vw; }
  .modal-login .modal-body,
  .modal-login .modal-footer,
  .modal-login-footer { padding-left: 18px; padding-right: 18px; }
  .modal-login .modal-header { padding: 24px 18px 18px; }
}

/* ============================================================
   BANNER / CAROUSEL
   ============================================================ */
.banner {
  position: relative;
  /* No overflow:hidden — keeps the absolute form-section visible */
}

.banner .carousel-inner img {
  width: 100%;
  height: 420px;         /* reduced fixed height */
  object-fit: cover;
  object-position: center top;
  display: block;
}

.banner_info { margin: 10em 0 0; }

.banner_info h3 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 4em;
  margin-bottom: 30px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}

/* Registration / Search form panel */
.form-section {
  width: 380px;
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: 40px;
  padding: 22px 24px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
  overflow-y: auto;
  z-index: 10;
}

.form-section > div { height: 100%; }

.form-section .tab-content {
  height: auto;
  overflow-y: visible;
  overflow-x: hidden;
}

.form-section label {
  font-weight: 600;
  font-size: 12px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-section .form-group { margin-bottom: 8px; }

/* Nav tabs */
.nav-tabs { border-bottom: 2px solid var(--primary); }

.nav-tabs > li > a,
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
  border: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  text-transform: capitalize;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active a,
.nav-tabs > li.active:hover a {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.form-section .nav-tabs > li > a,
.form-section .nav-tabs > li > a:hover,
.form-section .nav-tabs > li > a:focus,
.form-section .nav-tabs > li.active > a,
.form-section .nav-tabs > li.active > a:hover,
.form-section .nav-tabs > li.active > a:focus { color: var(--primary); text-transform: capitalize; }

.form-section .nav-tabs > li.active a,
.form-section .nav-tabs > li.active:hover a { background-color: var(--primary); color: var(--white); }

.form-section .nav .open > a,
.form-section .nav .open > a:hover,
.form-section .nav .open > a:focus,
.form-section .nav > li > a:hover,
.form-section .nav > li > a:focus {
  background-color: var(--primary) !important;
  border-color: var(--primary);
  color: var(--white) !important;
}

.tab-content > .active { margin-top: 12px; }

/* Form controls */
.form-control {
  box-shadow: none !important;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  height: 36px;
}

.form-control:focus,
.form-text:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(195,33,67,.1) !important;
  outline: none;
}

.form-text, .form-textarea, .form-select {
  display: block; width: 100%; height: 36px;
  padding: 6px 12px; font-size: 13px; line-height: 1.43;
  color: var(--text-light); background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.input-group input[type="text"], select {
  box-shadow: none; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 13px; padding: 5px 10px; width: 100%; color: var(--text); outline: none;
  transition: border-color .2s;
}

input.transparent { background: var(--white); border: none; outline: none; font-size: 12px; padding: 5px; color: var(--text); }
label.gender_1 { display: inline-block; max-width: 100%; margin-right: 10px; font-weight: 500; font-size: 13px; color: var(--text-light); }

.dob-spacing { margin-top: 4px; }
.age_box2 .form-inline .form-control { width: 80px; }

/* Register / search button */
button#btnRegister,
button.hvr-wobble-vertical,
input#submit-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none; outline: none;
  font-family: 'Nunito', sans-serif;
  font-size: 14px; font-weight: 700;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  letter-spacing: .5px;
  margin-top: 10px;
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

button#btnRegister:hover,
button.hvr-wobble-vertical:hover,
input#submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #7a1228 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(195,33,67,.35);
}

@keyframes hvr-wobble-vertical {
  16.65% { transform: translateY(8px); }
  33.3%  { transform: translateY(-6px); }
  49.95% { transform: translateY(4px); }
  66.6%  { transform: translateY(-2px); }
  83.25% { transform: translateY(1px); }
  100%   { transform: translateY(0); }
}

.hvr-wobble-vertical { display: inline-block; vertical-align: middle; transform: translateZ(0); }
.hvr-wobble-vertical:hover,
.hvr-wobble-vertical:focus,
.hvr-wobble-vertical:active { animation: hvr-wobble-vertical 1s ease-in-out 1; }

/* Shutter Out Horizontal */
.hvr-shutter-out-horizontal {
  display: inline-block; vertical-align: middle; transform: translateZ(0);
  backface-visibility: hidden; position: relative;
  background: var(--primary); transition-property: color; transition-duration: .3s;
  padding: 12px 40px; border: 2px solid var(--white);
  color: var(--white); font-size: 18px; font-weight: 700;
  border-radius: var(--radius-sm); letter-spacing: .5px;
}

.hvr-shutter-out-horizontal:before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: 0; right: 0;
  background: var(--dark); transform: scaleX(0); transform-origin: 50%;
  transition: transform .3s ease-out;
}

.hvr-shutter-out-horizontal:hover,
.hvr-shutter-out-horizontal:focus,
.hvr-shutter-out-horizontal:active { color: var(--white); text-decoration: none; }

.hvr-shutter-out-horizontal:hover:before,
.hvr-shutter-out-horizontal:focus:before,
.hvr-shutter-out-horizontal:active:before { transform: scaleX(1); }

/* ============================================================
   HEART DIVIDER
   ============================================================ */
.heart-divider { height: 100%; width: 100%; margin: 1.8em auto; text-align: center; }

.grey-line { width: 40px; height: 8px; display: inline-block; border-top: 2px solid var(--border); }
.pink-heart { color: var(--primary); font-size: 18px; position: relative; z-index: 3; }
.grey-heart  { color: var(--border); font-size: 18px; margin-left: -15px; position: relative; z-index: 2; }

/* ============================================================
   GRID 1 – FEATURED PROFILES
   ============================================================ */
.grid_1 { padding: 5em 0; background: var(--bg-warm); }

.grid_1 h1,
.grid_2 h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.4em;
  color: var(--dark);
  margin-bottom: 0;
  font-weight: 700;
}

.col_1 {
  position: relative; overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding-bottom: 16px;
  transition: var(--transition);
  margin: 4px;
}

.col_1:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.col_1.frame-border { border: 4px solid var(--white); }
.col_1 img { width: 100%; display: block; }

.col_1 h3 {
  font-family: 'Nunito', sans-serif; font-size: 13px;
  line-height: 1.7em; margin: 10px 12px 0;
  color: var(--text); font-weight: 600;
}

.col_1 a { display: block; }
.col_1 a:hover { color: var(--text); }
span.m_3 { color: var(--primary); font-weight: 700; }
span.m_1 { font-weight: 800; }

/* flexisel */
.nbs-flexisel-container { position: relative; max-width: 100%; }
.nbs-flexisel-ul { position: relative; width: 9999px; margin: 0; padding: 0; list-style-type: none; text-align: center; }
.nbs-flexisel-inner { overflow: hidden; margin: 0 auto; width: 90%; }
.nbs-flexisel-item { float: left; padding: 0; position: relative; line-height: 0; margin-left: 8px; min-height: 220px; min-width: 171px; }
.nbs-flexisel-item:first-child { margin-left: 0; }
.nbs-flexisel-item > img { cursor: pointer; position: relative; }

.nbs-flexisel-nav-left,
.nbs-flexisel-nav-right { position: absolute; cursor: pointer; z-index: 100; margin-top: 0; }
.nbs-flexisel-nav-left  { left: 0; }
.nbs-flexisel-nav-right { right: 0; }

.nbs-flexisel-nav-left:after,
.nbs-flexisel-nav-right:after {
  font-family: 'fontawesome'; font-weight: normal;
  font-variant: normal; line-height: 1; text-transform: none;
  color: var(--primary); display: inline-block; font-size: 46px; position: relative; transition: color .3s;
}
.nbs-flexisel-nav-left:after  { content: "\f104"; }
.nbs-flexisel-nav-right:after { content: "\f105"; }
.nbs-flexisel-nav-left:hover:after,
.nbs-flexisel-nav-right:hover:after { color: var(--primary-dark); }

ul#flexiselDemo3 h3,
ul#flexiselDemo4 h3 { font-size: 13px; line-height: 1.7em; margin: 10px 0 0; font-family: 'Nunito', sans-serif; }
ul#flexiselDemo3 h3 a,
ul#flexiselDemo4 h3 a { color: var(--text); font-weight: 600; }
ul#flexiselDemo3 h3 a:hover,
ul#flexiselDemo4 h3 a:hover { color: var(--primary); }

/* Hover animation helpers */
.col_1 .layer { position: absolute; margin: auto; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; }
.col_1 .layer.hidden-link { opacity: 0; }
.col_1:hover .layer.hover-animation.fade-in { opacity: 1; }
.col_1:hover .layer.hover-animation.half-fade-in { opacity: .3; }
.col_1:hover .layer.hover-animation.fade-out { opacity: 0; }
.col_1 .layer.opacity-black-overlay { background: rgba(0,0,0,.35); opacity: .3; }
.col_1 .layer.second-image { opacity: 0; }
.col_1 .layer.photo-caption { opacity: 1; }
.col_1 .layer.hidden-photo-caption { opacity: 0; }
.col_1 .layer.border-photo-caption { opacity: 1; border: 1px solid #fff; }
.col_1 .layer.hidden-border-photo-caption { opacity: 0; border: 1px solid #fff; }
.col_1 .layer.link { opacity: 1; }
.col_1 .layer.hidden-black-overlay { opacity: 0; }

.col_1 img.hover-animation,
.col_1:hover img.hover-animation,
.col_1 .layer.hover-animation,
.col_1:hover .layer.hover-animation { transition: all .5s; }

.col_1:hover .layer.hover-animation.duration1,
.col_1:hover img.hover-animation.duration1 { transition-duration: .5s; }
.col_1:hover .layer.hover-animation.duration2,
.col_1:hover img.hover-animation.duration12 { transition-duration: 1s; }
.col_1:hover .layer.hover-animation.duration3,
.col_1:hover img.hover-animation.duration3 { transition-duration: 1.5s; }
.col_1:hover .layer.hover-animation.duration4,
.col_1:hover img.hover-animation.duration4 { transition-duration: 2s; }
.col_1:hover .layer.hover-animation.duration5,
.col_1:hover img.hover-animation.duration5 { transition-duration: 2.5s; }
.col_1:hover .layer.hover-animation.delay1,
.col_1:hover img.hover-animation.delay1 { transition-delay: .5s; }
.col_1:hover .layer.hover-animation.delay2,
.col_1:hover img.hover-animation.delay2 { transition-delay: 1s; }
.col_1:hover .layer.hover-animation.delay3,
.col_1:hover img.hover-animation.delay3 { transition-delay: 1.5s; }
.col_1:hover .layer.hover-animation.delay4,
.col_1:hover img.hover-animation.delay4 { transition-delay: 2s; }
.col_1:hover .layer.hover-animation.delay5,
.col_1:hover img.hover-animation.delay5 { transition-delay: 2.5s; }

.col_1:hover img.hover-animation.image-zoom-in   { transform: scale(1.08); }
.col_1:hover img.hover-animation.image-zoom-rotate { transform: rotate(5deg) scale(1.08); }
.col_1:hover img.hover-animation.image-fade-out  { opacity: 0; }

.hover_alignment { position: absolute; display: table; height: 100%; width: 100%; }
.center-middle { vertical-align: middle; text-align: center; margin: 70px 0 0; }
.img-hov { overflow: hidden; }

a.button.outline, span.button.outline, input[type=submit].outline {
  background: transparent; border: 1px solid var(--white);
  color: var(--white); padding: 4px 7px; font-size: 11px;
}

/* ============================================================
   GRID 2 – SUCCESS STORIES + NEWS
   ============================================================ */
.grid_2 { margin-bottom: 5em; padding-top: 4em; background: var(--white); }

.suceess_story { position: relative; }
.suceess_story:before,
.suceess_story:after { content: "\f004"; color: var(--primary); font-family: "FontAwesome"; position: absolute; left: 8px; top: -18px; z-index: 10; }
.suceess_story:after { bottom: -15px; top: inherit; }
.suceess_story ul { list-style: none; position: relative; margin: 0; padding: 0; }
.suceess_story ul li:first-child { padding-top: 2rem; }
.suceess_story ul li { padding-bottom: 2rem; position: relative; margin: 0; }
.suceess_story ul li:after { bottom: 0; border-left: 2px solid var(--border); content: ""; position: absolute; top: 0; left: 0; height: 100%; }

.suceess_story-date { line-height: 2; margin-bottom: .625rem; position: relative; margin-left: 2.813rem; }
.suceess_story-date:before { content: "_____"; color: var(--border); position: absolute; left: -44px; top: -6px; }

.suceess_story-content-container { overflow: hidden; margin-left: 2.813rem; }
.suceess_story-content-featured-image { margin-right: 1.25rem; margin-bottom: 1rem; float: left; }
.suceess_story-content-featured-image img { float: left; border-radius: var(--radius); }
.suceess_story-content-featured-image,
.suceess_story-content-featured-image img { float: left; }

.entry-1 { color: var(--primary); font-size: .8em; letter-spacing: 2px; text-transform: uppercase; font-family: 'Nunito', sans-serif; font-weight: 700; margin: 0 0 1.25rem; }

.suceess_story-content-info h4 { font-weight: 700; font-size: 1.1em; font-family: 'Nunito', sans-serif; }
.suceess_story-content-info h4 a { color: var(--dark); }
.suceess_story-content-info h4 a:hover { color: var(--primary); text-decoration: none; }
.suceess_story-content-info p { color: var(--text); font-size: .95em; line-height: 1.8em; font-family: 'Nunito', sans-serif; }
.suceess_story-content-info p a { color: var(--primary); }
.suceess_story-content-info p a:hover { color: var(--dark); }

figure.thumbnail1 { float: left; width: 22%; margin-right: 5%; }
figure.thumbnail1 img { border-radius: var(--radius-sm); }
.extra-wrap { overflow: hidden; }

.post-meta { width: 20%; float: left; margin-right: 10%; }
.post-meta span { display: block; line-height: 1em; }
.post-meta span.day { font-size: 36px; font-weight: 700; color: var(--dark); }
span.month { font-size: 12px; text-transform: uppercase; color: var(--text-light); font-weight: 700; }

.row_1-right h3 { margin-bottom: 1.5em; font-size: 1.4em; color: var(--dark); }

h4.post-title { font-size: .95em; font-family: 'Nunito', sans-serif; font-weight: 700; color: var(--primary); }
h4.post-title a { color: var(--primary); }
h4.post-title a:hover { color: var(--dark); text-decoration: none; }
.post-content { color: var(--text); font-size: .95em; line-height: 1.6em; margin: .8em 0; font-family: 'Nunito', sans-serif; }

.box_1, .box_2 {
  margin-bottom: 1.5em; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  background: var(--white); transition: var(--transition);
}
.box_1:hover, .box_2:hover { box-shadow: var(--shadow-sm); }

/* Read More */
.vertical {
  display: inline-block; vertical-align: middle; transform: translateZ(0);
  background: var(--dark); color: var(--white); padding: 5px 12px;
  font-size: 12px; border-radius: var(--radius-sm); transition: background .3s;
  box-shadow: 0 0 1px rgba(0,0,0,0); backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative; transition-property: color; transition-duration: .3s;
}

.vertical:before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; right: 0;
  background: var(--primary); transform: scaleY(1); transform-origin: 50%;
  transition-property: transform; transition-duration: .3s; transition-timing-function: ease-out;
}

.vertical:hover, .vertical:focus, .vertical:active { color: var(--white); text-decoration: none; }
.vertical:hover:before, .vertical:focus:before, .vertical:active:before { transform: scaleY(0); }

/* Religion links */
.religion { margin: 0; border-top: 1px solid var(--border); padding: 18px 0; }
.religion_1-title { color: var(--dark); font-size: 1.1em; margin-bottom: 8px; font-weight: 700; font-family: 'Nunito', sans-serif; }
.religion span { padding: 0 4px; color: var(--border); display: inline-block; }
a.religion_1 { font-size: .9em; color: var(--text); }
a.religion_1:hover { color: var(--primary); }

/* ============================================================
   BG – Guest Messages
   ============================================================ */
.bg {
  background: url(../images/bg.jpg) no-repeat center top;
  background-size: cover; min-height: 540px; padding: 5em 0 0; position: relative;
}

.bg::before { content: ''; position: absolute; inset: 0; background: rgba(28,28,46,.65); }
.bg > * { position: relative; z-index: 1; }
.bg .container { position: relative; z-index: 1; }

.bg h3 {
  text-align: center; font-family: 'Playfair Display', serif;
  font-size: 2.4em; color: var(--white); margin-bottom: 0; font-weight: 700;
}

.bg .heart-divider .grey-line { border-top-color: rgba(255,255,255,.3); }
.bg .heart-divider .grey-heart { color: rgba(255,255,255,.3); }

.bg_left {
  background: rgba(255,255,255,.96); padding: 2em; text-align: center;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  backdrop-filter: blur(4px); margin-bottom: 2em;
}

.bg_left h4 { color: var(--dark); font-size: 1.3em; font-weight: 700; }
.bg_left h5 { color: var(--primary); font-size: .9em; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.bg_left p  { color: var(--text); font-size: .95em; line-height: 1.8em; }

.team-socials { padding: 0; margin: 1em 0 0; list-style: none; }
.team-socials li { display: inline; padding: 0 8px; }
.team-socials li:first-child { padding-left: 0; }
.team-socials li a { color: var(--text-light); }
.team-socials li a:hover { color: var(--primary); }
.team-socials li span { font-size: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); padding: 5em 0 3em; }

.col_2 h4 {
  color: var(--white); font-size: 1.1em; font-family: 'Playfair Display', serif;
  margin-bottom: 1.2em; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary); display: inline-block;
}

.col_2 p { color: rgba(255,255,255,.7); font-size: .95em; line-height: 1.9em; }

ul.footer_links { padding: 0; margin: 0; list-style: none; }
ul.footer_links li { font-size: .9em; line-height: 2em; }
ul.footer_links li a { color: rgba(255,255,255,.65); transition: var(--transition); }
ul.footer_links li a:hover { color: var(--white); padding-left: 6px; }

ul.footer_social { padding: 0; margin: 0 0 1em; list-style: none; }
ul.footer_social li { display: inline-block; margin-right: 6px; }

i.fa1 {
  background: rgba(255,255,255,.12); width: 32px; height: 32px;
  color: var(--white); line-height: 32px; text-align: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.15);
  transition: var(--transition); display: inline-block;
}
i.fa1:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }

.copy { margin: 3em 0 0; text-align: center; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5em; }
.copy p { color: rgba(255,255,255,.5); font-size: .9em; }
.copy p a { color: var(--gold); }
.copy p a:hover { color: var(--white); }

/* Sticky sidebar – floating contact buttons */
.sticky-container {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
}

.sticky { list-style: none; padding: 0; margin: 0; }

/* Base button */
.sticky li {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 6px;
  border-radius: 32px 0 0 32px;
  overflow: hidden;
  width: 52px;
  height: 52px;
  cursor: pointer;
  transition: width .3s cubic-bezier(.4,0,.2,1), box-shadow .3s;
  box-shadow: -2px 2px 12px rgba(0,0,0,.18);
}

/* Expand on hover */
.sticky li:hover {
  width: 140px;
}

/* Icon area */
.sticky li img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  padding: 12px;
  object-fit: contain;
  border-radius: 50%;
}

/* Label */
.sticky li p {
  margin: 0;
  padding: 0 12px 0 4px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  opacity: 0;
  color: var(--white);
  transition: opacity .2s .1s;
  pointer-events: none;
}

.sticky li:hover p { opacity: 1; }

.sticky li p a {
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  pointer-events: auto;
}

/* WhatsApp – green */
.sticky li:nth-child(1) {
  background: #25D366;
}
.sticky li:nth-child(1):hover {
  background: #1ebe5d;
  box-shadow: -4px 4px 18px rgba(37,211,102,.45);
}

/* Call – teal */
.sticky li:nth-child(2) {
  background: #00897B;
}
.sticky li:nth-child(2):hover {
  background: #00796B;
  box-shadow: -4px 4px 18px rgba(0,137,123,.4);
}

/* Email – blue */
.sticky li:nth-child(3) {
  background: #1565C0;
}
.sticky li:nth-child(3):hover {
  background: #0D47A1;
  box-shadow: -4px 4px 18px rgba(21,101,192,.4);
}

/* ============================================================
   INNER BANNER
   ============================================================ */
.inner-banner {
  height: 220px; overflow: hidden;
  background-image: url(/images/banner2nd.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-size: cover; position: relative;
}

.inner-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,28,46,.7) 0%, rgba(195,33,67,.45) 100%);
}

/* ============================================================
   GRID 3 – INNER PAGES
   ============================================================ */
.grid_3 { padding: 4em 0; background: var(--white); }

.breadcrumb1 { margin-bottom: 2em; }
.breadcrumb1 ul { padding: 0; margin: 0; list-style: none; }
.breadcrumb1 li {
  position: relative; margin-right: 10px; padding-right: 14px;
  display: inline-block; color: var(--text-light); font-size: .9em;
  border-bottom: 2px solid var(--primary); padding-bottom: 8px;
}
.breadcrumb1 li a { color: var(--primary); font-weight: 600; }
.breadcrumb1 li a:hover { color: var(--dark); text-decoration: none; }
i.home_1 { color: var(--primary); font-size: 14px; }
span.divider { padding: 0 5px 0 0; color: var(--border); }

/* ============================================================
   NAV-TABS 1 (profile edit)
   ============================================================ */
.nav-tabs1 { display: inline-block; border-bottom: none; width: 100%; padding: 0; margin-bottom: 2em; }

.nav-tabs1 > li.active > a,
.nav-tabs1 > li.active > a:focus,
.nav-tabs1 > li.active > a:hover { color: var(--white); background: var(--primary); border: none; border-radius: var(--radius-sm); }

.nav-tabs1 .open > a,
.nav-tabs1 .open > a:hover,
.nav-tabs1 .open > a:focus,
.nav-tabs1 > li > a:hover,
.nav-tabs1 > li > a:focus { background: var(--primary) !important; border-color: var(--primary); color: var(--white) !important; border-radius: var(--radius-sm); }

.nav-tabs1 > li { margin-bottom: 4px; }

/* ============================================================
   PROFILE / MEMBERS
   ============================================================ */
.col-md-8.profile_left  { padding-left: 0; }
.col-sm-4.row_2         { padding-left: 0; }

.profile_left h2 { color: var(--dark); font-size: 1.4em; margin-bottom: 1em; font-family: 'Playfair Display', serif; }
.view_profile h3 { font-size: 1.2em; color: var(--dark); margin-bottom: 1em; font-family: 'Playfair Display', serif; }

ul.profile_item { padding: 0; margin: 0 0 1.5em; list-style: none; }
ul.profile_item li.profile_item-img { width: 30%; height: 100px; overflow: hidden; float: left; margin-right: 5%; }
ul.profile_item li.profile_item-desc { overflow: hidden; }
ul.profile_item li.profile_item-desc h4,
ul.profile_item li.profile_item-desc h5 { color: var(--primary); font-size: .95em; font-weight: 700; }
ul.profile_item li.profile_item-desc p { color: var(--text); font-size: .95em; line-height: 1.5em; margin-bottom: 3px; }
ul.profile_item a:hover { text-decoration: none; color: var(--primary-dark); }
ul.profile_item a:hover li.profile_item-desc p { text-decoration: underline; }

ul.login_details { padding: 0; margin: 1em 0 0; list-style: none; }
ul.login_details li { color: var(--text); font-size: .95em; line-height: 1.9em; }
ul.login_details li a { color: var(--primary); font-weight: 600; }

ul.login_details1 { padding: 0; margin: 0; list-style: none; }
ul.login_details1 li { color: var(--text-light); font-size: .95em; }
ul.login_details1 li p { color: var(--text); line-height: 1.8em; margin: 1em 0 0; }
ul.login_details1 li p a { color: var(--primary); }

.view_profile1 { margin: 3em 0 0; }
.view_profile2 { margin: 4em 0 0; }

.profile_top { margin-bottom: 2em; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-xs); }
.profile_top h2 { color: var(--dark); font-size: 1.1em; margin-bottom: 1em; }
.profile_top1 { margin-bottom: 0; }

.profile_left-top { padding-left: 0; }
.profile_left1 { padding-left: 0; }
.profile_left1 h1 { font-size: 1.1em; color: var(--dark); margin-bottom: 2em; }
.profile_left2 { padding-left: 0; }
.profile_right { padding-left: 0; }

.buttons { margin: 1em 0 0; }

.profile_search1 { margin-bottom: 3em; }
.profile_search1 input[type="text"] {
  padding: 8px 14px; width: 70%; margin-right: 10px;
  font-size: 12px; outline: none; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); display: inline-block;
}
.profile_search1 input[type="submit"] {
  color: var(--white); text-transform: uppercase; font-size: .9em; font-weight: 700;
  border: none; background: var(--primary); padding: 8px 18px; outline: none;
  display: inline-block; vertical-align: middle; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-primary); cursor: pointer; transition: var(--transition);
}
.profile_search1 input[type="submit"]:hover { background: var(--primary-dark); }

/* Tables */
table.table_working_hours { width: 100%; }
.table_working_hours tr { border: 0; color: var(--text); font-size: .95em; text-transform: capitalize; }
.table_working_hours tr.opened_1 td { padding: 0 0 5px; }
td.day_label { color: var(--dark); font-weight: 700; padding: 5px 0; width: 150px; }
.table_working_hours1 tr { color: var(--text); font-size: .95em; text-transform: capitalize; }
.table_working_hours1 tr.opened_1 td { padding: 0 0 2px; }
td.day_label1 { color: var(--dark); padding: 2px 0; font-weight: 700; }

.col_3 { margin-bottom: 3em; }

/* Action button */
.btn_1 {
  background: var(--primary); border-radius: var(--radius-sm);
  padding: 9px 26px; display: inline-block; color: var(--white);
  text-transform: uppercase; outline: none; border: none;
  margin: 1em 0 0; font-size: .9em; font-weight: 700; cursor: pointer;
  letter-spacing: .4px; box-shadow: var(--shadow-primary); transition: var(--transition);
}
.btn_1:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ============================================================
   SEARCH / RESULT ITEMS (jobs-item = profile results)
   ============================================================ */
.jobs-item {
  position: relative; margin-bottom: 2em; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; background: var(--white); transition: var(--transition);
}
.jobs-item:hover { box-shadow: var(--shadow); border-color: transparent; }
.jobs-item .thumb { float: left; margin-right: 20px; }
.jobs-item .thumb img { width: 120px; height: auto; border-radius: var(--radius-sm); }
p.description { margin: 0; font-size: .95em; color: var(--text); line-height: 2em; }
.jobs-item .top-btns { list-style: none; margin: 0; padding: 0; position: absolute; top: 14px; right: 14px; }
.jobs-item .top-btns li { float: left; margin-left: 8px; }
ul.top-btns li { margin-right: 5px; }
.jobs-item .top-btns li a { color: var(--primary); font-size: 18px; }
.jobs-item .top-btns li a:hover { color: var(--dark); }
.jobs_right { overflow: hidden; }
h6.title { font-size: .9em; }
h6.title a { color: var(--dark); }
a.read-more { color: var(--primary); font-weight: 700; }
.thumb_bottom { margin: 1.5em 0 0; }
a.photo_view { background: var(--primary); padding: 7px 12px; color: var(--white); font-size: 12px; border-radius: var(--radius-sm); }
a.photo_view:hover { background: var(--dark); }
.thumb_but { float: right; }

/* ============================================================
   ABOUT PAGE  –  redesigned
   ============================================================ */

/* Legacy selectors kept safe */
.about_right h1 { color: var(--dark); font-size: 1.5em; font-weight: 600; font-family: 'Playfair Display', serif; margin-bottom: 12px; }
.about_right p  { color: var(--text); font-size: .95em; line-height: 1.9em; margin-bottom: 1em; }

/* ---------- Shared helpers ---------- */
.au-section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(195,33,67,.08);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.au-section-header {
  text-align: center;
  margin-bottom: 3em;
}

.au-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3em;
  color: var(--dark);
  margin-bottom: .4em;
  font-weight: 700;
}

.au-section-header p {
  color: var(--text-light);
  font-size: 1em;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.au-title-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  margin: 16px 0 20px;
}

/* ---------- Hero ---------- */
.au-hero {
  position: relative;
  background: linear-gradient(135deg, #1c1c2e 0%, #2d1020 50%, #3d0a1a 100%);
  padding: 5em 0 4em;
  overflow: hidden;
  text-align: center;
}

.au-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 30 C50 30 38 18 26 30 C14 42 26 54 50 70 C74 54 86 42 74 30 C62 18 50 30 50 30Z' fill='%23c32143' fill-opacity='0.05'/%3E%3C/svg%3E");
}

.au-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(195,33,67,.06);
  top: -200px; left: -150px;
  pointer-events: none;
}

.au-hero::after {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(195,33,67,.05);
  bottom: -120px; right: -80px;
  pointer-events: none;
}

.au-hero-content {
  position: relative;
  z-index: 2;
}

/* Breadcrumb inside hero */
.au-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5em;
}

.au-breadcrumb a { color: rgba(255,255,255,.6); }
.au-breadcrumb a:hover { color: var(--white); }
.au-breadcrumb-sep { color: rgba(255,255,255,.3); font-size: 11px; }
.au-breadcrumb span:last-child { color: rgba(255,255,255,.85); font-weight: 600; }

.au-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8em;
  color: var(--white);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .5em;
  letter-spacing: .3px;
}

.au-hero > .container > p,
.au-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.05em;
  margin-bottom: 2.5em;
  line-height: 1.7;
}

/* Hero stats */
.au-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 20px 36px;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  justify-content: center;
}

.au-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.au-stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 2em;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.au-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
}

.au-hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ---------- About Story section ---------- */
.au-story-section {
  padding: 5em 0;
  background: var(--white);
}

.au-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Image frame */
.au-story-image { position: relative; }

.au-img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.au-img-frame img {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
  transition: transform .5s ease;
}

.au-img-frame:hover img { transform: scale(1.03); }

/* Floating badge on image */
.au-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(195,33,67,.4);
}

.au-img-badge .fa { font-size: 14px; }

/* Story text */
.au-story-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2em;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0;
}

.au-story-text p {
  color: var(--text);
  font-size: .97em;
  line-height: 1.9em;
  margin-bottom: 1.1em;
}

.au-story-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 1.8em;
  flex-wrap: wrap;
}

.au-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .4px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  text-decoration: none !important;
}

.au-btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #7a1228);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(195,33,67,.4);
}

.au-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .4px;
  transition: var(--transition);
  text-decoration: none !important;
  background: transparent;
}

.au-btn-outline:hover {
  background: var(--primary);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* ---------- Why Choose Us ---------- */
.au-features-section {
  background: var(--bg-warm);
  padding: 5em 0;
}

.au-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.au-feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.au-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.au-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
  color: var(--white);
}

.au-icon-red    { background: linear-gradient(135deg, #c32143, #9e1a36); box-shadow: 0 4px 16px rgba(195,33,67,.3); }
.au-icon-gold   { background: linear-gradient(135deg, #d4a338, #b8862a); box-shadow: 0 4px 16px rgba(212,163,56,.3); }
.au-icon-purple { background: linear-gradient(135deg, #6a0572, #4a0350); box-shadow: 0 4px 16px rgba(106,5,114,.3); }
.au-icon-blue   { background: linear-gradient(135deg, #1565c0, #0d47a1); box-shadow: 0 4px 16px rgba(21,101,192,.3); }
.au-icon-green  { background: linear-gradient(135deg, #2e7d32, #1b5e20); box-shadow: 0 4px 16px rgba(46,125,50,.3); }
.au-icon-orange { background: linear-gradient(135deg, #e65100, #bf360c); box-shadow: 0 4px 16px rgba(230,81,0,.3); }

.au-feature-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1em;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.au-feature-card p {
  font-size: .9em;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Mission strip ---------- */
.au-mission-strip {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1020 100%);
  padding: 4em 0;
}

.au-mission-content {
  display: grid;
  grid-template-columns: 40px 1fr 40px 1fr;
  gap: 20px 28px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.au-mission-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(195,33,67,.2);
  border: 2px solid rgba(195,33,67,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

.au-mission-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3em;
  color: var(--white);
  margin-bottom: .5em;
  font-weight: 700;
}

.au-mission-text p {
  color: rgba(255,255,255,.65);
  font-size: .92em;
  line-height: 1.8;
  margin: 0;
}

/* ---------- Testimonials ---------- */
.au-testimonials-section {
  background: var(--white);
  padding: 5em 0;
}

.au-testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.au-testi-card {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.au-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
  background: var(--white);
}

.au-testi-quote {
  color: var(--primary);
  opacity: .25;
  font-size: 2.5em;
  line-height: 1;
  margin-bottom: 14px;
}

.au-testi-text {
  font-size: .97em;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
}

.au-testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.au-testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.au-testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.au-testi-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.au-testi-meta strong {
  font-family: 'Nunito', sans-serif;
  font-size: .95em;
  font-weight: 800;
  color: var(--dark);
}

.au-testi-meta span {
  display: flex;
  gap: 2px;
}

.au-testi-meta .fa-star {
  color: var(--gold);
  font-size: 11px;
}

/* ---------- Bottom CTA ---------- */
.au-cta-strip {
  position: relative;
  background: linear-gradient(135deg, #1c1c2e 0%, #3d0a1a 100%);
  padding: 5em 0;
  text-align: center;
  overflow: hidden;
}

.au-cta-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c32143' fill-opacity='0.06'%3E%3Cpath d='M30 12 C30 12 22 4 14 12 C6 20 14 28 30 40 C46 28 54 20 46 12 C38 4 30 12 30 12Z'/%3E%3C/g%3E%3C/svg%3E");
}

.au-cta-content { position: relative; z-index: 2; }

.au-cta-hearts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.au-cta-hearts .fa-heart {
  color: rgba(195,33,67,.4);
  font-size: 14px;
}

.au-cta-heart-main {
  color: var(--primary) !important;
  font-size: 22px !important;
}

.au-cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: .4em;
}

.au-cta-strip p {
  color: rgba(255,255,255,.65);
  font-size: 1.05em;
  margin-bottom: 2em;
  line-height: 1.7;
}

.au-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.au-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white) !important;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  text-decoration: none !important;
}

.au-cta-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(195,33,67,.5);
}

.au-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white) !important;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .4px;
  text-transform: uppercase;
  transition: var(--transition);
  text-decoration: none !important;
}

.au-cta-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .au-story-grid       { grid-template-columns: 1fr; gap: 36px; }
  .au-features-grid    { grid-template-columns: repeat(2, 1fr); }
  .au-mission-content  { grid-template-columns: 40px 1fr; }
  .au-testi-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .au-hero h1          { font-size: 2em; }
  .au-hero-stats       { flex-direction: column; padding: 20px 24px; gap: 16px; }
  .au-hero-stat-divider { width: 60px; height: 1px; }
  .au-hero-stat        { padding: 0; }
  .au-features-grid    { grid-template-columns: 1fr; }
  .au-story-text h2    { font-size: 1.8em; }
  .au-cta-strip h2     { font-size: 1.9em; }
  .au-section-header h2 { font-size: 1.8em; }
  .au-story-cta        { flex-direction: column; align-items: flex-start; }
  .au-mission-content  { grid-template-columns: 36px 1fr; gap: 14px 16px; }
}
.about_left { padding-left: 0; }

.jb-accordion-title {
  position: relative; background: var(--bg-light); color: var(--dark);
  padding: 12px 20px; font-size: 15px; border-radius: var(--radius-sm);
  margin-bottom: 2px; cursor: pointer; transition: var(--transition);
}
.jb-accordion-title:hover { background: var(--primary); color: var(--white); }
.jb-accordion-title button {
  background: var(--white); position: absolute; right: 14px;
  border: none; color: var(--primary); font-size: 17px;
  padding: 0 7px; outline: none; border-radius: 50%; cursor: pointer;
}
.jb-accordion-content { padding: 0 10px; }
.jb-accordion-content p { font-size: .95em; line-height: 1.6em; margin-bottom: 0; }
.jb-accordion-wrapper { background: var(--white); }

.about_middle {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5em 0;
}
.about_middle h2 { text-align: center; color: var(--white); font-size: 2.4em; font-family: 'Playfair Display', serif; margin-bottom: 1em; font-weight: 700; }

/* Testi grids */
.testi_grid { padding: 0; width: 48.7%; margin-left: 2.56%; display: inline-block; vertical-align: top; overflow: hidden; background: none; }
.testi_grid:nth-child(2n+1) { margin-left: 0; }
.testi_grid .testi_grid_blockquote { background: none; padding: 0; border-radius: 0; }
.testi_grid:nth-child(2n+1) .testi_grid_blockquote { text-align: right; }

.testi_grid blockquote { position: relative; display: block; margin: 0; padding: 30px; border: none; }

.testi_grid .testi_grid_blockquote > div {
  background: rgba(50,50,60,.92); padding: 20px 30px;
  overflow: hidden; border-radius: var(--radius); position: relative; transition: var(--transition);
}
.testi_grid:hover .testi_grid_blockquote > div { background: var(--white); }
.testi_grid:hover .testi_grid_blockquote > div a { color: var(--dark); }

.testi_grid .testi_grid_blockquote > div:before {
  content: ''; width: 0; height: 100%; position: absolute;
  top: 0; left: auto; right: 0; background: var(--white); z-index: 10; transition: all .3s ease;
}
.testi_grid:nth-child(2n+1) .testi_grid_blockquote > div:before { left: 0; }
.testi_grid:hover .testi_grid_blockquote > div:before { width: 100%; }

.testi_grid .testi_grid_blockquote > div a { color: var(--white); position: relative; z-index: 100; font-size: .95em; }

.testi_grid .testi_grid_blockquote .featured-thumbnail { margin: 0 30px 0 0; width: 80px; height: 80px; overflow: visible; position: relative; }
.testi_grid:nth-child(2n+1) .testi_grid_blockquote .featured-thumbnail { float: right; margin: 0 0 0 30px; }
.testi_grid .featured-thumbnail { position: relative; z-index: 2; margin: 0 20px 0 10px; width: 60px; height: 60px; }
.testi_grid .testi_grid_blockquote .featured-thumbnail img { border-radius: 50%; overflow: hidden; border: 3px solid var(--white); }

.testi_grid .testi_grid_blockquote .featured-thumbnail:before {
  content: ''; width: 0; height: 0; border-style: solid;
  border-width: 0 17px 17px 0; border-color: transparent rgba(50,50,60,.92) transparent transparent;
  position: absolute; top: 50%; right: -30px; margin-top: -5px; z-index: 100; transition: all .3s ease;
}
.testi_grid:nth-child(2n+1) .testi_grid_blockquote .featured-thumbnail:before {
  border-width: 17px 17px 0 0; border-color: rgba(50,50,60,.92) transparent transparent transparent; left: -30px;
}
.testi_grid:hover .testi_grid_blockquote .featured-thumbnail:before { border-width: 0 25px 17px 0; border-color: transparent var(--white) transparent transparent; }
.testi_grid:nth-child(2n+1):hover .testi_grid_blockquote .featured-thumbnail:before { border-width: 17px 25px 0 0; border-color: var(--white) transparent transparent transparent; }

.testi_grid:nth-child(2n+1) .testi-meta { padding: 15px 157px 0 0; text-align: right; color: var(--white); }
.testi-meta1 { padding: 15px 320px 0 0; text-align: right; color: var(--white); }
figure.featured-thumbnail { float: left; }
small.testi-meta  { float: right; }
small.testi-meta1 { float: right; }

.about_middle-grid1 { margin-bottom: 3em; }
.about_bottom { padding: 5em 0; }
.about_bottom h3 { text-align: center; color: var(--dark); font-size: 2.2em; font-family: 'Playfair Display', serif; margin-bottom: 1em; }

/* Thumbnails / team */
.thumbnail_1, .thumbnail, figure.frame { background: none; padding: 0; box-shadow: none; border: none; overflow: hidden; box-sizing: border-box; }
.thumbnail_1 img, .thumbnail img, figure.frame img { display: inline-block; border-radius: 0; border: none; padding: 0; background: none; box-sizing: border-box; }
.thumbnail { display: block; transition: all .2s ease-in-out; border-radius: 0; }
.thumbnail a img { transition: transform 200ms linear; }
.posts-grid li .thumbnail_1 img { width: 100%; }
.posts-grid.our-team > li .thumbnail { position: relative; }
.posts-grid.our-team > li .thumbnail .post_networks { position: absolute; background: rgba(0,0,0,.4); top: 0; left: 0; width: 100%; height: 100%; z-index: 100; opacity: 0; transition: all .3s ease; }
.post_networks { text-align: center; }
.posts-grid.our-team > li .thumbnail:hover .post_networks { opacity: 1; }
.posts-grid.our-team > li .thumbnail:hover .post_networks ul { transform: scale(1); }
.post_networks:after { content: ''; height: 100%; display: inline-block; vertical-align: middle; }
.post_networks ul li { width: 32px; height: 32px; border-radius: 50%; background: var(--white); text-align: center; float: none; display: inline-block; vertical-align: top; margin: 4.5em 0 0; }
.thumbnail_1 a { position: relative; display: block; }
.post_networks ul li > a { display: block; line-height: 32px; }
.post_networks ul li > a span { margin: 0; }
.posts-grid li .thumbnail_1 { margin: 0; }
.desc { margin: 1em 0 0; }
.desc h4 { font-size: 1.2em; font-weight: 600; }
.desc h4 a { color: var(--dark); }
.desc h4 a:hover { color: var(--primary); }
.desc p { color: var(--text); font-size: .95em; }

/* ============================================================
   SERVICES
   ============================================================ */
.page_header { text-align: center; margin-bottom: 2em; }
.page_header h1 { font-family: 'Playfair Display', serif; font-size: 2.4em; color: var(--dark); margin-bottom: 1em; font-weight: 700; }
.page_header h3 { font-size: 1.2em; color: var(--primary); margin-bottom: 1em; font-weight: 600; }
.page_header p  { font-size: .95em; color: var(--text); line-height: 1.8em; }
i.icon_4 { color: var(--primary); display: block; font-size: 64px; line-height: 110px; }
.item_content h4 { color: var(--dark); font-size: 1.1em; font-weight: 700; }
.item_content p  { color: var(--text); font-size: .95em; line-height: 1.8em; }
.services_top { margin-bottom: 2em; }

/* ============================================================
   REGISTER PAGE  –  redesigned
   ============================================================ */

/* Remove master-page body padding for this full-bleed layout */
.reg-page { margin: 0; }

/* ---------- Split layout ---------- */
.reg-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 100vh;
}

/* ---------- Left branding panel ---------- */
.reg-left-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(160deg, var(--dark) 0%, #2d1020 55%, #3d0a1a 100%);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.reg-left-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 25C50 25 38 13 26 25C14 37 26 49 50 65C74 49 86 37 74 25C62 13 50 25 50 25Z' fill='%23c32143' fill-opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}

.reg-left-panel::before {
  content: '';
  position: absolute;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(195,33,67,.08);
  top: -100px; right: -80px;
  pointer-events: none;
}

.reg-left-panel::after {
  content: '';
  position: absolute;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(195,33,67,.06);
  bottom: -60px; left: -60px;
  pointer-events: none;
}

.reg-left-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  padding: 40px 36px;
  width: 100%;
}

/* Logo */
.reg-brand { margin-bottom: 40px; }
.reg-logo { max-width: 160px; filter: brightness(0) invert(1); opacity: .9; }

/* Hero text */
.reg-left-hero { margin-bottom: 36px; }

.reg-heart-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
}

.reg-heart-sm { color: rgba(195,33,67,.4); font-size: 12px; }
.reg-heart-lg { color: var(--primary); font-size: 20px; }

.reg-left-hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9em; color: var(--white);
  font-weight: 700; line-height: 1.3;
  margin-bottom: .5em;
}

.reg-left-hero p {
  color: rgba(255,255,255,.6);
  font-size: .95em; line-height: 1.7;
  margin: 0;
}

/* Benefits list */
.reg-benefits {
  display: flex; flex-direction: column; gap: 18px;
  flex: 1;
}

.reg-benefit {
  display: flex; align-items: flex-start; gap: 14px;
}

.reg-benefit-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 15px; flex-shrink: 0;
}

.reg-benefit-text {
  display: flex; flex-direction: column; gap: 2px;
}

.reg-benefit-text strong {
  font-size: .92em; font-weight: 700; color: var(--white);
}

.reg-benefit-text span {
  font-size: .82em; color: rgba(255,255,255,.5);
  line-height: 1.4;
}

/* Footer */
.reg-left-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.reg-left-footer p {
  margin: 0; font-size: .9em; color: rgba(255,255,255,.5);
}

.reg-left-footer a {
  color: var(--primary); font-weight: 700;
}

.reg-left-footer a:hover { color: var(--white); }

/* ---------- Right form panel ---------- */
.reg-right-panel {
  background: var(--bg-warm);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 48px 40px;
  min-height: 100vh;
}

.reg-form-wrap {
  width: 100%;
  max-width: 560px;
}

/* Header */
.reg-form-header { margin-bottom: 28px; }

.reg-form-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2em; color: var(--dark);
  font-weight: 700; margin-bottom: .3em;
}

.reg-form-header p {
  font-size: .95em; color: var(--text-light);
  margin: 0;
}

/* Form body */
.reg-form-body {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Field */
.reg-field { margin-bottom: 20px; }

.reg-field label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 12px; font-weight: 700; color: var(--text);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 7px;
}

.reg-field label .fa { color: var(--primary); margin-right: 5px; font-size: 11px; }

.reg-required { color: var(--primary); margin-left: 2px; }

/* Input */
.reg-input {
  display: block; width: 100%; height: 46px;
  padding: 10px 16px;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-family: 'Nunito', sans-serif;
  font-size: 14px; color: var(--text);
  background: var(--bg-light) !important;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}

.reg-input:focus {
  border-color: var(--primary) !important;
  background: var(--white) !important;
  box-shadow: 0 0 0 3px rgba(195,33,67,.1) !important;
}

/* Password wrapper */
.reg-input-wrap { position: relative; }
.reg-input-wrap .reg-input { padding-right: 46px; }

.reg-eye-btn {
  position: absolute; right: 0; top: 0;
  width: 46px; height: 46px;
  background: none; border: none; outline: none; cursor: pointer;
  color: var(--text-light); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}

.reg-eye-btn:hover { color: var(--primary); }

/* Textarea */
.reg-textarea {
  display: block; width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-family: 'Nunito', sans-serif;
  font-size: 14px; color: var(--text);
  background: var(--bg-light) !important;
  outline: none; resize: vertical;
  min-height: 90px;
  transition: border-color .2s, box-shadow .2s;
}

.reg-textarea:focus {
  border-color: var(--primary) !important;
  background: var(--white) !important;
  box-shadow: 0 0 0 3px rgba(195,33,67,.1) !important;
}

/* Gender pills */
.reg-gender-row {
  display: flex; gap: 12px;
}

.reg-gender-opt {
  flex: 1; cursor: pointer;
}

.reg-gender-opt input[type="radio"] { display: none; }

.reg-gender-pill {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--text-light);
  cursor: pointer; transition: var(--transition);
  background: var(--bg-light);
}

.reg-gender-opt input[type="radio"]:checked + .reg-gender-pill {
  border-color: var(--primary);
  background: rgba(195,33,67,.06);
  color: var(--primary);
}

.reg-gender-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Date of birth */
.reg-dob-row {
  display: grid; grid-template-columns: 1fr 1.4fr 1.2fr; gap: 10px;
}

.reg-dob-row .select-block1 { margin: 0; }

.reg-select {
  display: block; width: 100%; height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-family: 'Nunito', sans-serif;
  font-size: 14px; color: var(--text);
  background: var(--bg-light);
  outline: none; cursor: pointer;
  transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23757585' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.reg-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(195,33,67,.1) !important;
}

/* Terms checkbox */
.reg-terms { margin-bottom: 20px; }

.reg-check-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 13px; color: var(--text-light);
  line-height: 1.5; font-weight: 400 !important;
  text-transform: none !important; letter-spacing: 0 !important;
}

.reg-check-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.reg-check-label a { color: var(--primary); font-weight: 600; }
.reg-check-label a:hover { color: var(--primary-dark); }

/* Submit button */
.reg-submit-btn,
input.reg-submit-btn,
input[type="submit"].reg-submit-btn {
  display: block !important; width: 100% !important;
  padding: 15px 24px !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important; border: none !important;
  border-radius: var(--radius) !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 16px !important; font-weight: 800 !important;
  letter-spacing: .5px; text-transform: uppercase;
  cursor: pointer; text-align: center;
  box-shadow: var(--shadow-primary);
  transition: var(--transition) !important;
  margin-bottom: 24px;
}

.reg-submit-btn:hover,
input.reg-submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), #7a1228) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(195,33,67,.45) !important;
}

/* Divider */
.reg-divider {
  position: relative; text-align: center; margin: 4px 0 20px;
}

.reg-divider::before {
  content: ''; position: absolute;
  top: 50%; left: 0; right: 0; height: 1px;
  background: var(--border);
}

.reg-divider span {
  position: relative; background: var(--white);
  padding: 0 14px; font-size: 12px;
  color: var(--text-light); font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}

/* Social share */
.reg-social-share {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 0;
}

.reg-social-share li a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700;
  color: var(--text) !important;
  text-decoration: none;
  transition: var(--transition);
}

.reg-social-share li a:hover { border-color: var(--primary); color: var(--primary) !important; }
.reg-social-share .fa-facebook { color: #3F5F95; }
.reg-social-share .fa-twitter  { color: #4CAFE8; }
.reg-social-share .fa-google-plus { color: #DB4E37; }
.reg-social-share .fa-linkedin { color: #296996; }

/* Form footer */
.reg-form-footer {
  margin-top: 20px; text-align: center;
}

.reg-form-footer p {
  font-size: 12px; color: var(--text-light);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

.reg-form-footer .fa-lock { color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .reg-layout { grid-template-columns: 1fr; }

  .reg-left-panel {
    position: relative; height: auto;
    padding: 0;
  }

  .reg-left-content {
    padding: 32px 24px;
    flex-direction: row; flex-wrap: wrap; gap: 20px;
    align-items: center;
  }

  .reg-brand { margin-bottom: 0; width: 100%; }
  .reg-left-hero { order: 2; flex: 1 1 280px; }
  .reg-benefits { order: 3; flex: 1 1 280px; gap: 12px; }
  .reg-left-footer { order: 4; width: 100%; margin-top: 0; }
  .reg-heart-row { display: none; }

  .reg-right-panel { padding: 32px 20px; min-height: auto; }
  .reg-form-body { padding: 24px 22px 20px; }
}

@media (max-width: 480px) {
  .reg-form-header h1 { font-size: 1.7em; }
  .reg-dob-row { grid-template-columns: 1fr 1fr; }
  .reg-dob-row .select-block1:last-child { grid-column: 1 / -1; }
  .reg-gender-row { gap: 8px; }
}

/* ============================================================
   SEARCH PAGE  –  redesigned
   ============================================================ */

/* Legacy selectors kept */
.search_left { padding-left: 0; }

/* ---------- Hero ---------- */
.srch-hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #2d1020 55%, var(--primary-dark) 100%);
  padding: 3.5em 0 3em;
  text-align: center;
  overflow: hidden;
}

.srch-hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 18C40 18 30 8 20 18C10 28 20 38 40 52C60 38 70 28 60 18C50 8 40 18 40 18Z' fill='%23c32143' fill-opacity='0.06'/%3E%3C/svg%3E");
}

.srch-hero-content { position: relative; z-index: 2; }

.srch-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: .4em;
  letter-spacing: .3px;
}

.srch-hero p {
  color: rgba(255,255,255,.65);
  font-size: 1.05em;
  margin-bottom: 2em;
}

.srch-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px;
  padding: 12px 32px;
  backdrop-filter: blur(6px);
  flex-wrap: wrap;
  justify-content: center;
}

.srch-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 700;
}

.srch-stat .fa {
  color: var(--primary);
  font-size: 14px;
}

.srch-stat-divider {
  width: 1px; height: 28px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* ---------- Section wrapper ---------- */
.srch-section {
  background: var(--bg-warm);
  padding: 3em 0 5em;
}

/* ---------- Two-column layout ---------- */
.srch-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

/* ---------- Search panel card ---------- */
.srch-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Tab header */
.srch-tab-header {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.srch-tabs.nav-tabs {
  border-bottom: none !important;
  display: flex;
  margin: 0;
}

.srch-tabs.nav-tabs > li { flex: 1; margin: 0; }

.srch-tabs.nav-tabs > li > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 3px solid transparent !important;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light) !important;
  background: transparent !important;
  transition: color .2s, border-color .2s;
  text-align: center;
}

.srch-tabs.nav-tabs > li > a .fa {
  font-size: 14px;
  color: var(--text-light);
  transition: color .2s;
}

.srch-tabs.nav-tabs > li > a:hover {
  color: var(--primary) !important;
  border-bottom-color: rgba(195,33,67,.3) !important;
}

.srch-tabs.nav-tabs > li > a:hover .fa { color: var(--primary); }

.srch-tabs.nav-tabs > li.active > a,
.srch-tabs.nav-tabs > li.active > a:hover,
.srch-tabs.nav-tabs > li.active > a:focus {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
  background: var(--white) !important;
}

.srch-tabs.nav-tabs > li.active > a .fa { color: var(--primary); }

/* Tab body */
.srch-tab-body {
  padding: 28px 32px 32px;
}

.srch-tab-body > .tab-pane.active { margin-top: 0; }

/* ---------- Form fields inside ascx controls ---------- */

/* Section labels */
.srch-tab-body label,
.from-to-spacing label {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 7px;
  display: block;
}

.srch-tab-body .row { margin-bottom: 16px; }

/* Inputs and selects */
.srch-tab-body .form-control,
.srch-tab-body input[type="text"],
.srch-tab-body input[type="search"],
.srch-tab-body select,
.from-to-spacing .form-control,
.from-to-spacing select {
  height: 42px;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-size: 14px;
  padding: 8px 14px;
  color: var(--text);
  background: var(--bg-light);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.srch-tab-body .form-control:focus,
.srch-tab-body input[type="text"]:focus,
.srch-tab-body select:focus,
.from-to-spacing .form-control:focus {
  border-color: var(--primary) !important;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(195,33,67,.1) !important;
  outline: none;
}

/* select2 width */
.srch-tab-body .select2-container { width: 100% !important; }

/* asp:RadioButtonList renders as <table> — override to horizontal pills */
.srch-tab-body table,
.from-to-spacing table {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  border: none !important;
}

.srch-tab-body table tr,
.from-to-spacing table tr {
  display: contents !important;
}

.srch-tab-body table td,
.from-to-spacing table td {
  display: block !important;
  padding: 0 !important;
}

.srch-tab-body table input[type="radio"],
.from-to-spacing table input[type="radio"] {
  display: none !important; /* hide native radio */
}

.srch-tab-body table label,
.from-to-spacing table label {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

/* Checked state via sibling CSS — works for the radio inside label */
.srch-tab-body table input[type="radio"]:checked + label,
.from-to-spacing table input[type="radio"]:checked + label,
.srch-tab-body table label:has(input[type="radio"]:checked) {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Age row */
.from-to-spacing { padding: 0; }
.age-row .col-sm-3 { padding-left: 0; }

/* Keyword hint */
.srch-tab-body small.text-muted {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
  display: block;
}

/* Member ID input */
.srch-tab-body .member_id,
.frm_SearchById input[type="text"] {
  height: 48px;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-size: 15px;
  padding: 10px 18px;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}

.frm_SearchById input[type="text"]:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(195,33,67,.1) !important;
  outline: none;
}

/* Search / submit buttons inside ascx controls */
.srch-tab-body .profile_search1 input[type="submit"],
.srch-tab-body .profile_search1 input[type="button"],
.srch-tab-body .btn_1.btnSearchProfile,
.from-to-spacing input[type="submit"] {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .5px;
  padding: 13px 40px !important;
  width: 100%;
  margin-top: 8px;
  box-shadow: var(--shadow-primary) !important;
  cursor: pointer;
  transition: var(--transition) !important;
  text-transform: uppercase;
}

.srch-tab-body .profile_search1 input[type="submit"]:hover,
.srch-tab-body .profile_search1 input[type="button"]:hover,
.srch-tab-body .btn_1.btnSearchProfile:hover {
  background: linear-gradient(135deg, var(--primary-dark), #7a1228) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(195,33,67,.4) !important;
}

/* ---------- Sidebar ---------- */
.srch-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tips card */
.srch-tip-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.srch-tip-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8862a);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px;
  margin-bottom: 14px;
}

.srch-tip-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1em;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.srch-tip-list {
  list-style: none;
  padding: 0; margin: 0;
}

.srch-tip-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88em;
  color: var(--text);
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-light);
}

.srch-tip-list li:last-child { border-bottom: none; }

.srch-tip-list li .fa-check-circle { color: var(--primary); font-size: 13px; flex-shrink: 0; margin-top: 2px; }

/* Help card */
.srch-help-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  color: var(--white);
}

.srch-help-icon {
  font-size: 28px;
  color: rgba(255,255,255,.7);
  display: block;
  margin-bottom: 10px;
}

.srch-help-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2em;
  color: var(--white);
  margin-bottom: 8px;
}

.srch-help-card p {
  font-size: .88em;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin-bottom: 16px;
}

.srch-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  transition: background .2s;
}

.srch-help-btn:hover { background: rgba(255,255,255,.25); color: var(--white) !important; }

/* Plan card */
.srch-plan-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.srch-plan-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(212,163,56,.2);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 18px;
  margin: 0 auto 14px;
}

.srch-plan-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1em;
  color: var(--white);
  margin-bottom: 8px;
}

.srch-plan-card p {
  font-size: .88em;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 16px;
}

.srch-plan-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--dark) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none !important;
  transition: background .2s;
}

.srch-plan-btn:hover { background: #b8862a; color: var(--dark) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .srch-layout { grid-template-columns: 1fr; }
  .srch-sidebar { flex-direction: row; flex-wrap: wrap; }
  .srch-tip-card { flex: 1 1 300px; }
  .srch-help-card,
  .srch-plan-card { flex: 1 1 200px; }
  .srch-hero h1 { font-size: 2em; }
}

@media (max-width: 640px) {
  .srch-hero { padding: 2.5em 0; }
  .srch-hero h1 { font-size: 1.8em; }
  .srch-hero-stats { flex-direction: column; padding: 14px 24px; gap: 10px; }
  .srch-stat-divider { display: none; }
  .srch-tab-body { padding: 20px 18px 24px; }
  .srch-tabs.nav-tabs > li > a span { display: none; }
  .srch-tabs.nav-tabs > li > a .fa { font-size: 18px; }
  .srch-tabs.nav-tabs > li > a { padding: 14px 8px !important; }
  .srch-sidebar { flex-direction: column; }
}

.search_left .tab-content {
  padding: 28px; background: var(--white); border: 1px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) var(--radius); box-shadow: var(--shadow-xs);
}

.search_left .tab-content label { font-size: .9em; color: var(--text); text-transform: capitalize; font-weight: 600; }

.select-block1 select,
.input-group1 input[type="text"] {
  box-shadow: none; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  outline: none; background: var(--white); height: 37px; line-height: 25px;
  padding: 5px 14px; width: 100%; color: var(--text-light); font-size: .9em;
}

.input-group1 input[type="text"] { border: 1.5px solid var(--border); font-size: .95em; }
.col-md-5.input-group1 { padding-left: 0; }

.input-group1 input[type="submit"] {
  background: var(--gold); color: var(--white); font-size: 12px;
  padding: 9px 28px; transition: var(--transition); display: inline-block;
  text-transform: uppercase; font-weight: 700; border: none; outline: none;
  margin: 1em 0 0; border-radius: var(--radius-sm); cursor: pointer;
}
.input-group1 input[type="submit"]:hover { background: var(--primary); }

.paid_people { margin: 3em 0 0; clear: both; }
.paid_people h1 { color: var(--dark); font-size: 1.4em; margin-bottom: 1em; font-family: 'Playfair Display', serif; }
.paid_people-left { padding-left: 0; }

.slider h3 { font-size: 1.2em; color: var(--dark); margin-bottom: .5em; font-family: 'Playfair Display', serif; }
.slider h4 { color: var(--dark); font-size: .95em; margin: 1em 0 .5em; font-weight: 700; }
.slider p  { color: var(--text); font-size: .95em; line-height: 1.8em; }

.form_but1 { margin-bottom: 1em; }
.form_but2 { margin-bottom: 2em; }
.form_radios { color: var(--text); font-size: .95em; }
.control-lable1 { padding-left: 0; font-size: .95em; color: var(--text); }
.control-lable  { padding: 0; }
label.label_radio { font-size: .95em; font-weight: 400; }
.age_select { margin-bottom: 1em; }
.search_top { margin-bottom: 2em; }
.inline-block { display: inline-block; padding-right: 5%; color: var(--text); }

/* ============================================================
   MATCHES / PROFILES  –  redesigned
   ============================================================ */

/* Legacy selectors kept */
ul.match_box { padding: 0; margin: 0 0 2em; list-style: none; }
ul.match_box li { font-size: .95em; line-height: 1.9em; }

/* ---------- Hero ---------- */
.matches-hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #2d1020 55%, #3d0a1a 100%);
  padding: 2.5em 0;
  overflow: hidden;
}

.matches-hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 12C30 12 22 4 14 12C6 20 14 28 30 38C46 28 54 20 46 12C38 4 30 12 30 12Z' fill='%23c32143' fill-opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.matches-hero-content {
  position: relative; z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.matches-hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2em; color: var(--white);
  font-weight: 700; margin: 0 0 4px;
  display: flex; align-items: center; gap: 12px;
}

.matches-hero-text h1 .fa { color: var(--primary); font-size: .7em; }

.matches-hero-text p {
  color: rgba(255,255,255,.6);
  font-size: .9em; margin: 0;
}

.matches-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
}

.matches-hero-breadcrumb a { color: rgba(255,255,255,.6); }
.matches-hero-breadcrumb a:hover { color: var(--white); }
.matches-hero-breadcrumb .fa-angle-right { color: rgba(255,255,255,.3); }
.matches-hero-breadcrumb span { color: rgba(255,255,255,.85); font-weight: 600; }

/* ---------- Section ---------- */
.matches-section {
  background: var(--bg-warm);
  padding: 2.5em 0 5em;
}

/* ---------- Two-column layout ---------- */
.matches-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

/* ---------- Sidebar ---------- */
.matches-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: sticky;
  top: 80px;
}

.matches-sidebar-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.matches-sidebar-header .fa { font-size: 15px; }

/* Filter menu */
.matches-filter-menu { list-style: none; padding: 8px 0; margin: 0; }

.matches-filter-menu .item1 { border-bottom: 1px solid var(--border); }
.matches-filter-menu .item1:last-child { border-bottom: none; }

/* Category header */
.matches-filter-menu h3.m_2 {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--bg-light);
  padding: 9px 16px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: default;
  line-height: 1.4;
  width: 100%;
}

.matches-filter-menu h3.m_2 .fa { color: var(--primary); font-size: 12px; width: 14px; text-align: center; }

/* Filter items */
.matches-filter-menu .cute { list-style: none; padding: 4px 0 6px; margin: 0; }

.matches-filter-menu .cute li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 6px 28px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.matches-filter-menu .cute li a:hover {
  color: var(--primary);
  background: rgba(195,33,67,.04);
  padding-left: 32px;
}

.filter-count {
  background: var(--bg-warm);
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 20px;
  border: 1px solid rgba(195,33,67,.15);
  flex-shrink: 0;
}

/* New search button */
.matches-new-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 16px 16px;
  padding: 11px 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  letter-spacing: .4px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.matches-new-search:hover {
  background: linear-gradient(135deg, var(--primary-dark), #7a1228);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(195,33,67,.4);
}

/* ---------- Main area ---------- */
.matches-main { min-width: 0; }

/* Result header */
.matches-result-header {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.matches-result-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.matches-result-title > .fa {
  color: var(--primary);
  font-size: 20px;
  margin-top: 3px;
  flex-shrink: 0;
}

.matches-result-title h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1em;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 4px;
}

.matches-result-title p {
  font-size: .85em;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Profile match card ---------- */
.match-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}

.match-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(195,33,67,.2);
}

/* Membership type colouring */
.match-card.gold    { border-left: 4px solid var(--gold); }
.match-card.silver  { border-left: 4px solid #95a5a6; }
.match-card.premium { border-left: 4px solid #6a0572; }
.match-card.diamond { border-left: 4px solid #1565c0; }

.match-card-link {
  display: flex;
  align-items: stretch;
  text-decoration: none !important;
  color: inherit !important;
}

/* Photo column */
.match-card-photo {
  width: 150px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-light);
  border-right: 1px solid var(--border);
}

.match-photo-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex: 1;
  background: var(--bg-light);
}

.match-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}

.match-card:hover .match-photo { transform: scale(1.04); }

.match-photo-id {
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--white);
  width: 100%;
}

.match-photo-id strong { color: var(--primary); }

/* Info column */
.match-card-info {
  flex: 1;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

/* Info header */
.match-info-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.match-created-by {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 7px;
}

.match-created-by .fa { color: var(--primary); font-size: 15px; }

.match-last-online {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-light);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.match-last-online .fa { font-size: 10px; }

/* About self */
.match-about-self {
  font-size: .88em;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: italic;
  position: relative;
}

.match-quote-icon {
  color: var(--primary);
  opacity: .3;
  font-size: 12px;
  margin-right: 4px;
}

.match-more-link {
  color: var(--primary);
  font-weight: 700;
  font-style: normal;
  font-size: .95em;
}

/* Details grid */
.match-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.match-detail {
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.match-detail-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.match-detail-label .fa {
  color: var(--primary);
  font-size: 10px;
  width: 12px;
}

.match-detail-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

/* Action buttons */
.match-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.match-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.match-btn-mail {
  background: rgba(195,33,67,.08);
  border-color: rgba(195,33,67,.2);
  color: var(--primary);
}

.match-btn-mail:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.match-btn-shortlist {
  background: rgba(212,163,56,.1);
  border-color: rgba(212,163,56,.3);
  color: #b8862a;
}

.match-btn-shortlist:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.match-btn-interest {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.match-btn-interest:hover {
  background: linear-gradient(135deg, var(--primary-dark), #7a1228);
  box-shadow: 0 4px 16px rgba(195,33,67,.4);
  transform: translateY(-1px);
}

/* ---------- Empty state ---------- */
.matches-empty {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
  border: 2px dashed var(--border);
}

.matches-empty-icon {
  font-size: 48px;
  color: var(--border);
  display: block;
  margin-bottom: 16px;
}

.matches-empty h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  color: var(--dark);
  margin-bottom: 8px;
}

.matches-empty p {
  color: var(--text-light);
  font-size: .95em;
  max-width: 400px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.matches-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white) !important;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.matches-empty-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ---------- Pagination ---------- */
.matches-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.matches-pagination .pagination { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .matches-layout { grid-template-columns: 1fr; }

  .matches-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0;
    border-radius: var(--radius-lg);
  }

  .matches-sidebar-header { grid-column: 1 / -1; }
  .matches-filter-menu    { display: contents; }
  .matches-filter-menu .item1 { border-bottom: 1px solid var(--border); }
  .matches-new-search     { grid-column: 1 / -1; }

  .match-details-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .match-card-link  { flex-direction: column; }
  .match-card-photo { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .match-photo      { height: 200px; }
  .match-details-grid { grid-template-columns: repeat(2, 1fr); }
  .match-actions    { flex-wrap: wrap; }
  .match-action-btn { flex: 1 1 auto; justify-content: center; }
  .matches-hero-content { flex-direction: column; align-items: flex-start; }
  .matches-result-header { padding: 16px; }
}
ul.match_box li a { color: var(--text); }
ul.match_box li a:hover { color: var(--primary); }

ul.phone { padding: 0; margin: 0; list-style: none; }
ul.phone li.phone_left { float: left; margin-right: 6%; }
ul.phone li.phone_right { overflow: hidden; }
i.icon_1 { font-size: 40px; }
i.icon_2 { font-size: 30px; }
ul.phone li.phone_right p { color: var(--text); font-size: .95em; }

.span_1_of_3 { width: 29.2%; }
.col_1_of_3 { display: block; float: left; }
.phone_1 { margin-right: 6%; }
.members_box1 { margin: 2em 0; }
.members_box h1, .terms h2 { color: var(--dark); font-size: 1.4em; font-family: 'Playfair Display', serif; }
.members_box2 h3 { color: var(--dark); font-size: 1.8em; font-family: 'Playfair Display', serif; }
.members_box2 p  { color: var(--text); font-size: .95em; line-height: 1.9em; margin-bottom: 2em; }

/* ============================================================
   MEMBERSHIP / PRICING
   ============================================================ */
.pricing-tables { padding: 3em 0; }

.pricing-table-grid {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: var(--transition); padding: 1em 2em 1.5em; background: var(--white);
}
.pricing-table-grid:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.pricing-table-grid ul { margin: 0; padding: 0; }
.pricing-table-grid ul li { list-style: none; text-align: center; border-bottom: 1px solid var(--bg-light); }
.pricing-table-grid ul li a,
.pricing-table-grid ul li span { padding: 10px 0; display: block; text-decoration: none; font-size: .95em; color: var(--text); }
.pricing-table-grid ul li a:hover { color: var(--primary); }
.pricing-table-grid h3 { text-align: center; display: block; margin: 0; padding: 20px 0 10px; color: var(--dark); font-size: 1.4em; line-height: .5em; font-family: 'Playfair Display', serif; }
.pricing-table-grid ul li span { background: var(--primary); padding: 10px; color: var(--white); text-transform: uppercase; font-size: 13px; font-weight: 700; margin-bottom: 1em; border-radius: var(--radius-sm); transition: background .3s; }
.pricing-table-grid:hover li span { background: var(--primary-dark); }

a.order-btn {
  color: var(--white); padding: 10px 24px; display: block; text-align: center;
  text-transform: uppercase; text-decoration: none; background: var(--primary);
  font-size: 13px; font-weight: 700; width: 60%; margin: 1em auto 0;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-primary); transition: var(--transition);
}
a.order-btn:hover, .pricing-table-grid:hover a.order-btn { background: var(--primary-dark); transform: translateY(-2px); }

span.month1 { font-size: 13px; line-height: 3em; }
i.icon_3 { color: var(--text-light); font-size: 14px; margin-right: 10px; }
.pricing-table { padding-left: 0; }

.package-section { padding: 50px 0; }
.package-list .list-group { margin-top: 20px; }
.package-list p { margin-top: 20px; }
.package-list p strong { font-size: 15px; }
.package-list .order-btn { width: auto; display: inline-block; }
.package-list .nav > li { padding: 0 15px; margin-top: 10px; }
.package-list .nav > li i { padding-right: 10px; }
.package-list .duration { float: right; }

.panel-danger { border-color: var(--primary); border-radius: var(--radius); }
.panel-danger > .panel-heading { color: var(--white); background: var(--primary); border-color: var(--primary); border-radius: var(--radius) var(--radius) 0 0; }
.package-section .package-list:last-child .panel-danger { border-color: #ebccd1; }
.package-section .package-list:last-child .panel-danger > .panel-heading { color: #a56161; background: #f2dede; border-color: #ebccd1; }

.list-group-item a { color: var(--text); }
.list-group-item.active a, .list-group-item.hover a { color: var(--primary); font-weight: 700; }

.gold    { background-color: #fdf6e3; }
.silver  { background-color: #f8f9fa; }
.premium { background-color: #e8f8f0; }

/* ============================================================
   MEMBERSHIP-PLAN PAGE  –  modern pricing cards
   ============================================================ */

/* Hero strip */
.pricing-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1a26 100%);
  padding: 4em 0 3.5em;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c32143' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pricing-hero-inner { position: relative; z-index: 1; }

.pricing-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8em;
  color: var(--white);
  margin-bottom: .4em;
  font-weight: 700;
  letter-spacing: .5px;
}

.pricing-hero p {
  font-size: 1.05em;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto 1.4em;
  line-height: 1.7;
}

.pricing-hero-divider {
  text-align: center;
}

.pricing-hero-divider .grey-line {
  border-top-color: rgba(255,255,255,.2);
  width: 50px;
}

.pricing-hero-divider .pink-heart  { color: var(--primary); }
.pricing-hero-divider .grey-heart  { color: rgba(255,255,255,.2); }

/* Section wrapper */
.pricing-section {
  background: var(--bg-warm);
  padding: 4em 0 5em;
}

/* Grid – 3 cols → 2 → 1 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---- Base card ---- */
.plan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Featured card lifted higher */
.plan-card.plan-featured {
  transform: translateY(-10px);
  box-shadow: 0 16px 56px rgba(195,33,67,.22);
  border: 2px solid var(--primary);
}

.plan-card.plan-featured:hover {
  transform: translateY(-16px);
}

/* "Most Popular" ribbon */
.plan-badge {
  position: absolute;
  top: 16px;
  right: -1px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 5px 14px 5px 12px;
  border-radius: 20px 0 0 20px;
  box-shadow: -2px 2px 8px rgba(195,33,67,.3);
  z-index: 2;
}

/* ---- Card header (colour band) ---- */
.plan-header {
  padding: 32px 24px 24px;
  text-align: center;
  color: var(--white);
  position: relative;
}

/* icon circle */
.plan-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
  border: 2px solid rgba(255,255,255,.3);
}

.plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.55em;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: .4px;
}

.plan-price-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  margin-bottom: 14px;
}

.plan-currency {
  font-size: 1.3em;
  font-weight: 700;
  margin-top: 6px;
  opacity: .85;
}

.plan-price {
  font-size: 3em;
  font-weight: 800;
  line-height: 1;
  font-family: 'Nunito', sans-serif;
  letter-spacing: -1px;
}

.plan-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.plan-duration,
.plan-contacts {
  background: rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---- Card body ---- */
.plan-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .93em;
  color: var(--text);
  padding: 7px 0;
  border-bottom: 1px solid var(--bg-light);
  line-height: 1.5;
}

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

.plan-features li .fa-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  margin-top: 1px;
  color: var(--white);
}

/* Pay Now button */
.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none !important;
  color: var(--white) !important;
  transition: var(--transition);
  cursor: pointer;
}

.plan-btn:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.plan-btn .fa { margin-right: 6px; }

/* ---- Per-plan colour themes ---- */

/* Silver */
.plan-silver .plan-header  { background: linear-gradient(135deg, #607d8b 0%, #455a64 100%); }
.plan-silver .plan-features li .fa-check { background: #607d8b; }
.plan-silver .plan-btn     { background: linear-gradient(135deg, #607d8b 0%, #455a64 100%); box-shadow: 0 4px 16px rgba(96,125,139,.35); }
.plan-silver .plan-btn:hover { background: linear-gradient(135deg, #455a64 0%, #37474f 100%); }

/* Golden */
.plan-golden .plan-header  { background: linear-gradient(135deg, #d4a338 0%, #b8862a 100%); }
.plan-golden .plan-features li .fa-check { background: #d4a338; }
.plan-golden .plan-btn     { background: linear-gradient(135deg, #d4a338 0%, #b8862a 100%); box-shadow: 0 4px 16px rgba(212,163,56,.35); }
.plan-golden .plan-btn:hover { background: linear-gradient(135deg, #b8862a 0%, #9a6e20 100%); }

/* Diamond – featured */
.plan-diamond .plan-header { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.plan-diamond .plan-features li .fa-check { background: var(--primary); }
.plan-diamond .plan-btn    { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); box-shadow: var(--shadow-primary); }
.plan-diamond .plan-btn:hover { background: linear-gradient(135deg, var(--primary-dark) 0%, #7a1228 100%); box-shadow: 0 8px 28px rgba(195,33,67,.4); }

/* Platinum */
.plan-platinum .plan-header { background: linear-gradient(135deg, #6a0572 0%, #4a0350 100%); }
.plan-platinum .plan-features li .fa-check { background: #6a0572; }
.plan-platinum .plan-btn    { background: linear-gradient(135deg, #6a0572 0%, #4a0350 100%); box-shadow: 0 4px 16px rgba(106,5,114,.35); }
.plan-platinum .plan-btn:hover { background: linear-gradient(135deg, #4a0350 0%, #330238 100%); }

/* Platinum Plus */
.plan-platinumplus .plan-header { background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%); }
.plan-platinumplus .plan-features li .fa-check { background: #1565c0; }
.plan-platinumplus .plan-btn    { background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%); box-shadow: 0 4px 16px rgba(21,101,192,.35); }
.plan-platinumplus .plan-btn:hover { background: linear-gradient(135deg, #0d47a1 0%, #083180 100%); }

/* Personal Touch – dark premium */
.plan-personal .plan-header { background: linear-gradient(135deg, #1c1c2e 0%, #0d0d1a 100%); }
.plan-personal .plan-features li .fa-check { background: #1c1c2e; }
.plan-personal .plan-btn    { background: linear-gradient(135deg, #1c1c2e 0%, #0d0d1a 100%); box-shadow: 0 4px 16px rgba(28,28,46,.5); }
.plan-personal .plan-btn:hover { box-shadow: 0 8px 28px rgba(28,28,46,.6); }

/* Info strip below grid */
.pricing-note {
  text-align: center;
  margin-top: 2.5em;
  font-size: .9em;
  color: var(--text-light);
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-note .fa { color: var(--primary); margin-right: 6px; }
.pricing-note a { color: var(--primary); font-weight: 700; }
.pricing-note a:hover { color: var(--primary-dark); }

/* ============================================================
   CONTACT PAGE  –  redesigned
   ============================================================ */

/* Legacy selectors kept safe */
p+.addr, .addr+.addr, .terms+.addr { margin-top: 26px; }
.grid_4 { width: 270px; float: left; margin-left: 30px; }
.grid_5 p { color: var(--text); font-size: .95em; line-height: 1.8em; }
.addr { margin: 20px; }
.addr dl dt { min-width: 90px; vertical-align: top; }
.addr dl dt, .addr dl dd { display: inline-block; color: var(--text); font-size: .95em; }

/* Old contact form fallback */
form#contact-form, #contact-form { width: 100%; margin: 0; }
#contact-form input[type='text'],
#contact-form textarea {
  background: var(--white); border: 1.5px solid var(--border);
  width: 100%; border-radius: var(--radius); outline: none;
  padding: 14px 16px; margin-bottom: 6px; font-size: .95em; color: var(--text-light);
  transition: border-color .2s; -webkit-appearance: none; appearance: none;
}
#contact-form input[type='text']:focus,
#contact-form textarea:focus { border-color: var(--primary); }
#contact-form textarea { height: 140px; resize: vertical; }
#contact-form input[type="submit"],
#contact-form input[type="button"],
#btnSubmitEnquiry {
  color: var(--white); font-size: .95em; padding: 14px 24px;
  text-transform: uppercase; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none; cursor: pointer; outline: none; width: 100%;
  border-radius: var(--radius); transition: var(--transition);
  box-shadow: var(--shadow-primary);
}
#contact-form input[type="submit"]:hover,
#contact-form input[type="button"]:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.ct-hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #2d1020 50%, var(--primary-dark) 100%);
  padding: 4em 0 3.5em;
  text-align: center;
  overflow: hidden;
}

.ct-hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 18C40 18 30 8 20 18C10 28 20 38 40 52C60 38 70 28 60 18C50 8 40 18 40 18Z' fill='%23c32143' fill-opacity='0.06'/%3E%3C/svg%3E");
}

.ct-hero-content { position: relative; z-index: 2; }

.ct-hero-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(195,33,67,.2); border: 2px solid rgba(195,33,67,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--primary);
  margin: 0 auto 18px;
}

.ct-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8em; color: var(--white);
  font-weight: 700; margin-bottom: .4em;
}

.ct-hero p {
  color: rgba(255,255,255,.65);
  font-size: 1.05em; max-width: 480px; margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Quick contact strip ---------- */
.ct-quick-strip {
  background: var(--white);
  padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  position: relative;
  z-index: 2;
}

.ct-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ct-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  text-decoration: none !important;
  transition: background .2s;
  cursor: pointer;
}

.ct-quick-card:last-child { border-right: none; }
.ct-quick-card:hover { background: var(--bg-warm); }

.ct-quick-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

.ct-quick-call  .ct-quick-icon { background: rgba(195,33,67,.1); color: var(--primary); }
.ct-quick-wa    .ct-quick-icon { background: rgba(37,211,102,.1); color: #25D366; }
.ct-quick-email .ct-quick-icon { background: rgba(21,101,192,.1); color: #1565C0; }
.ct-quick-hours .ct-quick-icon { background: rgba(212,163,56,.1); color: var(--gold); }

.ct-quick-info {
  display: flex; flex-direction: column; gap: 3px; overflow: hidden;
}

.ct-quick-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--text-light);
}

.ct-quick-value {
  font-size: 13px; font-weight: 700; color: var(--dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.ct-quick-card:hover .ct-quick-value { color: var(--primary); }

/* ---------- Main section ---------- */
.ct-main {
  background: var(--bg-warm);
  padding: 4em 0 5em;
}

.ct-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 36px;
  align-items: start;
}

/* Section labels / titles */
.ct-section-label {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; color: var(--primary);
  background: rgba(195,33,67,.08); padding: 5px 14px;
  border-radius: 20px; margin-bottom: 10px;
}

.ct-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9em; color: var(--dark); font-weight: 700;
  margin-bottom: .4em; line-height: 1.25;
}

.ct-section-sub {
  font-size: .95em; color: var(--text-light);
  line-height: 1.7; margin-bottom: 1.6em;
}

/* ---------- Contact form card ---------- */
.ct-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 38px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.ct-form-group label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 12px; font-weight: 700; color: var(--text);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 7px;
}

.ct-form-group label .fa { color: var(--primary); margin-right: 5px; font-size: 11px; }

.ct-input {
  display: block; width: 100%; height: 44px;
  padding: 10px 16px;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-family: 'Nunito', sans-serif;
  font-size: 14px; color: var(--text);
  background: var(--bg-light);
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}

.ct-input:focus {
  border-color: var(--primary) !important;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(195,33,67,.1) !important;
}

.ct-textarea {
  display: block; width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 14px; color: var(--text);
  background: var(--bg-light);
  outline: none; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
  min-height: 130px;
}

.ct-textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(195,33,67,.1) !important;
}

.ct-success-msg {
  border-radius: var(--radius);
  font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; margin-bottom: 16px;
}

.ct-success-msg .fa { font-size: 16px; }

/* Submit button */
.ct-submit-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); border: none; border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 15px; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase; cursor: pointer;
  box-shadow: var(--shadow-primary); transition: var(--transition);
}

.ct-submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), #7a1228);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(195,33,67,.4);
}

.ct-submit-btn .fa { font-size: 16px; }

/* ---------- Offices list ---------- */
.ct-offices-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-office-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.ct-office-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(195,33,67,.1);
  transform: translateX(4px);
}

.ct-office-head { border-left: 4px solid var(--primary); }

.ct-office-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(195,33,67,.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

.ct-office-head .ct-office-icon {
  background: var(--primary); color: var(--white);
}

.ct-office-info h4 {
  font-family: 'Nunito', sans-serif;
  font-size: .95em; font-weight: 800; color: var(--dark);
  margin-bottom: 6px;
}

.ct-office-info p {
  font-size: .85em; color: var(--text-light);
  line-height: 1.6; margin-bottom: 4px;
  display: flex; align-items: flex-start; gap: 6px;
}

.ct-office-info p:last-child { margin-bottom: 0; }

.ct-office-info p .fa {
  color: var(--primary); font-size: 11px;
  flex-shrink: 0; margin-top: 3px;
}

.ct-office-info p a {
  color: var(--primary); font-weight: 600;
}

.ct-office-info p a:hover { color: var(--primary-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ct-layout { grid-template-columns: 1fr 340px; gap: 24px; }
}

@media (max-width: 900px) {
  .ct-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-quick-card:nth-child(2) { border-right: none; }
  .ct-layout { grid-template-columns: 1fr; }
  .ct-offices-col { order: -1; }
  .ct-offices-list { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .ct-hero h1 { font-size: 2em; }
  .ct-quick-grid { grid-template-columns: 1fr 1fr; }
  .ct-form-card { padding: 24px 18px; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-offices-list { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ  –  jQuery accordion
   ============================================================ */

/* Legacy dl selectors kept for safety */
dl.faq-list { margin-bottom: 0; }
.faq-list dd { position: relative; }
.faq-list_h { position: relative; margin: 0; padding: 0 0 5px 28px; background: none; font-weight: normal; }
.faq-list .marker, .faq-list .marker1 { position: absolute; top: 0; left: 0; display: block; font-weight: 700; margin: 0; }
p.m_4 { padding-left: 30px; font-size: .95em; color: var(--text); line-height: 1.8em; margin-bottom: 2em; }
p.m_5 { margin-bottom: 0; }

/* ---- Section header ---- */
.faq-section-header {
  text-align: center;
  margin-bottom: 2.5em;
}

.faq-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2em;
  color: var(--dark);
  margin-bottom: .4em;
}

.faq-section-header p {
  font-size: 1em;
  color: var(--text-light);
}

/* ---- Accordion wrapper ---- */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}

/* ---- Each FAQ card ---- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item.faq-open {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(195,33,67,.12);
}

/* ---- Question header (clickable) ---- */
.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  background: var(--white);
  transition: background .2s ease;
}

.faq-header:hover {
  background: var(--bg-warm);
}

.faq-item.faq-open .faq-header {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}

.faq-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

/* Q badge */
.faq-q-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}

.faq-item.faq-open .faq-q-badge {
  background: var(--primary-dark);
}

/* Question text */
.faq-question-text {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.5;
  transition: color .2s;
}

.faq-item.faq-open .faq-question-text {
  color: var(--primary);
}

/* +/– toggle button */
.faq-toggle-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 13px;
  transition: var(--transition);
}

.faq-toggle-btn i {
  transition: transform .3s ease;
}

.faq-item.faq-open .faq-toggle-btn {
  background: var(--primary);
  color: var(--white);
}

/* Rotate + to × (acts as minus visually) */
.faq-item.faq-open .faq-toggle-btn i {
  transform: rotate(45deg);
}

/* ---- Answer panel ---- */
.faq-body {
  /* shown/hidden by jQuery slideDown/slideUp */
  display: none;
}

.faq-body-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px 22px;
  background: var(--white);
}

/* A badge */
.faq-a-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-body-inner p {
  flex: 1;
  font-size: .97em;
  color: var(--text);
  line-height: 1.9em;
  margin: 0;
  padding-top: 4px;
}

/* Mobile */
@media (max-width: 600px) {
  .faq-header { padding: 14px 16px; }
  .faq-body-inner { padding: 16px; gap: 12px; }
  .faq-question-text { font-size: 14px; }
  .faq-section-header h2 { font-size: 1.7em; }
}

/* ============================================================
   TERMS / STATIC
   ============================================================ */
.terms h4 { color: var(--dark); margin-bottom: 10px; font-size: 1.4em; font-family: 'Playfair Display', serif; }
.terms p  { color: var(--text); font-size: .95em; line-height: 1.8em; margin-bottom: 2em; }
ol.terms_list { padding-left: 20px; margin-bottom: 2em; }
ol.terms_list li { color: var(--text); font-size: .95em; line-height: 1.8em; }
.feature_list li { color: var(--text); font-size: .95em; line-height: 2.3em; }
.feature_list li a { color: var(--text); }
ul.feature_list.feature_list1 { margin-bottom: 2em; }
.terms_1 h3 { color: var(--dark); font-size: 1.2em; font-weight: 700; }
.terms_1 h5 { color: var(--dark); font-size: 1.2em; margin: 2em 0 1em; font-weight: 700; }
.terms_1 p  { color: var(--text); font-size: .95em; line-height: 1.8em; margin-bottom: 10px; }

/* ============================================================
   SUCCESS STORY PAGE  –  redesigned
   ============================================================ */

/* Legacy selectors kept safe */
.suceess-story-page .suceess_story-content-featured-image { width: 300px; }
.suceess-story-page .suceess_story-content-featured-image img { max-width: 100%; border-radius: var(--radius); }
.suceess-story-page.suceess_story ul li,
.suceess-story-page.suceess_story ul li:first-child { padding: 0 !important; }
.suceess-story-page ul.nav-tabs li:after { border: 0; }
.suceess-story-page .tab-content .suceess_story-date:before { position: relative; left: 0; }
.suceess-story-page .tab-content .suceess_story ul li:after { border-left: 0; position: relative; }

/* ---------- Hero ---------- */
.ss-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1c1c2e 0%, #2d1a26 60%, #3d0a1a 100%);
  overflow: hidden;
  text-align: center;
  padding: 4em 20px;
}

/* subtle bokeh circles */
.ss-hero::before,
.ss-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(195,33,67,.12);
  pointer-events: none;
}
.ss-hero::before { width: 400px; height: 400px; top: -120px; left: -100px; }
.ss-hero::after  { width: 300px; height: 300px; bottom: -100px; right: -60px; }

.ss-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c32143' fill-opacity='0.04'%3E%3Cpath d='M40 20 C40 20 30 10 20 20 C10 30 20 40 40 55 C60 40 70 30 60 20 C50 10 40 20 40 20Z'/%3E%3C/g%3E%3C/svg%3E");
}

.ss-hero-content {
  position: relative;
  z-index: 2;
}

.ss-hero-hearts {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ss-hero-hearts .fa-heart {
  color: rgba(195,33,67,.4);
  font-size: 14px;
}

.ss-hero-hearts .ss-heart-main {
  color: var(--primary);
  font-size: 22px;
}

.ss-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8em;
  color: var(--white);
  margin-bottom: .4em;
  font-weight: 700;
  letter-spacing: .5px;
}

.ss-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.05em;
  max-width: 520px;
  line-height: 1.7;
  margin: 0 auto;
}

/* ---------- Section wrapper ---------- */
.ss-section {
  background: var(--bg-warm);
  padding: 0 0 5em;
}

/* ---------- Tabs ---------- */
.ss-tabs-wrap {
  background: var(--white);
  border-bottom: none;
  padding-top: 0;
}

.ss-tabs {
  border-bottom: none !important;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.ss-tabs > li > a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .4px;
  padding: 18px 32px;
  color: var(--text-light) !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-tabs > li > a:hover {
  color: var(--primary) !important;
  border-bottom-color: rgba(195,33,67,.3) !important;
}

.ss-tabs > li.active > a,
.ss-tabs > li.active > a:hover,
.ss-tabs > li.active > a:focus {
  color: var(--primary) !important;
  border-bottom: 3px solid var(--primary) !important;
  background: transparent !important;
}

.ss-tabs > li > a .fa-heart { color: var(--primary); }
.ss-tabs > li > a .fa-pencil { color: var(--text-light); }
.ss-tabs > li.active > a .fa-pencil { color: var(--primary); }

.ss-tab-content {
  padding-top: 3em;
}

/* ---------- Intro text ---------- */
.ss-intro-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5em;
  font-size: 1em;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---------- Stories grid ---------- */
.ss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991px)  { .ss-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .ss-grid { grid-template-columns: 1fr; } }

/* ---------- Story card ---------- */
.ss-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}

.ss-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Image */
.ss-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 230px;
  background: var(--bg-light);
}

.ss-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .4s ease;
}

.ss-card:hover .ss-card-img {
  transform: scale(1.06);
}

/* Date badge over image */
.ss-card-date-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(28,28,46,.82);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
  letter-spacing: .4px;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ss-card-date-badge .fa { color: var(--primary); font-size: 10px; }

/* Card body */
.ss-card-body {
  padding: 20px 22px 16px;
  flex: 1;
}

.ss-card-names {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ss-name-heart {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.ss-card-names h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15em;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.3;
}

.ss-card-names h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: color .2s;
}

.ss-card-names h3 a:hover { color: var(--primary); }

.ss-card-desc {
  font-size: .9em;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card footer */
.ss-card-footer {
  padding: 12px 22px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}

.ss-footer-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ss-footer-tag .fa { font-size: 10px; }

/* ---------- Post Story Form ---------- */
.ss-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.ss-form-header {
  text-align: center;
  margin-bottom: 2em;
}

.ss-form-header .fa-heart {
  color: var(--primary);
  font-size: 2em;
  display: block;
  margin-bottom: .4em;
}

.ss-form-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2em;
  color: var(--dark);
  margin-bottom: .35em;
}

.ss-form-header p {
  color: var(--text-light);
  font-size: .97em;
}

.ss-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.ss-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.ss-form-row .ss-form-group { flex: 1; }

.ss-form-group {
  margin-bottom: 20px;
}

.ss-form-group-full { width: 100%; }

.ss-form-group label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 7px;
}

.ss-form-group label .fa {
  color: var(--primary);
  margin-right: 5px;
}

.ss-form-group .form-control {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 14px;
  height: 42px;
  padding: 8px 14px;
  transition: border-color .2s, box-shadow .2s;
}

.ss-form-group .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(195,33,67,.1) !important;
}

.ss-form-group textarea.form-control { height: auto; resize: vertical; }

/* Date selects row */
.ss-date-row {
  display: flex;
  gap: 12px;
}

.ss-date-row .form-control { flex: 1; }

/* File upload */
.ss-file-wrap { position: relative; }

.ss-file-input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
}

.ss-file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 24px 16px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg-warm);
  transition: var(--transition);
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
}

.ss-file-label:hover {
  border-color: var(--primary);
  background: var(--bg-cream);
  color: var(--primary);
}

.ss-file-label .fa {
  font-size: 28px;
  color: var(--primary);
  opacity: .6;
}

/* Submit button */
.ss-form-submit {
  text-align: center;
  margin-top: 10px;
}

.ss-submit-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  outline: none;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 14px 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ss-submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #7a1228 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(195,33,67,.4);
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .ss-hero { min-height: 220px; padding: 3em 16px; }
  .ss-hero h1 { font-size: 2em; }

  .ss-tabs > li > a { padding: 14px 18px; font-size: 13px; }

  .ss-form-card { padding: 24px 20px; }
  .ss-form-row  { flex-direction: column; gap: 0; }
  .ss-date-row  { flex-direction: column; }
}

/* ============================================================
   PROFILE VIEW PAGE  –  redesigned
   ============================================================ */

/* ---------- Hero ---------- */
.prf-hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #2d1020 55%, #3d0a1a 100%);
  padding: 20px 0;
  overflow: hidden;
}

.prf-hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10C30 10 22 2 14 10C6 18 14 26 30 36C46 26 54 18 46 10C38 2 30 10 30 10Z' fill='%23c32143' fill-opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}

.prf-hero-content {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

.prf-hero-id {
  font-family: 'Playfair Display', serif;
  font-size: 1.4em; color: var(--white);
  font-weight: 700; display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}

.prf-hero-id .fa { color: var(--primary); font-size: .8em; }
.prf-hero-id strong { color: var(--gold); }

.prf-hero-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
}

.prf-hero-meta span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.6);
}

.prf-hero-meta .fa { color: var(--primary); font-size: 11px; }

.prf-hero-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

.prf-btn-contact,
.prf-btn-contact-sm {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 10px 20px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer;
  box-shadow: var(--shadow-primary) !important;
  transition: var(--transition) !important;
  display: inline-flex !important;
  align-items: center;
}

.prf-btn-contact:hover,
.prf-btn-contact-sm:hover {
  background: linear-gradient(135deg, var(--primary-dark), #7a1228) !important;
  transform: translateY(-1px) !important;
}

.prf-btn-print {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85) !important; padding: 9px 16px;
  border-radius: var(--radius); font-size: 13px; font-weight: 700;
  text-decoration: none !important; transition: background .2s;
}

.prf-btn-print:hover { background: rgba(255,255,255,.2); color: var(--white) !important; }

/* ---------- Page wrapper ---------- */
.prf-page {
  background: var(--bg-warm);
  padding: 2.5em 0 5em;
}

.prf-section-wrapper {
  background: var(--bg-warm);
  padding: 2.5em 0 5em;
}

/* ---------- Layout grid ---------- */
.prf-page-grid,
.prf-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* ---------- Top card: Photo + Quick Info ---------- */
.prf-top-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 260px 1fr;
  margin-bottom: 20px;
}

/* Photo column */
.prf-photo-col {
  background: var(--bg-light);
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.prf-flexslider.flexslider {
  border: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.prf-flexslider .slides img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Quick info column */
.prf-quick-col {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prf-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.prf-quick-item {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 3px;
}

.prf-qi-label {
  font-size: 10px; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: .4px;
  display: flex; align-items: center; gap: 4px;
}

.prf-qi-label .fa { color: var(--primary); font-size: 10px; }

.prf-qi-value {
  font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.3;
}

/* About teaser */
.prf-about-teaser {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 14px 16px;
  border-left: 3px solid var(--primary);
  font-style: italic;
  display: flex; gap: 10px; align-items: flex-start;
}

.prf-about-teaser p {
  font-size: .9em; color: var(--text); line-height: 1.7; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

.prf-quote-icon { color: var(--primary); opacity: .35; font-size: 18px; flex-shrink: 0; margin-top: 2px; }

/* Action row */
.prf-action-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto;
}

.prf-btn-interest,
.prf-btn-message {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 12px; font-weight: 800;
  text-decoration: none !important; transition: var(--transition);
}

.prf-btn-interest {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  box-shadow: var(--shadow-primary);
}

.prf-btn-interest:hover {
  background: linear-gradient(135deg, var(--primary-dark), #7a1228);
  transform: translateY(-1px);
}

.prf-btn-message {
  background: rgba(195,33,67,.08);
  border: 2px solid rgba(195,33,67,.2);
  color: var(--primary) !important;
}

.prf-btn-message:hover {
  background: var(--primary); color: var(--white) !important;
}

/* ---------- Tabs card ---------- */
.prf-tabs-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Tab navigation */
.prf-tabs.nav-tabs1,
ul#myTab.prf-tabs {
  display: flex;
  border-bottom: none;
  background: var(--bg-light);
  border-bottom: 2px solid var(--border) !important;
  margin: 0 !important; padding: 0 !important;
  width: 100%;
}

.prf-tabs.nav-tabs1 > li,
ul#myTab.prf-tabs > li {
  flex: 1; margin-bottom: 0 !important;
}

.prf-tabs.nav-tabs1 > li > a,
ul#myTab.prf-tabs > li > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 12px !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 13px !important; font-weight: 700 !important;
  color: var(--text-light) !important;
  background: transparent !important;
  transition: color .2s, border-color .2s !important;
  text-align: center;
}

.prf-tabs.nav-tabs1 > li > a:hover,
ul#myTab.prf-tabs > li > a:hover {
  color: var(--primary) !important;
  border-bottom-color: rgba(195,33,67,.3) !important;
}

.prf-tabs.nav-tabs1 > li.active > a,
.prf-tabs.nav-tabs1 > li.active > a:hover,
.prf-tabs.nav-tabs1 > li.active > a:focus,
ul#myTab.prf-tabs > li.active > a,
ul#myTab.prf-tabs > li.active > a:hover {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
  background: var(--white) !important;
}

.prf-print-tab { color: var(--text-light) !important; }
.prf-print-tab:hover { color: var(--primary) !important; }

/* Tab content */
.prf-tab-content { padding: 0; }
.prf-tab-content > .tab-pane.active { margin-top: 0 !important; }

/* ---------- Info sections inside tabs ---------- */
.prf-info-section {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.prf-info-section:last-child { border-bottom: none; }

.prf-info-section-title {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 12px; font-weight: 800; color: var(--text);
  text-transform: uppercase; letter-spacing: .6px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-warm);
}

.prf-info-section-title .fa { color: var(--primary); font-size: 13px; }

.prf-about-text {
  font-size: .95em; color: var(--text); line-height: 1.85;
  font-style: italic; margin: 0;
  padding: 12px 16px;
  background: var(--bg-warm);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Info grid: 2-col label/value pairs */
.prf-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.prf-info-row {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 14px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.prf-info-row:nth-child(even) { border-right: none; }
.prf-info-row:nth-last-child(-n+2) { border-bottom: none; }

.prf-info-label {
  font-size: 10px; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: .4px;
}

.prf-info-value {
  font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.4;
}

/* ---------- Sidebar ---------- */
.prf-sidebar {
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: 80px;
}

.prf-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.prf-sidebar-card-title {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 12px; font-weight: 800; color: var(--text);
  text-transform: uppercase; letter-spacing: .5px;
  display: flex; align-items: center; gap: 8px;
}

.prf-sidebar-card-title .fa { color: var(--primary); }

/* Profile ID search */
.prf-id-search {
  display: flex; gap: 0; padding: 14px;
}

.prf-id-input {
  flex: 1; height: 40px;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
  padding: 8px 14px; font-size: 13px; color: var(--text);
  outline: none; transition: border-color .2s;
}

.prf-id-input:focus { border-color: var(--primary); }

.prf-id-btn {
  width: 40px; height: 40px;
  background: var(--primary) !important;
  color: var(--white) !important; border: none !important;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  display: flex !important; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px !important;
  transition: background .2s !important;
}

.prf-id-btn:hover { background: var(--primary-dark) !important; }

/* Similar profile cards */
.prf-similar-profiles { padding: 8px 0; }

.prf-similar-card {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none !important;
  transition: background .15s;
}

.prf-similar-card:last-child { border-bottom: none; }
.prf-similar-card:hover { background: var(--bg-warm); }

.prf-similar-img {
  width: 52px; height: 52px; border-radius: var(--radius);
  overflow: hidden; flex-shrink: 0; background: var(--bg-light);
}

.prf-similar-img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center; display: block;
}

.prf-similar-info { flex: 1; min-width: 0; }

.prf-similar-id {
  font-size: 12px; font-weight: 800; color: var(--primary); margin-bottom: 2px;
}

.prf-similar-detail {
  font-size: 11px; color: var(--text-light); line-height: 1.5;
}

.prf-view-link {
  font-size: 11px; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px; margin-top: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .prf-page-grid,
  .prf-layout { grid-template-columns: 1fr; }
  .prf-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .prf-sidebar-card { flex: 1 1 280px; }
  .prf-top-card { grid-template-columns: 200px 1fr; }
}

@media (max-width: 640px) {
  .prf-top-card { grid-template-columns: 1fr; }
  .prf-photo-col { border-right: none; border-bottom: 1px solid var(--border); }
  .prf-flexslider .slides img { height: 200px; }
  .prf-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .prf-info-grid { grid-template-columns: 1fr; }
  .prf-info-row { border-right: none; }
  .prf-info-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .prf-info-row:last-child { border-bottom: none; }
  .prf-tabs.nav-tabs1 > li > a span,
  ul#myTab.prf-tabs > li > a span { display: none; }
  .prf-hero-content { flex-direction: column; align-items: flex-start; }
  .prf-hero-actions { flex-wrap: wrap; }
  .prf-sidebar { flex-direction: column; }
}

/* ============================================================
   PROFILE EDIT TABS
   ============================================================ */
.tab_box { margin-bottom: 2em; }
.tab_box h1 { color: var(--primary); font-size: 1.1em; font-family: 'Nunito', sans-serif; font-weight: 700; }
.tab_box p  { color: var(--text); font-size: .95em; line-height: 1.8em; }
.tab_box1 { margin: 0; }

.basic_1-left { padding-left: 0; }
.basic_1 { margin-bottom: 2em; }
.basic_1 h3 { color: var(--primary); font-size: 1.1em; font-family: 'Nunito', sans-serif; font-weight: 700; }
.basic_2 { margin-bottom: 0; }
.basic_3 h4 { font-size: 1.4em; color: var(--primary); }

/* ============================================================
   NEWSLETTER / SEARCH FORM
   ============================================================ */
.newsletter { margin-bottom: 3em; }
.newsletter input[type="text"] {
  padding: 10px 14px; width: 74%; margin-right: 8px;
  font-size: 12px; max-width: 96%; outline: none;
  border: 1.5px solid var(--border); display: inline-block; border-radius: var(--radius-sm);
}
.newsletter input[type="submit"] {
  color: var(--white); text-transform: uppercase; font-size: .9em; font-weight: 700;
  border: none; background: var(--primary); padding: 9px 22px; outline: none;
  display: inline-block; vertical-align: middle; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-primary); cursor: pointer; transition: var(--transition);
}
.newsletter input[type="submit"]:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ============================================================
   PAGINATION
   ============================================================ */
ul.pagination { margin: 1em 0 0; }
.pagination > li { display: inline; }
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus { z-index: 2; color: var(--white); background: var(--primary); border-color: var(--primary); cursor: default; }
.pagination > li > a { border-bottom-left-radius: 0 !important; border-top-left-radius: 0 !important; padding: 6px 14px; border: none; border-left: 1px solid var(--border); color: var(--text); font-weight: 600; }
.pagination > li > a:hover { background: var(--bg-warm); color: var(--primary); }
ul.pagination_1 { float: right; margin-bottom: 2em; }
ul.pagination_1 > li > a { padding: 3px 10px; font-size: 12px; }

/* ============================================================
   LOADER
   ============================================================ */
.loader { position: fixed; top: 0; left: 0; bottom: 0; right: 0; background: rgba(255,255,255,.85); z-index: 9999; }
.loader img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }

/* ============================================================
   MISC HELPERS
   ============================================================ */
.header { background: var(--bg-light); padding: 2em 0; }
.col_5 { padding-left: 0; }
.col_5 img { margin-bottom: 2em; }
.form_box  { padding-left: 0; }
.form_box1 { padding-right: 0; }
.profile_left-top  { padding-left: 0; }
.login_left        { padding-left: 0; }
.floatnone .grid_4 { float: none; }
.mt-5 { margin-top: 15px; }

h3.m_2 { width: 100%; line-height: 2em; text-indent: 10px; display: block; color: var(--text); font-size: .95em; text-decoration: none; background: var(--bg-light); border-radius: var(--radius-sm); }

.menu { width: auto; height: auto; padding: 0; list-style: none; margin: 0; }
.menu ul li a { width: 100%; display: block; font-size: 12px; color: var(--text); text-decoration: none; line-height: 1.8em; text-indent: 10px; }
.menu ul li a:hover { color: var(--primary); }
.menu > li > a:hover, .menu > li > a.active { background: var(--bg-light); }
.menu ul.kid-menu li a { border-bottom: none; }
ul.kid-menu { padding: 0; margin: 0; }
ul.kid-menu li { list-style: none; border-bottom: 1px solid var(--border); }
ul.kid-menu li.menu-kid-left { border-bottom: none; }
ul.cute li { background: var(--white); }
.img-arrow { padding: 0 0 0 8em; }
.img-left-arrow { padding: 0 0 0 5.5em; }
li.item1 { margin-bottom: 1em; }

.sharing li { margin-bottom: 1em; }
.sharing li a { color: var(--text); }
.sharing .fa-boxed { margin-right: 18px; color: var(--white); width: 34px; height: 34px; line-height: 34px; border-radius: 50%; display: inline-block; }
.sharing .facebook .fa-boxed { background: #3F5F95; }
.sharing .twitter  .fa-boxed { background: #4CAFE8; }
.sharing .google   .fa-boxed { background: #DB4E37; }
.sharing .linkedin .fa-boxed { background: #296996; }
.sharing .mail     .fa-boxed { background: #863587; }
.sharing .facebook .fa-boxed:hover,
.sharing .twitter  .fa-boxed:hover,
.sharing .google   .fa-boxed:hover,
.sharing .linkedin .fa-boxed:hover,
.sharing .mail     .fa-boxed:hover { opacity: .85; }

.add-remove-spacing .add i, .add-remove-spacing .remove i { display: none; }
.radio-inline, .checkbox-inline { margin-right: 10px; }
.radio-inline+.radio-inline, .checkbox-inline+.checkbox-inline { margin-left: 0; }

.progress { height: 14px; margin-bottom: 14px; background: #ebebeb; box-shadow: none; border-radius: var(--radius-sm); }
.progress-bar { line-height: 14px; height: 14px; overflow: hidden; position: relative; text-align: right; padding: 0 18px; background: #00adef; border-radius: var(--radius-sm) 0 0 var(--radius-sm); box-shadow: none; }
.progress-bar-success { background: #a6ce39; }
.progress-bar-info    { background: #73c9e3; }
.progress-bar-warning { background: #fcbe5c; }
.progress-bar-danger  { background: #d9534f; }
.progress-label { font-size: 13px; color: var(--white); float: left; }

.columns { margin: 3em 0 0; }
.short_codes { padding: 5em 0; }
.headings h1, h2, h3, h4, h5, h6 { font-weight: 600; }
.headings p, .column_grid p { color: var(--text); font-size: .95em; line-height: 1.8em; }
.list_1 { margin: 3em 0 0; }
.list_1 h3 { color: var(--dark); font-size: 1.4em; margin: 1em 0; }

.map iframe { border: none; width: 100%; height: 300px; border-radius: var(--radius); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1280px) {
  .navbar-inner,
  .nav-main-inner { height: 76px; }
  .brand          { width: 200px; }
  .brand img      { max-width: 200px; }
  ul.nav_1 > li > a,
  .navbar-nav > li > a { padding: 26px 14px; font-size: 14px; }
}

@media (max-width: 1280px) {
  #colorNav li ul li a { padding: 5px; }
  #colorNav li ul { width: 150px; margin-left: -56px; }
}

/* tablet nav — no negative margin needed with sticky layout */

@media (max-width: 1024px) {
  .banner_info h3 { font-size: 3em; }
  .hvr-shutter-out-horizontal { padding: 8px 25px; font-size: 17px; }
  .banner_info { margin: 7em 0 0; }
  .post-meta { margin-right: 6%; }
  h4.post-title { font-size: .95em; }
  ul.nav_1 li { margin-right: 0; }
  .testi_grid .testi_grid_blockquote > div a { font-size: .8em; }
  .testi-meta1 { padding: 15px 220px 0 0; }
  .post_networks ul li { margin: 3.5em 0 0; }
  .profile_search1 input[type="text"] { width: 72%; margin-right: 0; }
  .thumb_bottom { margin: 0; }
  #colorNav li ul { width: 150px; margin-left: -40px; top: 29px; }
  a.order-btn { width: 65%; }
  .newsletter input[type="submit"] { padding: 8px 14px; }
}

@media (max-width: 991px) {
  .navbar-nav > li > a { padding: 25px 7px; }
  .form-section { width: 100%; position: relative; top: auto; bottom: auto; right: auto; height: auto; border-radius: 0; box-shadow: none; border: none; padding: 24px 20px; overflow-y: visible; }
  .mob-advance-search { display: none !important; }
}

@media (max-width: 930px) {
  ul.nav_1 { margin: 5px 0 0; }
  .inline-block { padding-right: 1%; }
  .grid_1 h1, .grid_2 h2, .bg h3 { font-size: 2em; }
  .heart-divider { margin: 1em auto 2em; }
  .bg_left { padding: 1em; }
  .col-md-4.row_1-right { margin: 3em 0 0; }
  .religion { margin: 2em 0; }
  .grid_2 { margin-bottom: 3em; }
  .bg_left h4 { font-size: 1.2em; }
  .col_2 { margin-bottom: 2em; }
  .col_2 h4 { margin-bottom: 10px; }
  .col-md-6.about_right { padding-left: 0; margin: 2em 0 0; }
  .about_middle h2 { font-size: 2em; }
  .testi_grid .testi_grid_blockquote > div { padding: 10px; }
  .testi_grid .testi_grid_blockquote > div a { font-size: 11px; }
  .testi-meta1 { padding: 15px 115px 0 0; }
  .about_grid1 { width: 50%; float: left; margin-bottom: 2em; }
  .about_bottom { padding: 5em 0 3em; }
  .post_networks ul li { margin: 6em 0 0; }
  .profile_left2 { margin-bottom: 3em; }
  .match_right { padding-left: 0; }
  .col-md-9.profile_left { padding-left: 0; margin: 2em 0 0; }
  .col-md-9.members_box { padding-left: 0; margin: 2em 0 0; }
  .search_left { padding-left: 0; margin-bottom: 3em; }
  .profile_search1 { margin-bottom: 2em; }
  .profile_left1 { margin-bottom: 3em; }
  .col-md-9.members_box2 { padding-left: 0; margin: 2em 0 0; }
  .nav-tabs1 { margin-bottom: 1em; }
  .pricing-table { width: 50%; float: left; }
  .grid_4 { width: 220px; }
  .profile_right { padding-left: 0; margin: 3em 0 0; }
}

@media (max-width: 768px) {
  .banner_info h3 { font-size: 2.5em; }
  .hvr-shutter-out-horizontal { padding: 6px 15px; font-size: 15px; }
  .banner_info { margin: 5em 0 0; }
  .age_box1 { width: 50% !important; }
  label.gender_1 { margin-right: 0; }
  .grid_1 { padding: 3em 0; }
  .footer { padding: 3em 0 2em; }
  .copy { margin: 1em 0 0; }
  .inline-block { padding-right: 0; }
  .wrap_1 { width: 720px; }
  .center-middle { margin: 85px 0 0; }
  .grid_3, .about_middle { padding: 3em 0; }
  .about_bottom { padding: 3em 0 2em; }
  i.icon_4 { font-size: 48px; line-height: 80px; }
  form#contact-form, #contact-form { width: 100%; }
  .testi_grid { width: 100%; margin-left: 0; display: block; margin-bottom: 1.5em; }
  .testi-meta1 { padding: 10px 0 0; }
}

@media (max-width: 767px) {
  /* page layout rules only – nav rules live in the MOBILE NAV block above */
  .form-section { width: 100%; position: relative; top: auto; bottom: auto; right: auto; height: auto; border-radius: 0; padding: 20px 16px; overflow-y: visible; }
  .banner .carousel-inner img { height: 240px; }
  .grid_1 h1, .grid_2 h2 { font-size: 1.8em; }
  .bg h3 { font-size: 1.8em; }
  .suceess_story-content-featured-image { margin-bottom: .5em; }
  .col_2 { margin-bottom: 2em; text-align: center; }
  .footer .col-md-4, .footer .col-md-2 { text-align: center; }
  ul.footer_social { text-align: center; }
  ul.footer_social li { margin: 0 4px; }
  ul.footer_links li a:hover { padding-left: 0; }
  .sticky-container { display: none; }
  .jobs-item .thumb { float: none; margin-right: 0; margin-bottom: 12px; }
  .post-meta { width: 15%; margin-right: 8%; }
  .about_grid1 { width: 100%; float: none; }
  .pricing-table { width: 100%; float: none; margin-bottom: 1.5em; }
  a.order-btn { width: 80%; }
  .grid_4 { width: 100%; float: none; margin-left: 0; margin-bottom: 1.5em; }
  .profile_search1 input[type="text"] { width: 100%; margin-right: 0; display: block; margin-bottom: 8px; }
  .newsletter input[type="text"] { width: 100%; display: block; margin-right: 0; margin-bottom: 8px; }
  .newsletter input[type="submit"] { width: 100%; }
}

/* Auth button desktop fine-tune (main rules live in NAVBAR section) */
@media (min-width: 768px) {
  li#liMyAccount .dropdown-menu { margin-top: 2px; }
}

/* ── Desktop: forcibly hide any mobile-accordion leftovers ──
   These elements are injected by JS on mobile. When the window
   is resized to desktop the JS cleanup runs, but CSS ensures
   they can never appear even if cleanup is momentarily delayed. */
@media (min-width: 768px) {
  .mob-submenu         { display: none !important; height: 0 !important; }
  .mob-acc-icon        { display: none !important; }
  /* Restore nav-caret visibility that the accordion JS hides */
  .nav-caret           { display: inline !important; }
}

/* ============================================================
   CONTAINER WIDTH
   Matrimony-optimised: readable columns, balanced profile cards.
   Bootstrap 3 default caps at 1170px; we raise it slightly to
   1260px so wide monitors don't feel cramped without going
   oversized like the previous 1480–1560px range.
   ============================================================ */

@media (min-width: 1200px) {
  .container {
    width: 92%;
    max-width: 1260px;
  }
}

/* Give grid_1 sections a subtle full-bleed feel */
.grid_1,
.grid_2,
.bg,
.footer,
.inner-banner {
  width: 100%;
}

/* Ensure the navbar-inner matches */
.navbar-inner > .container,
.navbar-inner > .container-fluid {
  width: 92%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

/* Profile card grid: on wide screens show 5 columns

/* Success stories section: wider side-by-side columns */
@media (min-width: 1200px) {
  .grid_2 .row_1 {
    display: flex;
    align-items: flex-start;
    gap: 2em;
  }

  .grid_2 .col-md-8.suceess_story {
    flex: 1 1 0;
  }

  .grid_2 .col-md-4.row_1-right {
    flex: 0 0 360px;
    margin-top: 0 !important;
  }
}

/* Featured sections heading: slightly larger on wide screens */
@media (min-width: 1200px) {
  .grid_1 h1,
  .grid_2 h2 {
    font-size: 2.8em;
  }
}

/* Banner carousel full-width images */
@media (min-width: 1200px) {
  .banner .carousel-inner img {
    height: 460px;
  }
}

/* Form section on wide screens: slightly wider panel */
@media (min-width: 1200px) {
  .form-section {
    width: 400px;
    right: 50px;
  }
}

/* ============================================================
   BASIC-INFORMATION PAGE  –  bi-* component styles
   Applies to basic-information.aspx only. No other pages touched.
   ============================================================ */

/* ── Hero banner ── */
.bi-hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #3d0a1a 50%, var(--primary-dark) 100%);
  padding: 52px 0 44px;
  overflow: hidden;
}
.bi-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(195,33,67,.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(212,163,56,.12) 0%, transparent 45%);
  pointer-events: none;
}
.bi-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.bi-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.bi-hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.bi-hero-text h1 .fa {
  color: var(--gold-light);
  margin-right: 8px;
}
.bi-hero-text p {
  color: rgba(255,255,255,.72);
  font-size: .95rem;
}

/* ── Step pills ── */
.bi-hero-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.bi-step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  transition: var(--transition);
  white-space: nowrap;
}
.bi-step:hover {
  color: #fff;
  background: rgba(255,255,255,.15);
  text-decoration: none;
}
.bi-step-active,
.bi-step-active:hover {
  color: var(--dark);
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 3px 12px rgba(212,163,56,.4);
}
.bi-step-arrow {
  color: rgba(255,255,255,.35);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 2px;
}

/* ── Page wrapper ── */
.bi-page {
  background: var(--bg-light);
  padding: 36px 0 60px;
  min-height: 60vh;
}

/* ── Two-column layout: sidebar + main ── */
.bi-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.bi-sidebar {
  flex: 0 0 230px;
  min-width: 0;
  position: sticky;
  top: 80px;
}
.bi-main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Section cards ── */
.bi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.bi-card:hover {
  box-shadow: var(--shadow);
}
.bi-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-cream);
}
.bi-card-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--dark);
}
.bi-card-header p {
  font-size: .8rem;
  color: var(--text-light);
  margin: 0;
}
.bi-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.bi-icon-red    { background: rgba(195,33,67,.1);  color: var(--primary); }
.bi-icon-gold   { background: rgba(212,163,56,.12); color: var(--gold); }
.bi-icon-purple { background: rgba(107,63,160,.1);  color: #7b4cb8; }
.bi-icon-blue   { background: rgba(30,100,220,.1);  color: #2563eb; }

.bi-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Field layout helpers ── */
.bi-field-grid {
  display: grid;
  gap: 20px;
}
.bi-grid-1 { grid-template-columns: 1fr; }
.bi-grid-2 { grid-template-columns: 1fr 1fr; }

.bi-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Labels ── */
.bi-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}
.bi-label .fa {
  color: var(--primary);
  font-size: .85rem;
}
.bi-req {
  color: var(--primary);
  font-size: .9rem;
  font-weight: 700;
}

/* ── Inputs & selects ── */
.bi-input,
.bi-select,
.bi-textarea,
.bi-listbox {
  width: 100%;
  padding: 10px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: .92rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.bi-input:focus,
.bi-select:focus,
.bi-textarea:focus,
.bi-listbox:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(195,33,67,.1);
}
.bi-input::placeholder,
.bi-textarea::placeholder { color: #bbb; }

.bi-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23757585' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
}
.bi-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.bi-listbox {
  height: 140px;
  padding: 6px 10px;
}

/* ── DOB row ── */
.bi-dob-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.bi-dob-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bi-dob-sub-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── Radio buttons ── */
.bi-radio-wrap { padding-top: 2px; }
.bi-radio-list { border: none !important; padding: 0 !important; }
.bi-radio-list label {
  font-weight: 500;
  font-size: .92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 20px;
  color: var(--text);
}
.bi-radio-list input[type=radio] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ── Select2 hint ── */
.bi-select2-hint {
  font-size: .75rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2px;
}

/* ── Validation error ── */
.bi-error {
  font-size: .78rem;
  color: #e53e3e;
  font-weight: 600;
  margin-top: 2px;
  display: block;
}
.bi-error::before {
  content: '\f071  ';
  font-family: 'FontAwesome';
  margin-right: 3px;
}

/* ── Field hint text ── */
.bi-field-hint {
  font-size: .78rem;
  color: var(--text-light);
  background: var(--bg-light);
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.5;
  margin-top: 4px;
}
.bi-field-hint .fa { color: var(--gold); margin-right: 4px; }

/* ── Submit bar ── */
.bi-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  box-shadow: var(--shadow-sm);
}
.bi-submit-left { flex: 1; }
.bi-submit-right { flex-shrink: 0; }

.bi-status-msg {
  font-size: .9rem;
  font-weight: 600;
  color: #16a34a;
}

/* ── Save button ── */
.bi-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff !important;
  font-family: 'Nunito', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  padding: 11px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
  letter-spacing: .03em;
}
.bi-btn-save:hover,
.bi-btn-save:focus {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 6px 24px rgba(195,33,67,.4);
  transform: translateY(-1px);
  color: #fff;
}
.bi-btn-save:active {
  transform: translateY(0);
  box-shadow: var(--shadow-primary);
}

/* ── Left nav: fix Bootstrap col-md-3 inside flex sidebar ── */
.bi-sidebar .col-md-3,
.bi-sidebar .match_right {
  width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.bi-sidebar .panel.panel-danger {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
}

.bi-sidebar .panel-danger > .panel-heading {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  letter-spacing: .02em;
  border: none;
}

.bi-sidebar .list-group {
  background: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  margin: 0;
}

.bi-sidebar .list-group-item {
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid var(--border);
  padding: 0;
  background: transparent;
}
.bi-sidebar .list-group-item:last-child {
  border-bottom: none;
}

.bi-sidebar .list-group-item a {
  display: block;
  padding: 11px 18px 11px 20px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bi-sidebar .list-group-item a:hover {
  color: var(--primary);
  background: rgba(195,33,67,.04);
  border-left-color: var(--primary);
  text-decoration: none;
  padding-left: 22px;
}
.bi-sidebar .list-group-item.active a,
.bi-sidebar .list-group-item a.active {
  color: var(--primary);
  background: rgba(195,33,67,.06);
  border-left-color: var(--primary);
  font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .bi-layout   { flex-direction: column; }
  .bi-sidebar  { position: static; flex: none; width: 100%; }
  .bi-hero-content { flex-direction: column; align-items: flex-start; }
  .bi-grid-2   { grid-template-columns: 1fr; }
  .bi-dob-row  { grid-template-columns: 1fr 1fr 1fr; }
  .bi-sidebar .list-group { display: flex; flex-wrap: wrap; }
  .bi-sidebar .list-group-item { flex: 0 0 auto; border-bottom: none; }
  .bi-sidebar .list-group-item a { white-space: nowrap; }
}
@media (max-width: 575px) {
  .bi-hero         { padding: 36px 0 30px; }
  .bi-hero-text h1 { font-size: 1.5rem; }
  .bi-hero-steps   { gap: 6px; }
  .bi-step         { padding: 6px 10px; font-size: .78rem; }
  .bi-card-body    { padding: 16px; }
  .bi-card-header  { padding: 14px 16px; }
  .bi-submit-bar   { flex-direction: column; align-items: stretch; }
  .bi-btn-save     { width: 100%; justify-content: center; }
  .bi-dob-row      { grid-template-columns: 1fr; }
}
