/* ==========================================================================
   ✨ SPM MODERN HOMEPAGE STYLISH UI & ANIMATIONS
   ========================================================================== */

/* 1. Modern Hero Banner */
.spm-hero-wrap {
    position: relative;
    background: linear-gradient(135deg, #be123c 0%, #e11d48 55%, #9f1239 100%);
    padding: 60px 0 75px;
    color: #ffffff;
    overflow: hidden;
}

.spm-hero-wrap::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.spm-hero-wrap::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.spm-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.spm-hero-tag i {
    color: #fbbf24;
}

.spm-hero-title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.spm-hero-title span {
    color: #fef08a;
    position: relative;
}

.spm-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    max-width: 520px;
}

.spm-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.spm-hero-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.spm-hero-badge-item i {
    color: #22c55e;
}

/* 2. Glassmorphism Hero Search Card */
.spm-search-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 30px 26px 26px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spm-search-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.spm-search-card-header {
    text-align: center;
    margin-bottom: 22px;
}

.spm-search-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spm-search-card-sub {
    font-size: 12.5px;
    color: #64748b;
}

.spm-search-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spm-search-select {
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    font-size: 13.5px;
    font-weight: 500;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.spm-search-select:focus {
    border-color: #e11d48;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
}

.spm-search-btn {
    height: 46px;
    border-radius: 23px;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-decoration: none !important;
}

.spm-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.45);
    color: #ffffff;
}

.spm-quick-filter-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.spm-quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
}

.spm-quick-pill:hover {
    border-color: #e11d48;
    background: #fff1f2;
    color: #e11d48;
    transform: translateY(-2px);
}

/* 3. Section Headers */
.spm-home-header {
    text-align: center;
    margin-bottom: 36px;
}

.spm-home-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff1f2;
    color: #e11d48;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid #ffe4e6;
}

.spm-home-header-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.spm-home-header-desc {
    font-size: 14px;
    color: #64748b;
    max-width: 550px;
    margin: 0 auto;
}

/* 4. Quick Category Action Cards */
.spm-category-grid {
    margin-top: -30px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.spm-cat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
    color: #1e293b;
    display: block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.spm-cat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e11d48, #f59e0b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spm-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(225, 29, 72, 0.12);
    color: #e11d48;
}

.spm-cat-card:hover::before {
    opacity: 1;
}

.spm-cat-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #fff1f2;
    color: #e11d48;
    transition: all 0.3s ease;
}

.spm-cat-card:hover .spm-cat-icon {
    transform: scale(1.1) rotate(5deg);
    background: #e11d48;
    color: #ffffff;
}

.spm-cat-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1e293b;
}

.spm-cat-card:hover .spm-cat-title {
    color: #e11d48;
}

.spm-cat-sub {
    font-size: 11.5px;
    color: #64748b;
}

/* 5. Trust & Security Feature Cards */
.spm-feature-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.spm-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.spm-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.spm-feature-card:hover .spm-feature-icon {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    transform: scale(1.08);
}

.spm-feature-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.spm-feature-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 6. Simple 3-Step Process */
.spm-step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

.spm-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(225, 29, 72, 0.08);
}

.spm-step-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
    font-family: monospace;
}

.spm-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff1f2;
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.spm-step-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.spm-step-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 7. Milestone Statistics Counter Card */
.spm-stat-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.spm-stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.spm-stat-num {
    font-size: 30px;
    font-weight: 800;
    color: #e11d48;
    margin-bottom: 4px;
}

.spm-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 8. Call to Action Banner */
.spm-home-cta-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 28px;
    padding: 50px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.spm-home-cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* 9. Homepage Responsive Rules */
@media screen and (max-width: 767px) {
    .spm-hero-wrap {
        padding: 35px 0 45px !important;
        text-align: center;
    }

    .spm-hero-left {
        padding-right: 0 !important;
        margin-bottom: 10px;
    }

    .spm-hero-title {
        font-size: 27px !important;
        margin-bottom: 12px !important;
    }

    .spm-hero-desc {
        font-size: 14px !important;
        margin: 0 auto 22px !important;
    }

    .spm-hero-left .d-flex {
        justify-content: center !important;
    }

    .spm-hero-badges {
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 18px !important;
    }

    .spm-hero-badge-item {
        font-size: 11.5px !important;
        padding: 4px 10px !important;
    }

    .spm-search-card {
        padding: 22px 16px 20px !important;
        border-radius: 20px !important;
        margin-top: 10px;
    }

    .spm-search-card-title {
        font-size: 18px !important;
    }

    .spm-category-grid {
        margin-top: 20px !important;
        margin-bottom: 30px !important;
    }

    .spm-cat-card {
        padding: 16px 12px !important;
        border-radius: 14px !important;
    }

    .spm-cat-icon {
        width: 46px !important;
        height: 46px !important;
        font-size: 20px !important;
        margin-bottom: 8px !important;
        border-radius: 12px !important;
    }

    .spm-cat-title {
        font-size: 13.5px !important;
    }

    .spm-cat-sub {
        font-size: 10.5px !important;
    }

    .spm-quick-filter-pills {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .spm-home-header {
        margin-bottom: 24px !important;
    }

    .spm-home-header-title {
        font-size: 23px !important;
    }

    .spm-home-header-desc {
        font-size: 13px !important;
    }

    .spm-feature-card,
    .spm-step-card {
        padding: 22px 18px !important;
        border-radius: 16px !important;
    }

    .spm-stat-box {
        padding: 18px 12px !important;
    }

    .spm-stat-num {
        font-size: 24px !important;
    }

    .spm-stat-label {
        font-size: 11px !important;
    }

    .spm-home-cta-banner {
        padding: 32px 18px !important;
        text-align: center !important;
        border-radius: 20px !important;
    }

    .spm-home-cta-banner .text-lg-end {
        text-align: center !important;
        margin-top: 20px !important;
    }
}

/* ==========================================================================
   🌟 3D FEATURED PROFILES ANIMATED SLIDER SHOWCASE
   ========================================================================== */
.spm-3d-showcase-section {
    background: radial-gradient(circle at 50% 30%, #fff1f2 0%, #fff7ed 40%, #ffffff 85%);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #ffe4e6;
}

.spm-3d-showcase-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 350px;
    background: radial-gradient(ellipse at center, rgba(225, 29, 72, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.spm-3d-slider-container {
    padding: 20px 0 40px;
    position: relative;
    perspective: 1200px;
}

.spm-3d-swiper {
    width: 100%;
    padding: 30px 0 45px !important;
    overflow: visible !important;
}

.spm-3d-slide {
    width: 310px !important;
    max-width: 85vw;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

.spm-3d-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1.5px solid rgba(225, 29, 72, 0.12);
    box-shadow: 0 16px 36px rgba(136, 19, 55, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.swiper-slide-active .spm-3d-card {
    border-color: rgba(225, 29, 72, 0.35);
    box-shadow: 0 24px 50px rgba(225, 29, 72, 0.22), 0 0 0 2px rgba(251, 191, 36, 0.45);
    transform: scale(1.04);
}

.spm-3d-img-box {
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.spm-3d-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.spm-3d-card:hover .spm-3d-img-box img {
    transform: scale(1.08);
}

.spm-3d-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

/* Badges on 3D Card */
.spm-3d-verified-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.spm-3d-featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.spm-3d-popular-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.spm-3d-id-pill {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.spm-3d-mangal-pill {
    position: absolute;
    bottom: 12px;
    right: 14px;
    z-index: 5;
    background: rgba(225, 29, 72, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}

/* Card Body */
.spm-3d-card-body {
    padding: 16px 18px 18px;
    text-align: left;
}

.spm-3d-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.spm-3d-name {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spm-3d-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.spm-3d-chip {
    font-size: 11.5px;
    font-weight: 600;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 3px 9px;
    border-radius: 20px;
}

.spm-3d-chip.female {
    background: #fff1f2;
    color: #e11d48;
    border-color: #fecdd3;
}

.spm-3d-chip.male {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

/* Action Buttons in 3D Card */
.spm-3d-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spm-3d-btn-view {
    flex: 1;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 50rem;
    text-align: center;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
    transition: all 0.25s ease;
}

.spm-3d-btn-view:hover {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
}

.spm-3d-btn-fav,
.spm-3d-btn-chat {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.spm-3d-btn-fav:hover {
    background: #ffe4e6;
    color: #e11d48;
    border-color: #fecdd3;
    transform: scale(1.08);
}

.spm-3d-btn-chat:hover {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
    transform: scale(1.08);
}

/* 3D Navigation Controls */
.spm-3d-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #fecdd3;
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.15);
    cursor: pointer;
    z-index: 20;
    transition: all 0.25s ease;
}

.spm-3d-nav-btn:hover {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.3);
}

.spm-3d-prev { left: 10px; }
.spm-3d-next { right: 10px; }

/* 3D Pagination Bullets */
.spm-3d-pagination {
    text-align: center;
    margin-top: 15px;
}

.spm-3d-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 0.6;
    margin: 0 5px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spm-3d-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 10px;
    background: linear-gradient(90deg, #e11d48, #f59e0b) !important;
    opacity: 1;
}

@media (max-width: 767.98px) {
    .spm-3d-showcase-section {
        padding: 40px 0 30px;
    }
    .spm-3d-slide {
        width: 275px !important;
    }
    .spm-3d-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .spm-3d-prev { left: 4px; }
    .spm-3d-next { right: 4px; }
}

