/* =====================================================
   Date in Faith ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â Shared Stylesheet
   ===================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --gold: #C9A66B;
  --gold-dark: #A8853F;
  --gold-light: #E8D5A8;
  --cream: #F8F1E4;
  --cream-light: #FDF9F1;
  --dark: #1a1410;
  --dark-2: #2a2118;
  --text: #2a2118;
  --text-muted: #6b6258;
  --text-light: #ffffff;
  --border: #e7ddc8;

  --font-serif: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans:  'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.18);

  --container: 1200px;

  /* Surface tokens ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â overridden in dark mode */
  --surface: #ffffff;
  --surface-2: var(--cream-light);
  --surface-3: var(--cream);
  --hero-overlay: rgba(20,15,10,.55);
}
:root {
    --gold: #d39a43;
    --dark-gold: #8a5b1f;
    --dark: #151515;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Outfit', sans-serif !important;
    color: #1d1d1d;
    background: #fff !important;
}

.container {
    width: 82%;
    max-width: 1340px;
    margin: auto;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* HEADER */
.df-header {
    height: 100px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    position: relative;
    z-index: 10;
}

.df-logo img {
    width: 200px;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.df-nav {
    display: flex;
    gap: 34px;
}

.df-nav a {
    color: #111;
    font-size: 16px;
    transition: .3s;
    position: relative;
}

.df-nav a::after {
    content: "";
    width: 0;
    height: 2px;
    background: var(--gold);
    position: absolute;
    left: 0;
    bottom: -7px;
    transition: .3s;
}

.df-nav a:hover {
    color: #683e1e;
}

.df-nav a:hover::after {
    width: 100%;
}

.df-login {
    background: #4a2d13;
    color: #fff;
    padding: 10px 26px;
    border-radius: 30px;
    font-size: 16px;
    transition: .3s;
}

.df-login:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.df-menu-btn {
    display: none;
}

/* HERO */
.df-hero {
    height: 600px;
    background: url('/assets/images/hero-couple.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.df-hero-content {
    position: relative;
    color: #fff;
    animation: fadeUp 1s ease;
}

.df-hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    font-family: Outfit, sans-serif !important;
    line-height: 1.2;
}

.df-hero-content p {
    margin: 20px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
}

.df-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.df-btn {
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 16px;
    display: inline-block;
    transition: .35s;
}

.df-btn.gold {
    background: var(--gold);
    color: #fff;
}

.df-btn.white {
    background: #fff;
    color: #111;
}

.df-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
}


/* MOBILE NAV */
@media(max-width: 991px) {

    .df-nav {
        position: fixed !important;
        top: 100px;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 20px;
        padding: 30px 0;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform .4s ease, opacity .4s ease, visibility .4s ease;
        box-shadow: 0 10px 25px rgba(0,0,0,.15);
        z-index: 999;
    }

    .df-nav.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .df-nav a {
        font-size: 18px;
        padding: 6px 0;
    }

    .df-login {
        display: none;
    }

    .mobile-login {
        display: inline-block;
        background: var(--gold);
        color: #fff;
        padding: 10px 22px;
        border-radius: 25px;
        margin-top: 6px;
    }

    .df-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--gold);
        color: #fff;
        border: none;
        padding: 0;
        width: 40px;
        height: 40px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 20px;
        line-height: 1;
        z-index: 1000;
        position: relative;
    }
}


/* GOLD STRIP */
.df-gold-strip {
    background: var(--gold);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
    color: #fff;
    position: relative;
}

.df-gold-strip h2 {
    font-size: 40px;
    line-height: 1.3;
    text-align: center;
}

.df-gold-strip a {
    background: #fff;
    color: #111;
    border-radius: 30px;
    font-size: 16px;
    transition: .3s;
    padding: 15px 40px;
    font-weight: 600;
}

.df-gold-strip a:hover {
    background: #111;
    color: #fff;
}

.df-faces {
    display: flex;
    width: 160px;
    position: relative;
}

.df-faces img {
    width: 300px !important;
    object-fit: cover;
    margin-left: -16px;
    transition: .3s;
    transform: scale(1.5);
}



/* TRUSTED */
.df-trusted {
    padding: 70px 0 55px;
    text-align: center;
}

.df-trusted h2 {
    font-size: 45px;
}

.df-trusted h2 span,
.df-love h2 span {
    border-bottom: 3px solid var(--gold);
}

.df-trust-grid {
    margin-top: 58px;
    display: flex;
    justify-content: center;
    gap: 150px;
}

.df-trust-grid div {
    transition: .3s;
}

.df-trust-grid div:hover {
    transform: translateY(-8px);
}

.df-trust-grid img {
    width: 42px;
    text-align: center;
    margin: 0 auto;
}

.df-trust-grid p {
    margin-top: 8px;
    font-size: 22px;
    text-align: center;
    font-weight: 500;
}

/* LOVE */
.df-love {
    padding: 40px 0 95px;
    margin-bottom: 100px !important;
}

.df-love h2 {
    text-align: center;
    font-size: 45px;
    margin-bottom: 55px;
}

.df-love-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.df-text {
    flex: 1;
}

.df-text p {
    color: #808080;
    line-height: 1.7;
    font-size: 25px;
    margin-bottom: 20px;
}

.df-text h4 {
    margin-bottom: 15px;
    color: #808080;
    font-size: 30px;
}

.df-circle-img {
    flex: 1;
    position: relative;
}

.df-circle-img img {
    width: 100%;
    transition: .5s;
    transform: translateX(60px) scale(1.3);
    padding-top: 50px;
    display: block;
    margin-left: auto;
}



/* BANNERS */
.df-banner {
    min-height: 460px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 8%;
    color: #fff;
    margin-bottom: 100px;
}

.df-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    
}

.df-banner div {
    position: relative;
    max-width: 600px;
}

.df-banner h2 {
    font-size: 38px;
    margin-bottom: 18px;
}

.df-banner p,
.df-banner li {
    font-size: 19px;
    line-height: 1.8;
    font-weight: 400;
}

.integrity {
     background: url('/assets/images/couple-smile.png') center/cover no-repeat;
}
.managed strong {
    font-weight: 600;
}
.df-banner li {
    font-weight: 400 !important;
}
.managed {
    background-image: url('/assets//images/intro-bg.png');
}

/* HOW */
.df-how {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f6f6f6;
}

.df-how-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.df-how-content {
    padding: 120px 10%;
}

.df-how-content h2 {
    font-size: 45px;
    margin-bottom: 30px;
}

.df-step {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
    transition: .3s;
}

.df-step:hover {
    transform: translateX(8px);
}

.df-step span {
    min-width: 36px;
    height: 36px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 16px;
    margin-top: 5px;
}

.df-step h4 {
    font-size: 23px;
    margin-bottom: 5px;
}

.df-step p {
    font-size: 13px;
    color: #555;
}

/* ABOUT */
.df-about {
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    margin-top: 100px !important;
}

.df-about small {
    color: var(--gold);
    font-weight: 600;
    font-size: 17px;
}

.df-about h2 {
    margin: 12px 0 20px;
    font-size: 45px;
}

.df-about p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 17px;
}

.df-about-images {
    position: relative;
    height: 560px;
    min-height: 560px;
}

.df-about-images img {
    position: absolute;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    transition: transform .4s ease, box-shadow .4s ease;
}

.img-one {
    left: 0;
    top: 0;
    width: 320px;
    height: 430px;
    z-index: 1;
}

.img-two {
    right: 0;
    bottom: 0;
    width: 340px;
    height: 450px;
    z-index: 2;
}

.df-about-images img:hover {
    transform: scale(1.03);
    z-index: 3;
    box-shadow: 0 24px 50px rgba(0,0,0,.25);
}

/* REVIEWS */
.df-reviews {
    padding: 90px 8% 80px;
    /* background: linear-gradient(135deg, #6b3e10 0%, #b77d2d 60%, #8a5b1f 100%); */
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url(/assets//images/testimonials-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Big decorative quote marks behind content */
.df-reviews::before,
.df-reviews::after {
    content: "\201C";              /* big curly quote */
    position: absolute;
    font-family: Georgia, serif;
    font-size: 360px;
    line-height: 1;
    color: rgba(255,255,255,.06);
    pointer-events: none;
    user-select: none;
}
.df-reviews::before { top:  -40px; left:  -10px; }
.df-reviews::after  { bottom:-160px; right: -10px; transform: rotate(180deg); }

.df-reviews-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    background: rgba(255,255,255,.08);
}

.df-reviews h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 55px;
    position: relative;
    z-index: 1;
}

/* Carousel viewport + track */
.df-review-viewport {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.df-review-track {
    display: flex;
    gap: 24px;
    transition: transform .45s cubic-bezier(.65,.05,.36,1);
    will-change: transform;
}

.df-review-card {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 cards visible w/ 24px*2 gap */
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 6px;
    padding: 38px 28px 30px;
    text-align: center;
    transition: background .35s, border-color .35s, transform .35s;
    box-sizing: border-box;
}

.df-review-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.45);
}

.df-review-card img {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 22px;
    display: block;
    border: 3px solid rgba(255,255,255,.85);
}

.df-review-card p {
    font-style: normal;
    line-height: 1.7;
    font-size: 17px;
    color: #fff;
    margin-bottom: 18px;
    min-height: 130px;
}

.df-review-card h4 {
    margin-top: 22px;
    font-size: 21px;
    font-weight: 200;
    color: #fff;
}

.df-review-role {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    font-weight: 400;
}

/* Pagination row */
.df-review-pagination {
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.df-pag-arrow {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px 12px;
    line-height: 0;
    transition: opacity .25s, transform .25s;
    opacity: .85;
}

.df-pag-arrow img {
    display: block;
    height: 100px;
    width: auto;
    max-width: 110px;
}

.df-pag-arrow:hover {
    opacity: 1;
}

.df-pag-arrow#reviewNext:hover { transform: translateX(3px); }
.df-pag-arrow#reviewPrev:hover { transform: translateX(-3px); }

.df-pag-link {
    color: #fff;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.df-pag-link:hover {
    color: rgba(255,255,255,.8);
}

.df-pag-arrow:disabled,
.df-pag-arrow[disabled] {
    opacity: .35;
    cursor: not-allowed;
}

/* Dot indicators */
.df-review-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    position: relative;
    z-index: 1;
}

.df-review-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    transition: all .25s;
    cursor: pointer;
}

.df-review-dots span.active {
    width: 26px;
    border-radius: 999px;
    background: #fff;
}

/* Mobile â€” show 1 card at a time */
@media (max-width: 768px) {
    .df-review-card {
        flex: 0 0 100%;
    }
}

/* VERSE */
/* VERSE */
.df-verse {
    padding: 40px 20px 40px;
    color: #fff;
    text-align: center;
    background-image: linear-gradient(rgb(0 0 0 / 45%), rgb(210 151 75 / 45%)), url(/assets/images/footer-bg.png);
    margin-top: 70px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.df-verse h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 45px;
    margin-bottom: 6px;
}

.df-verse-quote {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-size: 32px;
    line-height: 1.5;
    margin: 0 auto 28px;
    max-width: 760px;
    padding-bottom: 28px;
    position: relative;
}

.df-verse-quote::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60%;
    max-width: 540px;
    height: 1px;
    background: rgba(255,255,255,.4);
}

.df-verse-text {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 24px;
    color: rgba(255,255,255,.85);
}

/* FOOTER */
.df-footer {
    padding: 22px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    flex-wrap: wrap;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.df-footer-logo img {
    width: 170px;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.df-copy {
    font-family: poppins;
    font-size: 16px;
    color: #4a4a4a;
    text-align: center;
    flex: 1;
    margin: 0;
}

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

.df-social a {
    width: 32px;
    height: 32px;
    background: var(--gold);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    border-radius: 4px;
    transition: .3s;
}

.df-social a:hover {
    background: #111;
    transform: translateY(-3px);
}

@media (max-width: 720px) {
    .df-footer { flex-direction: column; gap: 14px; padding: 24px 6%; }
    .df-copy { order: 2; }
    .df-social { order: 3; }
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeUp .8s ease both;
}

/* RESPONSIVE */
@media(max-width: 991px) {
    .df-nav,
    .df-login {
        display: none;
    }

    .df-menu-btn {
        display: block;
        background: var(--gold);
        color: #fff;
        border: none;
        padding: 8px 13px;
        border-radius: 5px;
    }

    .df-hero-content h1 {
        font-size: 36px;
    }

    .df-gold-strip {
        height: auto;
        padding: 30px 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .df-trust-grid,
    .df-love-row {
        flex-direction: column;
        gap: 35px;
    }

    .df-how,
    .df-about,
    .df-review-grid {
        grid-template-columns: 1fr;
    }

    .df-about-images {
        height: 460px;
        min-height: 460px;
        max-width: 520px;
        margin: 0 auto;
    }
    .img-one  { width: 240px; height: 320px; }
    .img-two  { width: 260px; height: 340px; }

    .df-circle-img img {
        width: 330px;
        height: 330px;
    }
}

@media(max-width: 576px) {
    .container {
        width: 90%;
    }

    .df-hero {
        height: 480px;
    }

    .df-hero-content h1 {
        font-size: 30px;
    }

    .df-btns {
        flex-direction: column;
    }

    .df-love h2,
    .df-trusted h2,
    .df-about h2 {
        font-size: 24px;
    }

    .df-footer {
        height: auto;
        padding: 20px;
        flex-direction: column;
        gap: 12px;
    }
}
/* ---------- Dark mode overrides ---------- */
[data-theme="dark"] {
  --gold: #D4B17C;
  --gold-dark: #E0BF8E;
  --gold-light: #2a2218;
  --cream: #2a2218;
  --cream-light: #1a1612;
  --dark: #0a0806;
  --dark-2: #14110d;
  --text: #f0e9d8;
  --text-muted: #a09689;
  --border: #3a3024;

  --surface: #1f1a14;
  --surface-2: #14110d;
  --surface-3: #2a2218;
  --hero-overlay: rgba(0,0,0,.7);

  --shadow-sm: 0 2px 8px rgba(0,0,0,.30);
  --shadow-md: 0 8px 24px rgba(0,0,0,.40);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.55);
}

/* Apply dark surfaces to common containers */
[data-theme="dark"] body { background: var(--surface-2); }
[data-theme="dark"] .card,
[data-theme="dark"] .auth-form,
[data-theme="dark"] .modal,
[data-theme="dark"] .stat,
[data-theme="dark"] .pkg,
[data-theme="dark"] .candidate-card,
[data-theme="dark"] .match-card,
[data-theme="dark"] .profile-card-side,
[data-theme="dark"] .app-topbar,
[data-theme="dark"] .user-chip {
  background: var(--surface);
 
  color: #242424;
}
[data-theme="dark"] .app { background: var(--surface-2); }
[data-theme="dark"] .field input:not([type="checkbox"]):not([type="radio"]),
[data-theme="dark"] .field textarea,
[data-theme="dark"] .field select,
[data-theme="dark"] .field input[type="search"] {
  background: var(--surface);
    color: #242424;
  border-color: var(--border);
}
[data-theme="dark"] .field input::placeholder,
[data-theme="dark"] .field textarea::placeholder { color: #6b6258; }

/* Tables */
[data-theme="dark"] table.data th { background: var(--surface-2); }
[data-theme="dark"] table.data td { border-bottom-color: var(--border); }
[data-theme="dark"] table.data tr:hover td { background: var(--surface-2); }

/* Buttons that depend on light bg */
[data-theme="dark"] .btn-light { background: var(--surface);   color: #242424; }
[data-theme="dark"] .btn-light:hover { background: var(--surface-3); }
[data-theme="dark"] .btn-outline-dark {   color: #242424; border-color: #242424; }
[data-theme="dark"] .btn-outline-dark:hover { background: var(--text); color: var(--surface); }

/* Icon button */
[data-theme="dark"] .icon-btn { background: var(--surface-3); color: var(--gold); }

/* Section variants */
[data-theme="dark"] .section-cream { background: var(--surface-2); }

/* Feature icons (light cream background) */
[data-theme="dark"] .feature-icon { background: var(--surface-3); color: var(--gold); }
[data-theme="dark"] .stat-icon { background: var(--surface-3); color: var(--gold); }

/* Tabs */
[data-theme="dark"] .tabs { border-bottom-color: var(--border); }

/* Profile photo border */
[data-theme="dark"] .profile-photo { border-color: var(--surface-3); }

/* Auth side gradient overlay slightly stronger */
[data-theme="dark"] .auth-wrap { background: var(--surface-2); }

/* Status badges ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â preserve color identity but adapt for dark */
[data-theme="dark"] .badge-green   { background: rgba(95,201,126,.14); color: #5fc97e; }
[data-theme="dark"] .badge-red     { background: rgba(239,153,153,.14); color: #ef9999; }
[data-theme="dark"] .badge-blue    { background: rgba(132,186,240,.14); color: #84baf0; }
[data-theme="dark"] .badge-purple  { background: rgba(200,155,230,.14); color: #c89be6; }
[data-theme="dark"] .badge-grey    { background: rgba(255,255,255,.08); color: #b8ada0; }
[data-theme="dark"] .badge-gold    { background: rgba(232,200,144,.14); color: #e8c890; }

/* Flash messages */
[data-theme="dark"] .flash-success {
  background: rgba(95,201,126,.10); color: #5fc97e; border-color: rgba(95,201,126,.25);
}
[data-theme="dark"] .flash-error {
  background: rgba(239,153,153,.10); color: #ef9999; border-color: rgba(239,153,153,.25);
}

/* Inline-styled cream/colored backgrounds (for cards using inline style) */
[data-theme="dark"] [style*="background:var(--cream-light)"],
[data-theme="dark"] [style*="background: var(--cream-light)"] { background: var(--surface-3) !important; color: #242424; !important; }
[data-theme="dark"] [style*="background:#fff7e0"]              { background: var(--surface-3) !important; color: #242424; !important; }
[data-theme="dark"] [style*="background:#fde7e7"]              { background: rgba(239,153,153,.12) !important; color: #ef9999 !important; border-color: rgba(239,153,153,.25) !important; }

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--gold);
  border: 0;
  cursor: pointer;
  transition: all .25s ease;
  flex: none;
}
.theme-toggle:hover { background: rgba(255,255,255,.18); transform: rotate(15deg); }
.app-topbar .theme-toggle { background: var(--cream); color: var(--gold-dark); }
.app-topbar .theme-toggle:hover { background: var(--cream-light); }
[data-theme="dark"] .app-topbar .theme-toggle { background: var(--surface-3); color: var(--gold); }
.theme-toggle-floating {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 100;
  background: var(--surface, #fff);
 color: #242424;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
[data-theme="dark"] .theme-toggle-floating {
  background: var(--surface);
  color: var(--gold);
  border-color: var(--border);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
color: #242424;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-serif); font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Container ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .3px;
  transition: all .25s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-outline-dark { background: transparent; color: #242424; border-color:#242424; }
.btn-outline-dark:hover { background: var(--text); color: #fff; }
.btn-light { background: #fff;   color: #242424; }
.btn-light:hover { background: var(--cream); }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 0;
}
.navbar.solid { position: sticky; background: var(--dark); box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.brand .heart { color: var(--gold); font-size: 20px; }
.brand img.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  max-width: 100%;
}
/* Lighten the logo when sitting on dark surfaces (sidebars, footer, navbar over hero) */
.navbar .brand img.brand-logo,
.footer .brand img.brand-logo,
.sidebar .brand img.brand-logo,
[data-theme="dark"] .auth-side .brand img.brand-logo {
  filter: brightness(1.5) saturate(0.85) drop-shadow(0 0 1px rgba(255,255,255,.15));
}
/* In dark mode, also brighten the logo on light surfaces (auth forms, etc.) */
[data-theme="dark"] .auth-form .brand img.brand-logo,
[data-theme="dark"] .profile-card-side .brand img.brand-logo {
  filter: brightness(1.5) saturate(0.85);
}
/* Sidebar/topbar logo a touch smaller */
.sidebar .brand img.brand-logo { height: 38px; }
.auth-form .brand img.brand-logo {
  height: 90px;
  width: auto;
  margin: 0 auto 12px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.auth-side .brand img.brand-logo {
  height: 70px;
  filter: brightness(1.6) saturate(0.85) drop-shadow(0 0 1px rgba(255,255,255,.2));
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(20,15,10,.55), rgba(20,15,10,.55)),
    url('/assets/images/hero-couple.jpg') center/cover no-repeat;
  padding: 120px 24px 80px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 18px;
  font-weight: 500;
  font-style: italic;
}
.hero p { max-width: 580px; margin: 0 auto 32px; font-size: 15px; opacity: .9; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- CTA Bar ---------- */
.cta-bar {
  background: var(--gold);
  color: #fff;
  padding: 22px 0;
}
.cta-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-avatars {
  display: flex;
}
.cta-avatars img {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -14px;
  object-fit: cover;
}
.cta-avatars img:first-child { margin-left: 0; }
.cta-bar-text { flex: 1; font-family: var(--font-serif); font-size: 22px; font-style: italic; text-align: center; min-width: 300px; }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-cream { background: var(--cream-light); }
.section-dark { background: var(--dark); color: #fff; }
.section-title {
  text-align: center;
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-subtitle { text-align: center; max-width: 640px; margin: 0 auto 48px; color: var(--text-muted); }

/* ---------- Features (icons row) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.feature { text-align: center; }
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--gold-dark);
  font-size: 24px;
}
.feature h3 { font-size: 16px; font-family: var(--font-sans); font-weight: 500; }

/* ---------- Two-column content ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col-image img {
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.two-col h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 18px;
  font-weight: 500;
}
.two-col h4 {
  font-family: var(--font-sans);
  font-size: 16px;
  margin: 18px 0 10px;
  color: var(--gold-dark);
}
.two-col p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Wide image banner ---------- */
.banner {
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}
.banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,15,10,.7) 0%, rgba(20,15,10,.3) 60%, rgba(20,15,10,.1) 100%);
}
.banner-content { position: relative; z-index: 1; max-width: 480px; padding: 40px; }
.banner h2 { font-size: 32px; margin-bottom: 12px; font-weight: 500; }
.banner p { font-size: 14px; opacity: .9; }

/* ---------- How It Works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.how-image img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.how-steps { display: flex; flex-direction: column; gap: 18px; }
.how-step { display: flex; gap: 16px; align-items: flex-start; }
.how-step-num {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.how-step h4 { font-family: var(--font-sans); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.how-step p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ---------- About / Modern Platform ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-images img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-images img:nth-child(2) { margin-top: 32px; }
.about-tag { color: var(--gold-dark); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }

/* ---------- Managed Introductions banner ---------- */
.managed {
  position: relative;
  min-height: 550px;
  color: #fff;
  background-size: cover;
  background-position: center;
  margin-top: 100px;
}
.managed::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,15,10,.85) 0%, rgba(20,15,10,.4) 80%);
}
.managed-content { position: relative; z-index: 1; max-width: 540px; padding: 70px 40px; }
.managed h2 {font-size: 45px;margin-bottom: 14px;font-weight: 500;}
.managed ul { list-style: disc; padding-left: 22px; margin: 14px 0; }
.managed ul li { margin-bottom: 6px; }

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.testimonials::before {
  content: '"';
  position: absolute;
  font-family: var(--font-serif);
  font-size: 280px;
  top: -50px;
  right: 5%;
  opacity: .12;
  line-height: 1;
}
.testimonials .section-title { color: #fff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testimonial {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  text-align: center;
}
.testimonial-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 3px solid #fff;
  object-fit: cover;
}
.testimonial p { font-size: 14px; opacity: .95; font-style: italic; }
.testimonial-name { font-weight: 600; margin-top: 12px; font-size: 14px; }
.testimonial-role { font-size: 11px; opacity: .7; letter-spacing: 1px; text-transform: uppercase; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.testimonial-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); }
.testimonial-dots span.active { background: #fff; width: 22px; border-radius: 999px; }

/* ---------- Quote / Verse Section ---------- */
.verse {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 100px 24px;
  background:
    linear-gradient(rgba(20,15,10,.75), rgba(20,15,10,.75)),
    url('/assets/images/verse-bg.jpg') center/cover;
}
.verse small { color: var(--gold); letter-spacing: 2px; font-size: 12px; }
.verse h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-style: italic;
  font-weight: 400;
  margin: 14px 0 22px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.verse p { max-width: 540px; margin: 0 auto 24px; font-size: 14px; opacity: .85; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: #fff;
  padding: 30px 0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: all .2s;
}
.footer-social a:hover { background: var(--gold); color: #fff; }

/* ---------- Auth Pages ---------- */
.auth-wrap {
  height: 100vh;
  display: flex;
  background: var(--cream-light);
  overflow: hidden;
}
.auth-side {
  flex: 1;
  display: none;
  background:
    linear-gradient(135deg, rgba(20,15,10,.5), rgba(168,133,63,.4)),
    url('/assets/images/couple-smile.png') center / cover;
  color: #fff;
  padding: 60px;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  overflow: hidden;
}
.auth-side .brand { color: #fff; font-size: 26px; }
.auth-side h2 { font-size: 38px; font-style: italic; max-width: 380px; }
.auth-side p { opacity: .9; max-width: 400px; }
.auth-form-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  gap: 14px;
  height: 100vh;
  overflow-y: auto;
}
.auth-form-wrap > .flash {
  width: 100%;
  max-width: 440px;
}
.auth-form {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.auth-form .brand {
    color: #242424;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 8px;
  width: 100%;
  text-align: center;
}
.auth-form .brand img.brand-logo {
  display: block;
  margin: 0 auto;
}
.auth-form h1 { font-size: 28px; text-align: center; margin: 14px 0 6px; font-weight: 500; }
.auth-form .auth-sub { text-align: center; color: var(--text-muted); font-size: 13.5px; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--text-muted); }
.auth-footer a { color: var(--gold-dark); font-weight: 500; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #242424;
}
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
   color: #242424;
  transition: border-color .2s, box-shadow .2s;
}
.field input[type="checkbox"], .field input[type="radio"] {
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--gold);
  cursor: pointer;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,166,107,.18);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.helper { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 12px; margin: 22px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ---------- OTP boxes ---------- */
.otp-row {
  display: flex; gap: 10px; justify-content: center; margin: 22px 0;
}
.otp-row input {
  width: 52px; height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.otp-row input:focus { outline: none; border-color: var(--gold); }

/* ===================================================
   Dashboard / App Layout
   =================================================== */
.app {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: var(--cream-light);
}
.sidebar {
  background: var(--dark);
  color: #fff;
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar .brand { padding: 0 24px 24px; }
.sidebar-section { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.06); }
.sidebar-label { padding: 0 24px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  border-left: 3px solid transparent;
  transition: all .2s;
}
.sidebar-link:hover { color: #fff; background: rgba(255,255,255,.04); }
.sidebar-link.active { color: var(--gold); background: rgba(201,166,107,.08); border-left-color: var(--gold); }
.sidebar-link .icon { width: 18px; }

.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
}
.topbar-title { font-family: var(--font-serif); font-size: 22px; font-weight: 500; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  position: relative;
}
.icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 8px; height: 8px;
  background: #c0392b;
  border-radius: 50%;
  border: 2px solid #fff;
}
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.user-chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.user-chip-name { font-size: 13px; font-weight: 500; }

.app-content { padding: 32px; flex: 1; }

/* ---------- Page header ---------- */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.page-header h1 { font-size: 28px; font-weight: 500; margin-bottom: 4px; }
.page-header p { color: var(--text-muted); margin: 0; font-size: 14px; }

/* ---------- Stat cards ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex: none;
}
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.stat-value { font-size: 24px; font-weight: 600; font-family: var(--font-serif); }

/* ---------- Card ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.card-title { font-family: var(--font-serif); font-size: 18px; font-weight: 500; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.data th, table.data td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
table.data th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: var(--cream-light);
}
table.data tr:hover td { background: var(--cream-light); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge-gold    { background: rgba(201,166,107,.15); color: var(--gold-dark); }
.badge-green   { background: #e1f5e8; color: #1f7a3a; }
.badge-red     { background: #fde7e7; color: #b32424; }
.badge-blue    { background: #e1eefb; color: #1f5d99; }
.badge-grey    { background: #ececec; color: #555; }
.badge-purple  { background: #efe4f7; color: #6b3699; }

/* ---------- Match card ---------- */
.match-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
}
.match-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.match-info { flex: 1; min-width: 0; }
.match-name { font-weight: 600; margin-bottom: 2px; }
.match-meta { font-size: 12px; color: var(--text-muted); }

/* ---------- Package card ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pkg {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
  position: relative;
  transition: all .25s ease;
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.pkg.featured { border-color: var(--gold); background: linear-gradient(180deg, var(--cream-light), #fff); }
.pkg.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}
.pkg h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.pkg .price { font-family: var(--font-serif); font-size: 38px; font-weight: 600; color: var(--gold-dark); margin: 14px 0; }
.pkg .price small { font-size: 14px; color: var(--text-muted); font-family: var(--font-sans); font-weight: 400; }
.pkg ul { margin: 22px 0; text-align: left; }
.pkg ul li { padding: 8px 0; font-size: 13.5px; color: var(--text-muted); border-bottom: 1px dashed var(--border); display: flex; gap: 8px; align-items: center; }
.pkg ul li::before { content: 'ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“'; color: var(--gold); font-weight: bold; }

/* ---------- Profile page ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}
.profile-card-side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  height: fit-content;
}
.profile-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  margin: 0 auto 14px;
  object-fit: cover;
  border: 4px solid var(--cream);
}
.profile-card-side h3 { font-size: 20px; margin-bottom: 4px; }
.profile-card-side .role { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Candidate cards (Find a Match) ---------- */
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.candidate-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #fff;
  transition: all .25s ease;
}
.candidate-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}
.candidate-card .candidate-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.candidate-card img.candidate-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid var(--cream);
}
.candidate-card .candidate-name { font-weight: 600; font-size: 14px; }
.candidate-card .candidate-meta { font-size: 11.5px; color: var(--text-muted); }
.candidate-card .candidate-info {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.6;
}
.candidate-card .candidate-info i { width: 14px; color: var(--gold); margin-right: 4px; }
.candidate-card .compat {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.candidate-card .compat .badge { font-size: 10px; padding: 2px 7px; }
.candidate-card .candidate-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* ---------- Empty state ---------- */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty .icon { font-size: 42px; color: var(--gold); margin-bottom: 14px; }
.empty h3 { font-family: var(--font-sans); font-size: 16px;   color: #242424; margin-bottom: 6px; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tabs button {
  padding: 10px 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  font-weight: 500;
  transition: all .2s;
}
.tabs button.active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.tabs button:hover {   color: #242424; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.modal h2 { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.modal-close { position: absolute; top: 14px; right: 14px; font-size: 22px; color: var(--text-muted); }

/* ---------- Flash messages ---------- */
.flash {
  padding: 12px 18px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.flash-success { background: #e1f5e8; color: #1f7a3a; border: 1px solid #b8e0c5; }
.flash-error   { background: #fde7e7; color: #b32424; border: 1px solid #f3c9c9; }
.field-error { color: #b32424; font-size: 12px; margin-top: 4px; }
.field input.has-error, .field select.has-error, .field textarea.has-error { border-color: #b32424; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold-dark); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.gap-2 { gap: 16px; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.flex-1 { flex: 1; }
.hidden { display: none; }

/* ---------- Responsive ---------- */
@media (min-width: 980px) {
  .auth-side { display: flex; }
}
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .features { grid-template-columns: 1fr; }
  .two-col, .how-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid, .packages { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0; left: -260px;
    width: 250px;
    z-index: 60;
    transition: left .25s ease;
  }
  .sidebar.open { left: 0; }
  .profile-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  /* Collapse all dashboard 2-column splits to single column on tablet/mobile */
  .app-content > div[style*="grid-template-columns:2fr 1fr"],
  .app-content > div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Admin feedback 2-col grid ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ single col */
  [data-tab-panel] > div[style*="grid-template-columns:1fr 1fr"],
  [data-tab-panel] > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .nav-cta { gap: 6px; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tabs button, .tabs a { white-space: nowrap; }
}
@media (max-width: 600px) {
  .hero { min-height: 540px; padding-top: 100px; }
  .stats { grid-template-columns: 1fr; }
  .app-content { padding: 20px; }
  .app-topbar { padding: 14px 18px; }
  .topbar-title { font-size: 18px; }
  .cta-bar-text { font-size: 18px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .testimonials-grid { gap: 16px; }
  .match-card { flex-wrap: wrap; }
  .match-card .match-info { flex-basis: 100%; }
  .page-header h1 { font-size: 22px; }
  table.data { font-size: 12px; }
  table.data th, table.data td { padding: 8px 10px; }
}

/* =====================================================
   Inner page hero + page sections (df-page-*)
   ===================================================== */

.df-page-hero {
    background: linear-gradient(135deg, #4a2d13 0%, #8a5b1f 60%, #d39a43 100%);
    color: #fff;
    padding: 110px 8% 90px;
    text-align: center;
    position: relative;
}
.df-page-hero-content small {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    color: rgba(255,255,255,.85);
    margin-bottom: 14px;
}
.df-page-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}
.df-page-hero-content p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,.92);
}

.df-page-section { padding: 80px 0; }

/* CTA section on inner pages */
.df-page-cta {
    background: var(--gold);
    padding: 70px 8%;
    text-align: center;
    color: #fff;
}
.df-page-cta-inner h2 {
    font-size: 40px;
    margin-bottom: 12px;
    font-weight: 700;
}
.df-page-cta-inner p {
    font-size: 17px;
    margin-bottom: 26px;
    opacity: .92;
}
.df-page-cta-inner .df-btns { justify-content: center; }
.df-page-cta-inner .df-btn.gold {
    background: #4a2d13;
    color: #fff;
}
.df-page-cta-inner .df-btn.white {
    background: #fff;
    color: #4a2d13;
}

/* =====================================================
   Contact page
   ===================================================== */

.df-contact {
    padding: 80px 0;
}
.df-contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: start;
}
.df-contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.df-info-card {
    border: 1px solid #ebe4d8;
    border-radius: 10px;
    padding: 22px 24px;
    transition: .3s;
    background: #fff;
}
.df-info-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.df-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(211,154,67,.15);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 16px;
    margin-bottom: 12px;
}
.df-info-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1d1d1d;
}
.df-info-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.df-info-card a { color: var(--gold); }
.df-info-card a:hover { color: var(--dark-gold); }
.df-info-meta {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #888;
}

.df-contact-form {
    background: #fff;
    border: 1px solid #ebe4d8;
    border-radius: 12px;
    padding: 36px 36px;
}
.df-contact-form h3 {
    font-size: 24px;
    margin-bottom: 22px;
    color: #1d1d1d;
}
.df-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.df-form-field { margin-bottom: 16px; }
.df-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #1d1d1d;
}
.df-form-field input,
.df-form-field select,
.df-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9d2c2;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    background: #fff;
    transition: .25s;
}
.df-form-field input:focus,
.df-form-field select:focus,
.df-form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(211,154,67,.18);
}
.df-form-field textarea { resize: vertical; min-height: 120px; }
.df-contact-form .df-btn { border: 0; cursor: pointer; }

/* =====================================================
   Resource Library page
   ===================================================== */

.df-resources {
    padding: 80px 0;
}

.df-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.df-resource-card {
    background: #fff;
    border: 1px solid #ebe4d8;
    border-radius: 14px;
    padding: 30px 28px 28px;
    transition: .3s;
    position: relative;
    overflow: hidden;
}

.df-resource-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.df-resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    border-color: var(--gold);
}

.df-resource-card:hover::before {
    transform: scaleX(1);
}

.df-resource-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(211,154,67,.15);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.df-resource-tag {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dark-gold);
    background: rgba(211,154,67,.12);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-weight: 500;
}

.df-resource-card h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: #1d1d1d;
    margin-bottom: 12px;
}

.df-resource-card p {
    color: #6b6258;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 65px;
}

.df-resource-link {
    color: var(--gold);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .25s;
}

.df-resource-link:hover {
    gap: 14px;
    color: var(--dark-gold);
}

@media (max-width: 991px) {
    .df-resource-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .df-resources { padding: 60px 20px; }
}
@media (max-width: 600px) {
    .df-resource-grid { grid-template-columns: 1fr; }
    .df-resource-card p { min-height: 0; }
}

/* =====================================================
   Fade-in animation system
   ===================================================== */

.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in-zoom {
    opacity: 0;
    transition: opacity .8s ease, transform .8s ease;
    will-change: opacity, transform;
}
.fade-in-up    { transform: translateY(34px); }
.fade-in-left  { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }
.fade-in-zoom  { transform: scale(.94); }

.fade-in.in-view,
.fade-in-up.in-view,
.fade-in-left.in-view,
.fade-in-right.in-view,
.fade-in-zoom.in-view {
    opacity: 1;
    transform: none;
}

/* Stagger delay utilities */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-up, .fade-in-left, .fade-in-right, .fade-in-zoom {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =====================================================
   Mobile responsive for df-* sections
   ===================================================== */

@media (max-width: 1100px) {
    .df-trust-grid { gap: 80px; }
    .df-gold-strip { gap: 40px; }
    .df-faces img { transform: scale(1.2); }
}

@media (max-width: 991px) {
    /* Hero */
    .df-hero { height: 480px; padding: 0 20px; }
    .df-hero-content h1 { font-size: 40px; }
    .df-hero-content p { font-size: 16px; }

    /* Gold strip */
    .df-gold-strip {
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 35px 20px;
    }
    .df-gold-strip h2 { font-size: 26px; }
    .df-faces { width: auto; justify-content: center; }
    .df-faces img { transform: scale(1); width: 240px !important; }

    /* Trusted */
    .df-trusted h2 { font-size: 32px; }
    .df-trust-grid {
        flex-wrap: wrap;
        gap: 50px;
        margin-top: 40px;
    }

    /* Love & Faith */
    .df-love h2 { font-size: 32px; }
    .df-love-row {
        flex-direction: column;
        gap: 40px;
    }
    .df-text p { font-size: 18px; }
    .df-text h4 { font-size: 22px; }

    /* Banners */
    .df-banner {
        min-height: 360px;
        padding: 40px 20px;
    }
    .df-banner h2 { font-size: 28px; }

    /* About */
    .df-about, .df-how {
        flex-direction: column;
        padding: 50px 20px;
        gap: 40px;
    }

    /* Reviews */
    .df-reviews { padding: 70px 20px 60px; }
    .df-reviews h2 { font-size: 28px; }

    /* Verse */
    .df-verse { padding: 70px 20px; }
    .df-verse h2 { font-size: 26px; }
    .df-verse-quote { font-size: 22px; }

    /* Inner page hero */
    .df-page-hero { padding: 80px 20px 70px; }
    .df-page-hero-content h1 { font-size: 38px; }
    .df-page-hero-content p { font-size: 15px; }

    /* Contact page */
    .df-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .df-contact-form { padding: 26px 22px; }
    .df-form-row { grid-template-columns: 1fr; gap: 0; }

    /* Page CTA */
    .df-page-cta { padding: 50px 20px; }
    .df-page-cta-inner h2 { font-size: 28px; }
}

@media (max-width: 600px) {
    .df-header { padding: 0 5%; }
    .df-logo img { width: 120px; }

    .df-hero { height: 420px; }
    .df-hero-content h1 { font-size: 32px; line-height: 1.2; }
    .df-hero-content p { font-size: 14px; }
    .df-btns { flex-direction: column; gap: 10px; }
    .df-btn { width: 100%; text-align: center; padding: 14px 22px; }

    .df-gold-strip h2 { font-size: 20px; }
    .df-gold-strip a { padding: 12px 28px; font-size: 14px; }
    .df-faces img { width: 180px !important; }

    .df-trusted h2, .df-love h2 { font-size: 26px; }
    .df-trust-grid {
        flex-direction: column;
        gap: 30px;
    }
    .df-trust-grid p { font-size: 18px; }

    .df-banner h2 { font-size: 22px; }
    .df-banner p { font-size: 14px; }

    /* How-it-works steps */
    .df-step span { font-size: 18px; }
    .df-step h4 { font-size: 16px; }

    /* Reviews */
    .df-reviews-icon { width: 46px; height: 46px; font-size: 18px; }
    .df-reviews h2 { font-size: 24px; margin-bottom: 30px; }
    .df-review-card { padding: 28px 20px 22px; }
    .df-review-card img { width: 70px; height: 70px; }
    .df-review-card p { font-size: 14px; }

    /* Verse */
    .df-verse h2 { font-size: 22px; }
    .df-verse-quote { font-size: 18px; }
    .df-verse-text { font-size: 13px; }

    /* Inner pages */
    .df-page-hero-content h1 { font-size: 28px; }
    .df-page-hero-content small { letter-spacing: 2px; font-size: 11px; }
    .df-info-card { padding: 18px 18px; }
    .df-contact-form h3 { font-size: 20px; }
    .df-page-cta-inner h2 { font-size: 24px; }

    /* Footer */
    .df-footer-logo img { width: 100px; }
    .df-copy { font-size: 12px; }
    .df-social a { width: 28px; height: 28px; font-size: 11px; }
}
