/* ============================================================
   PEACE NIKKAH MATRIMONY — NAVBAR.CSS
   Mobile-First Responsive Navbar
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
    --crimson:     #9b1c44;
    --crimson-dk:  #6e1230;
    --crimson-lt:  #fdf0f4;
    --crimson-mid: #e8a0b4;
    --forest:      #1a5c34;
    --forest-lt:   #edf7f1;
    --gold:        #b8882a;
    --parchment:   #faf7f2;
    --text:        #1a1008;
    --text-soft:   #4a3728;
    --muted:       #7a6558;
    --border:      #e5ddd4;
    --white:       #ffffff;

    --navbar-height-desktop: 68px;
    --navbar-height-mobile:  60px;

    --shadow-sm:   0 1px 4px  rgba(80,30,10,.07);
    --shadow:      0 4px 20px rgba(80,30,10,.10);
    --shadow-lg:   0 12px 48px rgba(80,30,10,.14);

    --radius:      12px;
    --transition:  .22s ease;
}

/* ── RESET / BASE ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--parchment);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

/* demo only */
.demo-content {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 24px;
    text-align: center;
}
.demo-content h1 {
    font-size: 2rem;
    color: var(--crimson);
    margin-bottom: 12px;
}

/* ============================================================
   NAVBAR SHELL
   ============================================================ */
.navbar {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 16px rgba(80,30,10,.08);
    width: 100%;
}

.navbar-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height-desktop);
    position: relative;
}

/* ============================================================
   BRAND / LOGO
   ============================================================ */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 20;
}

.logo-icon {
    width: 99px;
    height: 69px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--crimson);
    line-height: 1.1;
    display: block;
}

.logo-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: .62rem;
    color: var(--forest);
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

/* ============================================================
   NAV LINKS — DESKTOP
   ============================================================ */
.nav-links {
    display: flex;
    gap: 10px;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.nav-links a {
    padding: 8px 14px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-soft);
    text-decoration: none;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
    position: relative;
    white-space: nowrap;
}

/* Underline indicator */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--crimson);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--crimson);
    background: var(--crimson-lt);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}


/* ============================================================
   NAV CTA — LOGIN / REGISTER
   ============================================================ */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    z-index: 20;
}

/* Login button */
.btn-login {
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-soft);
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.btn-login:hover {
    border-color: var(--crimson);
    color: var(--crimson);
}

/* Register button */
.btn-register {
    padding: 9px 18px;
    background: var(--crimson);
    border: none;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(155,28,68,.22);
    white-space: nowrap;
}

.btn-register:hover {
    background: var(--crimson-dk);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(155,28,68,.30);
    color: #fff;
}

/* ── LOGGED-IN USER NAV ─────────────────────────────────────── */
.user-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--crimson-mid);
    flex-shrink: 0;
}

.user-name-sm {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

/* ============================================================
   HAMBURGER TOGGLE BUTTON (hidden on desktop)
   ============================================================ */
.nav-toggle {
    display: none;              /* shown via media query */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    z-index: 20;
    flex-shrink: 0;
    transition: border-color var(--transition);
}

.nav-toggle:hover {
    border-color: var(--crimson);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-soft);
    border-radius: 2px;
    transition: transform .28s ease, opacity .2s ease;
}

/* X animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BACKDROP (mobile overlay)
   ============================================================ */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,16,8,.45);
    z-index: 9;
    opacity: 0;
    transition: opacity .3s ease;
    backdrop-filter: blur(2px);
}

.nav-backdrop.show {
    display: block;
    opacity: 1;
}

/* ============================================================
   TABLET  ≤ 992px
   ============================================================ */
@media (max-width: 992px) {

    .navbar-inner {
        padding: 0 20px;
        min-height: var(--navbar-height-desktop);
        flex-wrap: wrap;
        height: auto;
    }

    /* Show hamburger */
    .nav-toggle {
        display: flex;
        order: 3;
    }

    /* ── MOBILE DRAWER ─────────────────────────────────────── */
    .nav-links {
        /* Hidden by default — slides in as a drawer */
        flex-direction: column;
        margin: 20px 0px;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        width: 100%;
        padding: 11px 16px;
        font-size: .92rem;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }


    /* Show login link inside drawer */
    .nav-links .mobile-login-link {
        display: flex;
        margin-top: 12px;
        border-top: 1px solid var(--border);
        padding-top: 14px;
        color: var(--text-soft);
        font-weight: 500;
    }

    /* Drawer divider — decorative header */
    .nav-links::before {
        font-size: .65rem;
        font-weight: 700;
        letter-spacing: .18em;
        text-transform: uppercase;
        color: var(--muted);
        padding: 0 16px 8px;
        display: block;
        width: 100%;
    }

    /* CTA on mobile: keep register button visible */
    .nav-cta {
        gap: 8px;
        order: 2;
    }

    .btn-register {
        padding: 8px 14px;
        font-size: .8rem;
    }

    .btn-login {
        padding: 7px 12px;
        font-size: .8rem;
    }
}

/* ============================================================
   MOBILE  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {

    .navbar-inner {
        padding: 0 14px;
        min-height: var(--navbar-height-mobile);
    }

    .logo-text  { font-size: 1.05rem; }
    .logo-sub   { font-size: .58rem; }

    /* Hide register text — icon only */
    .btn-register .btn-register-text { display: none; }
    .btn-register { padding: 8px 12px; }

    /* Hide username in user-nav */
    .user-name-sm { display: none; }
    .user-avatar-sm { width: 34px; height: 34px; }

    .user-nav .btn-login {
        padding: 6px 10px;
        font-size: .78rem;
    }
}

/* ============================================================
   SMALL MOBILE  ≤ 480px
   ============================================================ */
@media (max-width: 480px) {

    .navbar-inner { padding: 0 10px; }

    .logo-text  { font-size: .95rem; }
    .logo-sub   { display: none; }

    /* Hide Login button on desktop-CTA area —
       it appears inside the drawer via .mobile-login-link */
    .nav-cta > .btn-login { display: none; }

    /* Wider drawer on tiny screens */
    .nav-links { width: 90vw; }
}

/* ============================================================
   ACCESSIBILITY — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .nav-toggle span { transition: none; }
    .nav-backdrop    { transition: none; }
}



    /* ─── SECTIONS ─── */
    .section { padding: 40px 20px; }

    .section-inner { max-width: 1280px; margin: 0 auto; }

    .section-head { text-align: center; margin-bottom: 22px; }

    .section-tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--gold-lt);
        border: 1px solid #e6c87a;
        color: var(--gold);
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .1em;
        border-radius: 40px;
        padding: 5px 16px;
        margin-bottom: 14px;
    }

    .section-head h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(1.8rem, 3.5vw, 2.6rem);
        font-weight: 700;
        color: var(--text);
        line-height: 1.2;
    }

    .section-head p {
        color: var(--muted);
        margin-top: 10px;
        font-size: .95rem;
    }

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

    .profile-card {
        background: var(--white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        transition: all .3s cubic-bezier(.16,1,.3,1);
        border: 1px solid var(--border);
    }

    .profile-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--crimson-mid);
    }

    .pc-img {
        position: relative;
        padding-top: 115%;
        overflow: hidden;
        background: var(--crimson-lt);
    }

    .pc-img img {
        position: absolute; inset: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        transition: transform .5s cubic-bezier(.16,1,.3,1);
    }

    .profile-card:hover .pc-img img { transform: scale(1.07); }

    .pc-img::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(26,8,0,.45) 0%, transparent 55%);
    }

    .pc-gender {
        position: absolute;
        top: 12px; left: 12px;
        padding: 3px 12px;
        border-radius: 40px;
        font-size: .68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        z-index: 2;
    }

    .pc-gender.male { background: #dbeafe; color: #1e40af; }
    .pc-gender.female { background: #fce7f3; color: #9d174d; }

    .pc-badge {
        position: absolute;
        top: 12px; right: 12px;
        background: var(--gold);
        color: #fff;
        border-radius: 40px;
        font-size: .67rem;
        font-weight: 700;
        padding: 3px 10px;
        z-index: 2;
    }

    .pc-body { padding: 16px 16px 12px; }

    .pc-name {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 6px;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }

    .pc-meta { font-size: .78rem; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
    .pc-meta span { display: flex; align-items: center; gap: 6px; }
    .pc-meta i { color: var(--crimson); font-size: .75rem; }

    .pc-footer {
        padding: 10px 16px 14px;
        display: flex;
        gap: 8px;
    }

    .btn-interest {
        flex: 1; padding: 8px;
        border: 1.5px solid var(--crimson);
        border-radius: 10px;
        color: var(--crimson);
        font-size: .78rem; font-weight: 600;
        background: transparent; cursor: pointer;
        transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 5px;
    }

    .btn-interest:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
    .btn-interest.liked { background: var(--crimson); color: #fff; border-color: var(--crimson); }

    .btn-view {
        flex: 1; padding: 8px;
        background: var(--forest);
        border: none; border-radius: 10px;
        color: #fff; font-size: .78rem; font-weight: 600;
        cursor: pointer; transition: all .2s;
        text-decoration: none; text-align: center;
        display: flex; align-items: center; justify-content: center;
    }

    .btn-view:hover { background: var(--crimson); color: #fff; }

    /* ─── HOW IT WORKS ─── */
    .how-section { background: var(--cream); }

    .step-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 4px;
    }

    .step-card {
        text-align: center;
        padding: 36px 24px;
        border-radius: var(--radius-lg);
        background: var(--white);
        border: 1px solid var(--border);
        transition: all .3s;
        position: relative;
        overflow: hidden;
    }

    .step-card::before {
        content: attr(data-num);
        position: absolute;
        top: -10px; right: 12px;
        font-family: 'Cormorant Garamond', serif;
        font-size: 5rem;
        font-weight: 700;
        color: var(--crimson-lt);
        line-height: 1;
        transition: color .3s;
    }

    .step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--crimson-mid); }
    .step-card:hover::before { color: rgba(155,28,68,.08); }

    .step-icon {
        width: 60px; height: 60px;
        border-radius: 16px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.5rem;
        margin: 0 auto 18px;
        position: relative; z-index: 1;
    }

    .step-num {
        font-size: .68rem; font-weight: 700;
        text-transform: uppercase; letter-spacing: .1em;
        color: var(--crimson); margin-bottom: 8px;
    }

    .step-card h4 { font-size: .98rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
    .step-card p { font-size: .82rem; color: var(--muted); line-height: 1.7; }

    /* ─── TESTIMONIALS ─── */
    .testimonial-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 22px;
    }

    .tcard {
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: 28px;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border);
        transition: all .3s;
        position: relative;
    }

    .tcard::before {
        content: '\201C';
        position: absolute;
        top: 16px; right: 22px;
        font-family: 'Cormorant Garamond', serif;
        font-size: 5rem;
        color: var(--crimson-lt);
        line-height: 1;
    }

    .tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

    .tcard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

    .tcard-avatar {
        width: 50px; height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--crimson), var(--gold));
        display: flex; align-items: center; justify-content: center;
        color: #fff; font-size: 1.1rem; font-weight: 700;
        flex-shrink: 0;
    }

    .tcard-name { font-weight: 600; font-size: .95rem; color: var(--text); }
    .tcard-loc { font-size: .78rem; color: var(--muted); margin-top: 2px; }

    .tcard-stars { color: var(--gold); font-size: .85rem; margin-bottom: 10px; letter-spacing: 2px; }

    .tcard-text { font-size: .875rem; color: var(--muted); line-height: 1.75; font-style: italic; }

    /* ─── CTA BANNER ─── */
    .cta-section {
        background: var(--crimson);
        padding: 40px 20px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: -60px; left: -60px;
        width: 300px; height: 300px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
    }

    .cta-section::after {
        content: '';
        position: absolute;
        bottom: -80px; right: -40px;
        width: 380px; height: 380px;
        border-radius: 50%;
        background: rgba(255,255,255,.04);
    }

    .cta-arabesque {
        font-family: 'Amiri', serif;
        font-size: 2rem;
        color: rgba(255,255,255,.3);
        margin-bottom: 10px;
        display: block;
    }

    .cta-section h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(1.8rem, 4vw, 2.6rem);
        font-weight: 700;
        color: #fff;
        margin-bottom: 14px;
        position: relative; z-index: 1;
    }

    .cta-section p {
        color: rgba(255,255,255,.82);
        font-size: 1rem;
        margin-bottom: 36px;
        position: relative; z-index: 1;
    }

    .btn-cta-white {
        padding: 15px 36px;
        background: #fff;
        border: none;
        border-radius: 40px;
        font-size: .95rem;
        font-weight: 700;
        color: var(--crimson);
        text-decoration: none;
        display: inline-flex;
        align-items: center; gap: 8px;
        transition: all .25s;
        position: relative; z-index: 1;
        box-shadow: 0 8px 24px rgba(0,0,0,.2);
    }

    .btn-cta-white:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(0,0,0,.25);
        color: var(--crimson-dk);
    }

    /* ─── BUTTONS (hero) ─── */
    .btn-hero-primary {
        padding: 15px 34px;
        background: var(--crimson);
        border: none; border-radius: 40px;
        font-size: .95rem; font-weight: 600;
        color: #fff; text-decoration: none;
        display: inline-flex; align-items: center; gap: 8px;
        box-shadow: 0 6px 20px rgba(155,28,68,.30);
        transition: all .25s;
    }

    .btn-hero-primary:hover {
        background: var(--crimson-dk);
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(155,28,68,.38);
        color: #fff;
    }

    .btn-hero-outline {
        padding: 14px 30px;
        border: 2px solid var(--crimson);
        border-radius: 40px;
        font-size: .9rem; font-weight: 600;
        color: var(--crimson);
        text-decoration: none; transition: all .2s;
    }

    .btn-hero-outline:hover {
        background: var(--forest);
        border-color: var(--forest);
        color: #fff;
    }

    /* ─── FOOTER ─── */
    footer {
        background: #160c07;
        color: #9a8880;
        padding: 64px 20px 28px;
    }

    .footer-inner { max-width: 1280px; margin: 0 auto; }

    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }

    .footer-brand .fb-logo {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.4rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 12px;
    }

    .footer-brand p { font-size: .84rem; line-height: 1.8; max-width: 260px; }

    .footer-col h6 {
        font-size: .72rem; font-weight: 700;
        text-transform: uppercase; letter-spacing: .1em;
        color: #fff; margin-bottom: 18px;
    }

    .footer-col a {
        display: block; font-size: .84rem;
        color: #9a8880; text-decoration: none;
        margin-bottom: 10px; transition: color .15s;
    }

    .footer-col a:hover { color: var(--crimson-mid); }

    .footer-divider { border-color: rgba(255,255,255,.08); margin: 0 0 22px; }

    .footer-bottom {
        display: flex; align-items: center;
        justify-content: space-between;
        font-size: .8rem; flex-wrap: wrap; gap: 10px;
    }

    .footer-bottom a { color: #9a8880; text-decoration: none; }
    .footer-bottom a:hover { color: var(--crimson-mid); }

    /* ─── SEARCH PAGE ─── */
    .search-page { max-width: 1280px; margin: 0 auto; padding: 32px 20px; }

    .filter-sidebar {
        background: var(--white); border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm); padding: 22px;
        position: sticky; top: 90px;
        border: 1px solid var(--border);
        overflow-y: scroll;  height: 550px; }

    .filter-sidebar h5 {
        font-size: .82rem; font-weight: 700;
        text-transform: uppercase; letter-spacing: .07em;
        color: var(--text); margin-bottom: 18px;
        display: flex; align-items: center; gap: 7px;
    }

    .filter-group {
        margin-bottom: 18px; padding-bottom: 18px;
        border-bottom: 1px solid var(--border);
    }

    .filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

    .filter-group label {
        font-size: .75rem; font-weight: 600;
        color: var(--muted); display: block;
        margin-bottom: 7px; text-transform: uppercase; letter-spacing: .06em;
    }

    .filter-group select, .filter-group input {
        width: 100%; border: 1.5px solid var(--border);
        border-radius: 9px; padding: 9px 12px;
        font-size: .875rem; font-family: 'DM Sans', sans-serif;
        outline: none; transition: border-color .15s;
        background: var(--parchment); color: var(--text);
    }

    .filter-group select:focus, .filter-group input:focus { border-color: var(--crimson); }

    .btn-apply {
        width: 100%; padding: 12px;
        background: var(--crimson); border: none;
        border-radius: 10px; color: #fff;
        font-size: .9rem; font-weight: 700;
        cursor: pointer; margin-top: 8px; transition: .15s;
    }

    .btn-apply:hover { background: var(--crimson-dk); }

    .btn-reset {
        width: 100%; padding: 10px;
        border: 1.5px solid var(--border); border-radius: 10px;
        color: var(--muted); font-size: .875rem; font-weight: 500;
        background: transparent; cursor: pointer; margin-top: 8px;
    }

    /* ─── AUTH ─── */
    .auth-wrap {
        min-height: calc(100vh - 72px);
        display: flex; align-items: center; justify-content: center;
        padding: 40px 20px;
        background: linear-gradient(135deg, var(--crimson-lt) 0%, var(--parchment) 60%, var(--gold-lt) 100%);
    }

    .auth-card {
        background: #fff; border-radius: 22px;
        box-shadow: var(--shadow-lg);
        width: 100%; max-width: 480px; padding: 44px;
        border: 1px solid var(--border);
    }

    .auth-card h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.75rem; font-weight: 700;
        color: var(--text); margin-bottom: 6px;
    }

    .auth-card .sub { color: var(--muted); font-size: .88rem; margin-bottom: 30px; }

    .form-label { font-size: .82rem; font-weight: 500; color: #4a3728; margin-bottom: 5px; }

    .form-control, .form-select {
        border-radius: 10px; border-color: var(--border);
        font-size: .9rem; padding: 10px 14px;
        background: var(--parchment); color: var(--text);
    }

    .form-control:focus, .form-select:focus {
        border-color: var(--crimson-mid);
        box-shadow: 0 0 0 3px rgba(155,28,68,.1);
        background: #fff;
    }

    .btn-auth {
        width: 100%; padding: 13px;
        background: var(--crimson); border: none;
        border-radius: 40px; font-size: .95rem;
        font-weight: 700; color: #fff; cursor: pointer; transition: .2s;
        box-shadow: 0 4px 14px rgba(155,28,68,.25);
    }

    .btn-auth:hover { background: var(--crimson-dk); }

    .auth-link { color: var(--crimson); font-weight: 600; text-decoration: none; }
    .auth-link:hover { text-decoration: underline; }

    /* ─── PROFILE PAGE ─── */
    .profile-page { max-width: 1100px; margin: 0 auto; padding: 36px 20px; }

    .profile-hero {
        background: var(--white); border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm); overflow: hidden;
        margin-bottom: 24px; border: 1px solid var(--border);
    }

    .profile-hero-bg {
        height: 150px;
        background: linear-gradient(135deg, var(--crimson), #e8507a, var(--gold));
    }

    .profile-hero-body { padding: 0 30px 30px; }

    .profile-photo-wrap { margin-top: -58px; margin-bottom: 16px; display: inline-block; }

    .profile-photo {
        width: 116px; height: 116px;
        border-radius: 50%; object-fit: cover;
        border: 4px solid #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,.14);
    }

    .profile-name {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.75rem; font-weight: 700; color: var(--text);
    }

    .profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

    .ptag {
        padding: 4px 14px; border-radius: 40px;
        font-size: .74rem; font-weight: 600;
        background: var(--crimson-lt); color: var(--crimson);
    }

    .ptag.indigo { background: #eef2ff; color: #4338ca; }
    .ptag.green { background: var(--forest-lt); color: var(--forest); }

    .detail-card {
        background: var(--white); border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm); padding: 24px;
        border: 1px solid var(--border);
    }
     
    .stat-card.justify-content-center.flex-column.text-center.py-4 {
          padding-bottom: 0px !important;
          }

    .detail-card h5 {
        font-size: .82rem; font-weight: 700;
        text-transform: uppercase; letter-spacing: .07em;
        color: var(--crimson); margin-bottom: 18px;
        padding-bottom: 10px; border-bottom: 2px solid var(--crimson-lt);
    }

    .detail-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }

    .detail-item label {
        font-size: .7rem; font-weight: 600;
        text-transform: uppercase; letter-spacing: .06em;
        color: var(--muted); display: block; margin-bottom: 3px;
    }

    .detail-item .val { font-size: .9rem; font-weight: 500; color: var(--text); }

    /* ─── SCROLL ANIMATIONS ─── */
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
        text-align: center;
    }

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

    .reveal-delay-1 { transition-delay: .1s; }
    .reveal-delay-2 { transition-delay: .2s; }
    .reveal-delay-3 { transition-delay: .3s; }
    .reveal-delay-4 { transition-delay: .4s; }

    /* ─── RESPONSIVE ─── */
    @media(max-width:1024px) {
        .navbar-inner { padding: 0 24px; }
        .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media(max-width:768px) {
        .section { padding: 48px 16px; }
        .footer-grid { grid-template-columns: 1fr; }
        .detail-row { grid-template-columns: 1fr; }
    }



    /* ═══════════════════════════════════════════
   HOME PAGE EXCLUSIVE STYLES
═══════════════════════════════════════════ */

/* ── HERO ── */
.hero-section {
    min-height: 92vh;
    background: linear-gradient(148deg, var(--cream) 0%, var(--parchment) 45%, #fff0e8 100%);
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 600px; height: 600px;
    border-radius: 50%;
    border: 60px solid rgba(155,28,68,.04);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    border: 40px solid rgba(184,136,42,.05);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 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 stroke='%239b1c44' stroke-width='0.35' opacity='0.06'%3E%3Cpath d='M30 0 L60 15 L60 45 L30 60 L0 45 L0 15 Z'/%3E%3Cpath d='M30 10 L50 20 L50 40 L30 50 L10 40 L10 20 Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: .6;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0 40px;
    position: relative; z-index: 1;
}

.hero-left { max-width: 580px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(184,136,42,.3);
    border-radius: 40px;
    padding: 7px 20px;
    font-size: .73rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeSlideDown .7s cubic-bezier(.16,1,.3,1) both;
}

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

@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.4); }
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 22px;
    animation: fadeSlideUp .8s cubic-bezier(.16,1,.3,1) .1s both;
}

.hero-title em {
    font-style: italic;
    color: var(--crimson);
    position: relative;
    display: inline-block;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--crimson), transparent);
    border-radius: 2px;
}

.hero-bismillah {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    color: var(--forest);
    opacity: .7;
    margin-bottom: 18px;
    animation: fadeSlideUp .8s cubic-bezier(.16,1,.3,1) .15s both;
}

.hero-desc {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 460px;
    animation: fadeSlideUp .8s cubic-bezier(.16,1,.3,1) .2s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeSlideUp .8s cubic-bezier(.16,1,.3,1) .28s both;
}

/* STATS */
.hero-stats {
    display: flex;
    gap: 32px;
    animation: fadeSlideUp .8s cubic-bezier(.16,1,.3,1) .36s both;
}

.hstat {
    display: flex;
    flex-direction: column;
}

.hstat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--crimson);
    line-height: 1;
}

.hstat-lbl {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin-top: 4px;
}

/* ── MODERN FADE SLIDER ── */
.hero-slider {
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-slider-track {
    position: relative;
    height: 100%;
    width: 800px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-slide.active img {
    transform: scale(1);
}

.hero-slide-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 5;
}

.hero-slide-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--text);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Glassmorphism Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.slider-arrow:hover {
    background: var(--crimson);
    border-color: var(--crimson);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 25px;
    right: 30px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 12px;
    height: 6px;
    border-radius: 10px;
    background: rgba(255,255,255,0.4);
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dot.active {
    width: 30px;
    background: #fff;
}

/* ── REST OF STYLES ── */
.float-card {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
    border: 1px solid var(--border);
    z-index: 10;
    white-space: nowrap;
}

.float-card-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.float-card.fc1 {
    top: 30px; right: -20px;
    animation: floatY 4s ease-in-out infinite, fadeSlideUp .8s .5s both;
}

.float-card.fc2 {
    bottom: 50px; left: -20px;
    animation: floatY 4s ease-in-out 1.5s infinite, fadeSlideUp .8s .6s both;
}

@keyframes floatY {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 4px;
    grid-auto-flow: row;
}

.ticker { background: var(--forest); padding: 12px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 56px; animation: ticker-move 30s linear infinite; white-space: nowrap; }
.ticker-track span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.85); text-transform: uppercase; flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.ticker-heart { color: var(--crimson-mid); font-size: .85rem; }

@keyframes ticker-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.search-section { background: var(--white); border-bottom: 1px solid var(--border); padding: 28px 20px; }
.search-inner { max-width: 900px; margin: 0 auto; }
.search-label { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 14px; display: block; text-align: center; }
.search-box { background: var(--parchment); border: 1.5px solid var(--border); border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--crimson-mid); box-shadow: 0 0 0 4px rgba(155,28,68,.08); background: #fff; }
.search-field { flex: 1; min-width: 130px; }
.search-field label { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); display: block; margin-bottom: 4px; }
.search-field select, .search-field input { border: none; background: transparent; width: 100%; font-size: .88rem; color: var(--text); outline: none; font-family: 'DM Sans', sans-serif; }
.search-divider { width: 1px; height: 36px; background: var(--border); }

.btn-search { padding: 12px 26px; background: var(--crimson); color: #fff; border: none; border-radius: 12px; font-weight: 700; font-size: .88rem; white-space: nowrap; cursor: pointer; display: flex; align-items: center; gap: 7px; transition: all .2s; box-shadow: 0 4px 12px rgba(155,28,68,.25); }
.btn-search:hover { background: var(--crimson-dk); transform: translateY(-1px); }

.features-strip { background: var(--gold-lt); border-top: 1px solid #e6c87a; border-bottom: 1px solid #e6c87a; padding: 20px; }
.features-strip-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.fstrip-item { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: var(--text-soft); }
.fstrip-icon { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid #e6c87a; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: .95rem; }

.section-alt { background: var(--cream); }
.ornament-divider { text-align: center; padding: 6px 0 0; font-family: 'Amiri', serif; font-size: 1.5rem; color: var(--gold); opacity: .5; letter-spacing: 8px; }

@media(max-width:1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .hero-section { padding: 0 24px; }
    .hero-inner { padding: 60px 0 60px; }
    .float-card { display: none; }
}

@media(max-width:768px) {
    .hero-slider { height: 350px; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .search-box { flex-direction: column; align-items: stretch; }
    .search-divider { display: none; }
}


 /* ═══════════════════════════════════════════
   PAGINATION DESIGN FIX
═══════════════════════════════════════════ */

  /* 1. Reset Laravel/Tailwind default giant icons */
  .pagination svg,
  nav[role="navigation"] svg {
    width: 20px !important;
    height: 20px !important;
    display: inline-block;
  }

  /* 2. Hide the "Showing X to Y of Z results" text inside the nav if it's messy */
  nav[role="navigation"] .hidden.sm\:flex-1 {
    display: none !important;
  }

  /* 3. Modern Layout for the buttons */
  .pagination,
  nav[role="navigation"] .flex.justify-between {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
  }

  /* 4. Style the individual links/buttons */
  .pagination li a,
  .pagination li span,
  nav[role="navigation"] a,
  nav[role="navigation"] span {
    padding: 8px 16px !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    background-color: #ffffff !important;
    color: #374151 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.2s;
    display: flex;
    align-items: center;
  }

  /* 5. Hover & Active States */
  .pagination li a:hover,
  nav[role="navigation"] a:hover {
    background-color: var(--parchment, #fdf7ec) !important;
    border-color: var(--gold, #b8882a) !important;
    color: var(--crimson, #9b1c44) !important;
  }

  .pagination li.active span,
  nav[role="navigation"] span[aria-current="page"] .relative {
    background-color: var(--crimson, #9b1c44) !important;
    color: #ffffff !important;
    border-color: var(--crimson, #9b1c44) !important;
  }

  /* Remove default shadow/styling from Tailwind if active */
  nav[role="navigation"] span.relative.z-0 {
    display: flex;
    gap: 5px;
    box-shadow: none !important;
    border-radius: 0 !important;
  }