/**
 * Shubho Bibaho - Premium Bengali Matrimony UI Theme
 * High-End, Luxury, Modern Aesthetics
 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #d32f2f;
    --primary-hover: #b71c1c;
    --primary-gradient: linear-gradient(135deg, #d32f2f 0%, #c2185b 100%);
    --primary-gradient-subtle: linear-gradient(135deg, rgba(211, 47, 47, 0.08) 0%, rgba(194, 24, 91, 0.05) 100%);
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --dark-surface: #0f172a;
    --card-radius: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-elevated: 0 12px 30px -4px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 40px -8px rgba(211, 47, 47, 0.18), 0 0 1px 1px rgba(211, 47, 47, 0.1);
}

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative !important;
}

body {
    font-family: 'Outfit', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background-color: #f8fafc;
    color: #334155;
    letter-spacing: -0.01em;
}

/* Default Website Zoom: 90% */
@media (min-width: 992px) {
    body {
        zoom: 90% !important;
    }
}

.aiz-main-wrapper {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

.aiz-carousel {
    max-width: 100% !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Outfit', 'Poppins', sans-serif !important;
    font-weight: 700;
    color: #0f172a;
}

/* -------------------------------------------------------------
   HERO BANNER & SEARCH (RESPONSIVE & MOBILE-OPTIMIZED)
------------------------------------------------------------- */
.home-slider-area {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
}

.hero-main-row {
    padding-top: 140px;
    padding-bottom: 60px;
}

.hero-glass-card {
    background: rgba(15, 23, 42, 0.65) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.hero-badge-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #d32f2f, #c2185b) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.35) !important;
    margin-bottom: 12px !important;
}

.hero-title {
    font-size: clamp(26px, 3.5vw, 42px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
}

.hero-title-accent {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.hero-search-container {
    background: rgba(255, 255, 255, 0.09) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 20px !important;
    padding: 18px !important;
    margin-bottom: 16px !important;
}

.hero-search-container label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
}

.hero-input-field {
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    height: 40px !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

.hero-search-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #c2185b 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    height: 40px !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
}

.hero-search-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5) !important;
    color: #ffffff !important;
}

.hero-bottom-action {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-top: 14px !important;
}

/* Mobile View Improvements */
@media (max-width: 991px) {
    .home-slider-area {
        min-height: calc(100vh - 65px) !important;
        min-height: calc(100dvh - 65px) !important;
        padding: 0 !important;
    }

    .hero-main-row {
        padding-top: 65px !important;
        padding-bottom: 75px !important;
        margin: 0 !important;
    }

    .hero-glass-card {
        padding: 18px 15px !important;
        border-radius: 22px !important;
        background: rgba(15, 23, 42, 0.72) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        backdrop-filter: blur(24px) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
        margin: 0 auto !important;
        max-width: 100% !important;
    }

    .home-slider-text-content .badge,
    .hero-badge-pill {
        font-size: 10px !important;
        padding: 4px 10px !important;
        margin-bottom: 8px !important;
        letter-spacing: 0.5px !important;
        display: inline-flex !important;
    }

    .home-slider-text-content h1,
    .home-slider-text-content .display-4,
    .hero-title {
        font-size: 22px !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
        font-weight: 800 !important;
    }

    .home-slider-text-content p,
    .home-slider-text-content .lead,
    .hero-subtitle {
        font-size: 12px !important;
        line-height: 1.45 !important;
        margin-bottom: 12px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .hero-search-container {
        padding: 12px 10px !important;
        border-radius: 16px !important;
        margin-bottom: 12px !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }

    .hero-search-container label {
        font-size: 10px !important;
        margin-bottom: 3px !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .hero-input-field {
        height: 36px !important;
        font-size: 13px !important;
        padding: 4px 10px !important;
        border-radius: 8px !important;
    }

    .hero-search-btn {
        height: 36px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }

    .hero-bottom-action {
        padding-top: 10px !important;
    }

    .hero-bottom-action .action-text-title {
        font-size: 12px !important;
    }

    .hero-bottom-action .action-text-sub {
        font-size: 10.5px !important;
    }

    .hero-bottom-action .btn {
        font-size: 12px !important;
        padding: 6px 16px !important;
    }
}

/* -------------------------------------------------------------
   1. HEADER & NAVIGATION (STRICTLY FIXED & ULTRA-PREMIUM)
------------------------------------------------------------- */
.fixed-top-header-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1030 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07) !important;
    transition: var(--transition-smooth);
}

.top-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 13px;
    padding: 6px 0 !important;
}

.aiz-header {
    background: rgba(255, 255, 255, 0.98) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
}

.member-sub-navbar {
    background: #f8fafc !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 4px 0 !important;
}

.member-nav-tab {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 16px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    margin: 3px 2px !important;
    white-space: nowrap !important;
}

.member-nav-tab:hover {
    color: #d32f2f !important;
    background: rgba(211, 47, 47, 0.08) !important;
    text-decoration: none !important;
}

.member-nav-tab.active {
    background: linear-gradient(135deg, #d32f2f 0%, #be123c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.25) !important;
    font-weight: 700 !important;
}

/* User Profile Pill in Topbar */
.user-profile-header-pill {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50px !important;
    padding: 3px 12px 3px 4px !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.user-profile-header-pill:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.topbar-helpline-pill {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    padding: 5px 14px !important;
    border-radius: 50px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease-in-out !important;
}

.topbar-helpline-pill:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #d32f2f !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.topbar-tagline-badge {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #d32f2f, #be123c) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    white-space: nowrap !important;
}

.member-status-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 5px 16px !important;
    border-radius: 50px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
}

.member-status-badge.premium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.member-status-badge.free {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Ensure any badge with badge-pill or badge-inline expands naturally */
.badge-pill,
.badge-inline {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
}

.size-28px { width: 28px !important; height: 28px !important; min-width: 28px !important; }
.size-30px { width: 30px !important; height: 30px !important; min-width: 30px !important; }
.size-34px { width: 34px !important; height: 34px !important; min-width: 34px !important; }
.size-45px { width: 45px !important; height: 45px !important; min-width: 45px !important; }

/* Precise Page Offsets for Fixed Header */
@media (min-width: 992px) {
    body {
        padding-top: 105px !important;
    }
    body.is-member-logged-in {
        padding-top: 148px !important;
    }
    body.home-page {
        padding-top: 105px !important;
    }
}

@media (max-width: 991px) {
    body,
    body.is-member-logged-in,
    body.home-page {
        padding-top: 65px !important;
    }
}

.aiz-header .nav-link {
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    padding: 0.55rem 1.1rem !important;
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
    letter-spacing: 0.4px;
}

.aiz-header .nav-link:hover {
    color: #d32f2f !important;
    background: rgba(211, 47, 47, 0.08);
}

.aiz-header li.bg-primary-grad .nav-link,
.aiz-header .nav-link.active {
    color: #d32f2f !important;
    background: rgba(211, 47, 47, 0.1) !important;
    font-weight: 700 !important;
}

.aiz-header li.bg-primary-grad {
    background: transparent !important;
}

/* Logo Typography */
.brand-logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 22px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.5px;
}

/* -------------------------------------------------------------
   2. BUTTONS & PILLS
------------------------------------------------------------- */
.btn-primary,
.bg-primary-grad,
.btn-primary-gradient {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.3);
    transition: var(--transition-smooth);
    font-weight: 600;
}

.btn-primary:hover,
.bg-primary-grad:hover,
.btn-primary-gradient:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #ad1457 100%) !important;
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.45) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-outline-primary {
    border: 2px solid #d32f2f !important;
    color: #d32f2f !important;
    background: transparent !important;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline-primary:hover {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.3);
}

.round-btn,
.btn-rounded {
    border-radius: 50px !important;
}

/* -------------------------------------------------------------
   3. CARDS & ELEVATIONS
------------------------------------------------------------- */
.card {
    border: 1px solid #f1f5f9 !important;
    border-radius: var(--card-radius) !important;
    box-shadow: var(--shadow-subtle) !important;
    transition: var(--transition-smooth);
    background: #ffffff;
}

.card:hover {
    box-shadow: var(--shadow-elevated) !important;
}

.card-hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover) !important;
}

/* Form Controls */
.form-control {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px;
    padding: 0.65rem 1rem;
    transition: var(--transition-smooth);
    color: #1e293b;
}

.form-control:focus {
    border-color: #d32f2f !important;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15) !important;
}

/* -------------------------------------------------------------
   4. MEMBER PROFILE CARDS
------------------------------------------------------------- */
.member-card-premium {
    border-radius: 20px !important;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #f1f5f9 !important;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.member-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover) !important;
}

.member-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: #f8fafc;
}

.member-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-card-premium:hover .member-card-img-wrap img {
    transform: scale(1.06);
}

.badge-tag-pill {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center;
    line-height: 1.25;
    white-space: nowrap;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
}

.member-avatar-box {
    width: 120px;
    height: 135px;
    transition: transform 0.3s ease;
}
.member-avatar-box img {
    transition: transform 0.4s ease;
}
.member-listing-card:hover .member-avatar-box img {
    transform: scale(1.04);
}

@media (max-width: 767px) {
    .member-avatar-box {
        width: 82px !important;
        height: 96px !important;
        border-radius: 14px !important;
    }
    .member-listing-card {
        border-radius: 16px !important;
        margin-bottom: 14px !important;
    }
    .member-listing-card .member-info-grid {
        font-size: 11.5px !important;
        margin-bottom: 8px !important;
    }
}

/* -------------------------------------------------------------
   5. PUBLIC PROFILE DETAILS PAGE
------------------------------------------------------------- */
.profile-hero-section {
    background: linear-gradient(135deg, #2b0412 0%, #1e1022 50%, #0f172a 100%) !important;
    padding: 3.5rem 0 2.5rem;
    position: relative;
    border-radius: 0 0 30px 30px;
}

.profile-avatar-box {
    width: 180px;
    height: 180px;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

.profile-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.profile-info-badge {
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
}

.profile-detail-card {
    border-radius: 20px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: var(--shadow-subtle);
    background: #ffffff;
    margin-bottom: 1.5rem;
}

.profile-detail-card .card-header {
    background: transparent;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.5rem;
}

.profile-detail-card .card-header h5 {
    font-size: 18px;
    margin-bottom: 0;
    color: #0f172a;
    display: flex;
    align-items: center;
}

.profile-detail-card .card-header h5 i {
    color: #d32f2f;
    margin-right: 10px;
    font-size: 22px;
}

/* -------------------------------------------------------------
   6. PACKAGES & PRICING
------------------------------------------------------------- */
.package-card {
    border-radius: 24px !important;
    border: 1.5px solid #f1f5f9 !important;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover) !important;
}

.package-card.popular {
    border: 2px solid #d32f2f !important;
    box-shadow: 0 15px 35px rgba(211, 47, 47, 0.12) !important;
}

.package-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-gradient);
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 0;
}

/* -------------------------------------------------------------
   7. LUXURY FOOTER & TRUST SHOWCASE
------------------------------------------------------------- */
.aiz-footer {
    background: linear-gradient(180deg, #0b0f19 0%, #060911 100%) !important;
    color: #94a3b8 !important;
    border-top: 1px solid rgba(226, 232, 240, 0.08) !important;
    position: relative;
    overflow: hidden;
    font-size: 14px;
}

.aiz-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.6), rgba(245, 158, 11, 0.5), transparent);
}

.footer-trust-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50em;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin: 4px 6px;
    transition: all 0.3s ease;
}

.footer-trust-badge:hover {
    background: rgba(211, 47, 47, 0.12);
    border-color: rgba(211, 47, 47, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.15);
}

.footer-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.footer-contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(211, 47, 47, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.2), rgba(194, 24, 91, 0.2));
    border: 1px solid rgba(211, 47, 47, 0.3);
    color: #ff8a80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-contact-card:hover .footer-contact-icon {
    background: linear-gradient(135deg, #d32f2f, #c2185b);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.footer-widget-title {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #d32f2f, #f59e0b);
    border-radius: 3px;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-link-item {
    color: #94a3b8 !important;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.footer-link-item i {
    font-size: 12px;
    margin-right: 8px;
    color: #64748b;
    transition: all 0.25s ease;
}

.footer-link-item:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

.footer-link-item:hover i {
    color: #d32f2f;
}

/* App Store Vector Download Buttons */
.footer-app-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 14px !important;
    padding: 12px 18px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    margin-bottom: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.footer-app-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.footer-app-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
    border-color: rgba(211, 47, 47, 0.5) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(211, 47, 47, 0.25);
}

.footer-app-btn:hover .footer-app-icon-wrap {
    transform: scale(1.1);
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8 !important;
    font-size: 17px;
    margin: 0 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-btn.facebook:hover { background: #1877f2; color: #fff !important; border-color: #1877f2; box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4); transform: translateY(-3px); }
.footer-social-btn.twitter:hover { background: #1da1f2; color: #fff !important; border-color: #1da1f2; box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4); transform: translateY(-3px); }
.footer-social-btn.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff !important; border-color: transparent; box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4); transform: translateY(-3px); }
.footer-social-btn.youtube:hover { background: #ff0000; color: #fff !important; border-color: #ff0000; box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4); transform: translateY(-3px); }
.footer-social-btn.linkedin:hover { background: #0077b5; color: #fff !important; border-color: #0077b5; box-shadow: 0 4px 15px rgba(0, 119, 181, 0.4); transform: translateY(-3px); }

/* -------------------------------------------------------------
   8. MEMBER DASHBOARD WIDGETS
------------------------------------------------------------- */
.dashboard-stat-card {
    border-radius: 18px;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.dashboard-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.dashboard-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-right: 14px;
    flex-shrink: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d32f2f;
}

/* Profile Section Navigation Pills */
.profile-nav-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 7px 16px !important;
    border-radius: 50px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    background: #fdf2f4 !important;
    color: #d32f2f !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    border: 1px solid rgba(211, 47, 47, 0.15) !important;
    white-space: nowrap !important;
    margin: 3px !important;
}
.profile-nav-pill:hover {
    background: #d32f2f !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25) !important;
}
.profile-nav-pill.highlight {
    background: linear-gradient(135deg, #d32f2f, #c2185b) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3) !important;
}
.profile-nav-pill.highlight:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

/* Dynamic Slider Content from Admin */
.home-slider-text-content {
    color: #ffffff;
}
.home-slider-text-content h1,
.home-slider-text-content h2,
.home-slider-text-content h3 {
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    font-size: clamp(1.45rem, 4vw, 2.4rem);
}
.home-slider-text-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: clamp(0.85rem, 2vw, 1rem);
    line-height: 1.6;
}
.home-slider-text-content span {
    line-height: 1.5;
}

/* The same admin-managed hero content is rendered in the light mobile card. */
.mobile-home-slider-text-content h1,
.mobile-home-slider-text-content h2,
.mobile-home-slider-text-content h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
    color: #0f172a !important;
}
.mobile-home-slider-text-content p {
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
    color: #64748b !important;
}
.mobile-home-slider-text-content .badge,
.mobile-home-slider-text-content .hero-badge-pill {
    font-size: 10px !important;
    padding: 4px 10px !important;
    margin-bottom: 8px !important;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN ENHANCEMENTS (Mobile, Tablet & Desktop)
------------------------------------------------------------- */

/* 1. Mobile Horizontal Header Swipe (Hide raw scrollbar, smooth touch) */
.mobile-hor-swipe {
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none; /* IE 10+ */
    padding-bottom: 4px;
}
@supports (scrollbar-width: none) {
    .mobile-hor-swipe {
        scrollbar-width: none; /* Firefox */
    }
}
.mobile-hor-swipe::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* 2. Carousel Dots & Arrow Spacing (Prevent card and button overlap + generous bottom space) */
.aiz-carousel {
    padding-bottom: 45px !important;
    margin-bottom: 25px !important;
}

.aiz-carousel .slick-dots {
    bottom: 0px !important;
    position: absolute !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10 !important;
}

.aiz-carousel .slick-dots li {
    margin: 0 4px !important;
    display: inline-block !important;
}

.aiz-carousel .slick-dots li button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #cbd5e1 !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0 !important;
    transition: all 0.3s ease !important;
}

.aiz-carousel .slick-dots li.slick-active button {
    width: 24px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #d32f2f, #c2185b) !important;
}

/* Half outside arrows */
.aiz-carousel.half-outside-arrow .slick-prev {
    left: -15px !important;
    z-index: 10;
}
.aiz-carousel.half-outside-arrow .slick-next {
    right: -15px !important;
    z-index: 10;
}

/* 3. Mobile Navigation & Spacing */
@media (max-width: 991.98px) {
    .aiz-footer {
        margin-bottom: 0 !important;
    }
    
    /* Top navbar spacing */
    .top-navbar {
        font-size: 11px;
    }
    
    /* Hero container padding on small screens */
    .hero-glass-card {
        padding: 1.5rem !important;
        border-radius: 18px !important;
    }

    /* Happy story mobile stacked image */
    .happy-story-card .row > div:first-child {
        min-height: 200px !important;
    }
}

/* 4. Tablet Specific Enhancements (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 100% !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    
    .aiz-carousel {
        padding-bottom: 40px !important;
    }
}

/* 5. Touch Friendly Interactive Elements */
@media (hover: none) and (pointer: coarse) {
    .btn, 
    .nav-link, 
    .aiz-mobile-bottom-nav a {
        -webkit-tap-highlight-color: transparent;
    }
}

/* -------------------------------------------------------------
   6. MOBILE SLIDE-OUT DRAWER MENU
------------------------------------------------------------- */
.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 9998 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 310px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 9999 !important;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-drawer-body {
    padding-bottom: 50px !important;
}

@supports (scrollbar-width: thin) {
    .mobile-drawer-body {
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
}

.mobile-drawer-body::-webkit-scrollbar {
    width: 4px;
}

.mobile-drawer-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.mobile-drawer-link {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    color: #334155 !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 12px;
    transition: all 0.2s ease;
    margin-bottom: 3px;
    text-decoration: none !important;
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
    background: #fdf2f4 !important;
    color: #d32f2f !important;
    transform: translateX(4px);
}

/* -------------------------------------------------------------
   7. STRICTLY FIXED MOBILE & TABLET BOTTOM APP BAR
------------------------------------------------------------- */
.aiz-mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    z-index: 1040 !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08) !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    padding-top: 6px !important;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
}

@media (min-width: 1025px) {
    .aiz-mobile-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .aiz-mobile-bottom-nav {
        display: block !important;
    }
    
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
    }
    
    .aiz-footer {
        margin-bottom: 0 !important;
        padding-bottom: 30px !important;
    }
}

.aiz-mobile-bottom-nav .row {
    margin: 0 !important;
    width: 100% !important;
}

.aiz-mobile-bottom-nav .col {
    padding: 0 !important;
}

.mobile-nav-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 4px 2px !important;
    color: #64748b !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-icon {
    font-size: 20px !important;
    line-height: 1 !important;
    margin-bottom: 3px !important;
    opacity: 0.65;
    transition: all 0.2s ease;
}

.mobile-nav-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mobile-nav-badge {
    position: absolute !important;
    top: -4px !important;
    right: -10px !important;
    font-size: 9px !important;
    padding: 2px 5px !important;
    line-height: 1 !important;
    border-radius: 10px !important;
    background-color: var(--primary, #d32f2f) !important;
    color: #ffffff !important;
}

.mobile-nav-avatar-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
}

.mobile-nav-avatar {
    width: 22px !important;
    height: 22px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    opacity: 0.75;
    transition: all 0.2s ease;
}

.mobile-nav-label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    opacity: 0.75;
    transition: all 0.2s ease;
}

/* Active & Hover States */
.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-nav-link.active .mobile-nav-icon,
.mobile-nav-link.active .mobile-nav-label {
    color: var(--primary, #d32f2f) !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

.mobile-nav-link.active .mobile-nav-avatar {
    opacity: 1 !important;
    box-shadow: 0 0 0 1.5px var(--primary, #d32f2f);
}

/* -------------------------------------------------------------
   10. CHAT UI OVERLAP FIX & LUXURY CHAT STYLING
------------------------------------------------------------- */
.aiz-chat {
    height: 100% !important;
    position: relative;
    overflow: hidden;
}

.chat-box-wrap {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.chat-box-wrap .chat-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    flex-shrink: 0 !important;
    z-index: 15 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.aiz-chat .chat-list-wrap,
.chat-box-wrap .chat-list-wrap {
    flex: 1 1 auto !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 20px 24px 10px 24px !important;
    background-color: #f8fafc !important;
    position: relative !important;
    display: block !important;
    scroll-behavior: auto !important;
}

.aiz-chat .chat-list,
.chat-box-wrap .chat-list {
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    padding-bottom: 8px !important;
}

.chat-box-wrap .chat-footer {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex-shrink: 0 !important;
    z-index: 15 !important;
    background: #ffffff !important;
    border-top: 1px solid #eef2f6 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04) !important;
}

/* Modern Chat Bubbles */
.chat-coversation {
    max-width: 75% !important;
    margin: 12px 0 !important;
}

.chat-coversation .media {
    align-items: flex-end !important;
}

.chat-coversation .text {
    background: #ffffff !important;
    color: #1e293b !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    border-radius: 18px 18px 18px 4px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #f1f5f9 !important;
    display: inline-block !important;
    word-break: break-word !important;
}

.chat-coversation .time {
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-top: 4px !important;
    display: block !important;
}

/* Sender Bubble (Right) */
.chat-coversation.right {
    margin-left: auto !important;
}

.chat-coversation.right .text {
    background: linear-gradient(135deg, #d32f2f 0%, #c2185b 100%) !important;
    color: #ffffff !important;
    border-radius: 18px 18px 4px 18px !important;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.25) !important;
    border: none !important;
}

.chat-coversation.right .time {
    text-align: right !important;
}

.chat-user-item.selected-chat,
.chat-user-item:hover {
    background-color: rgba(211, 47, 47, 0.05) !important;
}

.chat-user-item.selected-chat {
    border-left: 3px solid #d32f2f !important;
}

/* -------------------------------------------------------------
   11. MOBILE RESPONSIVE CHAT VIEWS
------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .chat-main-card {
        height: calc(100vh - 160px) !important;
        min-height: 480px !important;
        border-radius: 16px !important;
        margin-bottom: 20px !important;
    }

    /* By default on mobile: Show Conversations List, Hide Single Chat messages */
    .chat-users-col {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        border-right: none !important;
    }

    .chat-user-list-wrap {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        background: #ffffff !important;
    }

    .chat-user-list-wrap .chat-user-list-header {
        position: relative !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        top: auto !important;
        right: auto !important;
    }

    .chat-user-list-wrap .chat-user-list {
        position: relative !important;
        width: 100% !important;
        height: calc(100% - 60px) !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        top: auto !important;
        right: auto !important;
        overflow-y: auto !important;
    }

    .chat-messages-col {
        display: none !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* When conversation is active on mobile */
    .aiz-chat.chat-active-mobile .chat-users-col {
        display: none !important;
    }

    .aiz-chat.chat-active-mobile .chat-messages-col {
        display: block !important;
        height: 100% !important;
    }
}

.package-featured-card {
    border: 2px solid #d32f2f !important;
}

.package-standard-card {
    border: 1px solid #eef2f6 !important;
}

.auth-showcase-column {
    min-height: 600px;
    background-color: #0f172a;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(194, 24, 91, 0.8) 100%), url('../img/login-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.btn-interest-primary {
    background: linear-gradient(135deg, #d32f2f, #c2185b) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25) !important;
    font-size: 12px !important;
    cursor: pointer !important;
    height: 36px !important;
}

.btn-interest-success {
    background: #10b981 !important;
    color: #fff !important;
    border: none !important;
    font-size: 12px !important;
    cursor: pointer !important;
    height: 36px !important;
}

.btn-interest-secondary {
    background: #d32f2f !important;
    color: #fff !important;
    border: none !important;
    font-size: 12px !important;
    cursor: pointer !important;
    height: 36px !important;
}

.member-btn-profile {
    font-size: 12px !important;
    border-width: 1.5px !important;
    height: 36px !important;
}

.member-btn-shortlist {
    font-size: 12px !important;
    cursor: pointer !important;
    height: 36px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.member-btn-ignore {
    width: 36px !important;
    height: 36px !important;
    cursor: pointer !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

/* Dashboard match-card header alignment */
.dashboard-match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 60px;
}

.dashboard-match-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.dashboard-match-title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.25;
    min-width: 0;
}

.dashboard-match-title > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-right: 0 !important;
    line-height: 1;
}

.dashboard-refresh-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0 !important;
    border: 0;
    border-radius: 50%;
    line-height: 1;
}

.dashboard-refresh-btn > i {
    display: block;
    margin: 0 !important;
    font-size: 14px;
    line-height: 1;
}

.dashboard-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1.25;
}

@media (max-width: 575.98px) {
    .dashboard-match-header {
        gap: 8px;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .dashboard-match-title-group {
        gap: 6px;
    }

    .dashboard-match-title {
        font-size: 13px !important;
        white-space: normal;
    }

    .dashboard-match-title > i {
        font-size: 16px !important;
    }

    .dashboard-refresh-btn {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .dashboard-view-all {
        font-size: 11px !important;
    }
}
