@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

/* Hero Banner Styling */
.hero-banner-section {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Breadcrumb override within Hero */
.hero-breadcrumb .breadcrumb {
    font-size: 13px;
    font-weight: 500;
    background: transparent !important;
    padding: 0;
    margin-bottom: 24px;
}

.hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: #F2C94C;
}

.hero-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.hero-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3) !important;
    content: ">" !important;
    padding: 0 8px;
}

/* Premium Card Wrapper */
.hero-banner-card {
    background-color: #09062a;
    background-image: linear-gradient(90deg, #09062a 35%, rgba(9, 6, 42, 0.85) 60%, rgba(9, 6, 42, 0) 100%), url('../images/meditating_zodiac.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Heading & Subtitle */
.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 16px;
}

.highlight-gold {
    color: #F2C94C;
}

.hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin-bottom: 32px;
}

/* Stats Badges row */
.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 32px;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stat-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(242, 201, 76, 0.4);
    background: rgba(242, 201, 76, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F2C94C;
    font-size: 16px;
    flex-shrink: 0;
}

.hero-stat-text {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
}

/* Premium Buttons group */
.hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-icon-fa {
    font-size: 20px;
    color: inherit;
}

.btn-hero-premium-call {
    background-color: #F2C94C;
    color: #080718 !important;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(242, 201, 76, 0.3);
}

.btn-hero-premium-call:hover {
    background-color: #ffd863;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 201, 76, 0.4);
}

.btn-hero-premium-call .btn-icon {
    font-size: 22px;
}

.btn-hero-premium-call .btn-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.25;
}

.btn-hero-premium-call .btn-title {
    font-weight: 700;
    font-size: 16px;
}

.btn-hero-premium-call .btn-subtitle {
    font-size: 11px;
    opacity: 0.9;
}

.btn-hero-premium-chat {
    background-color: rgba(158, 119, 241, 0.05);
    border: 1px solid rgba(158, 119, 241, 0.3);
    color: #ffffff !important;
    border-radius: 12px;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    cursor: pointer;
}

.btn-hero-premium-chat:hover {
    background-color: rgba(158, 119, 241, 0.15);
    border-color: rgba(158, 119, 241, 0.6);
    transform: translateY(-2px);
}

.btn-hero-premium-chat .btn-icon {
    font-size: 22px;
    color: #a19bf5;
}

.btn-hero-premium-chat .btn-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.25;
}

.btn-hero-premium-chat .btn-title {
    font-weight: 700;
    font-size: 16px;
}

.btn-hero-premium-chat .btn-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

/* Illustration styling */
.hero-illustration-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(242, 201, 76, 0.15));
    animation: slowGlow 6s ease-in-out infinite alternate;
}

@keyframes slowGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(242, 201, 76, 0.1));
    }

    100% {
        filter: drop-shadow(0 0 30px rgba(242, 201, 76, 0.25));
    }
}

/* Trust section */
.trust-section-container {
    border-top: 1px solid rgba(242, 201, 76, 0.2);
    border-bottom: 1px solid rgba(242, 201, 76, 0.2);
    padding: 24px 0;
    margin-top: 32px;
}

.trust-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.trust-line {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(242, 201, 76, 0.5), transparent);
    flex-grow: 1;
    max-width: 150px;
}

.trust-sparkle {
    color: #F2C94C;
    font-size: 14px;
    animation: rotateSparkle 8s linear infinite;
}

@keyframes rotateSparkle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.trust-section-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
}

.trust-points-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.trust-point-col {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-point-col:last-child {
    border-right: none;
}

.trust-point-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(242, 201, 76, 0.08);
    border: 1px solid rgba(242, 201, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F2C94C;
    font-size: 14px;
    flex-shrink: 0;
}

.trust-point-content {
    display: flex;
    flex-direction: column;
}

.trust-point-value {
    font-size: 14px;
    font-weight: 700;
    color: #F2C94C;
    line-height: 1.2;
}

.trust-point-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.25;
    margin-top: 2px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 32px;
        text-align: center;
    }

    /* .hero-banner-section {
        text-align: center;
    } */

    .hero-btn-group {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .trust-points-row {
        flex-direction: column;
        gap: 12px;
    }

    .trust-point-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
        padding-bottom: 12px;
    }

    .trust-point-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 767px) {
    .hero-banner-card {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
        max-width: 380px;
        margin: 0 auto 24px auto;
        justify-items: start;
    }

    .hero-stat-item {
        gap: 8px;
        text-align: left;
    }

    .hero-stat-icon-box {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .hero-stat-value {
        font-size: 14px;
    }

    .hero-stat-label {
        font-size: 11px;
    }

    .btn-hero-premium-call,
    .btn-hero-premium-chat {
        width: 100%;
        justify-content: center;
    }
}

/* Custom Styled Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: #120c31;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none !important;
}

.pagination-btn:hover {
    background: rgba(158, 119, 241, 0.15);
    color: #ffffff;
}

.pagination-btn.active {
    background: #F2C94C;
    color: #080718;
}

/* ==========================================
   CATEGORY RIBBON & FILTERS REDESIGN STYLE
   ========================================== */

/* 1. Category Ribbon */
.category-ribbon-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 24px;
    scrollbar-width: none;
    /* Firefox */
}

.category-ribbon-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.category-ribbon {
    display: flex;
    gap: 12px;
    align-items: center;
    white-space: nowrap;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(158, 119, 241, 0.06);
    border: 1px solid rgba(158, 119, 241, 0.25);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-pill:hover {
    background: rgba(158, 119, 241, 0.18);
    border-color: rgba(158, 119, 241, 0.5);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(124, 92, 228, 0.3);
}

.category-pill.active {
    background: linear-gradient(135deg, #F2C94C 0%, #E2B026 100%);
    border-color: #F2C94C;
    color: #080718 !important;
    font-weight: 700;
    transform: translateY(-1px);
}

.category-pill .category-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-pill.active .category-icon {
    color: #080718;
}

.category-pill .category-icon img.category-img-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-pill.active .category-icon img.category-img-icon {
    transform: scale(1.1);
}

/* 2. Accordion Filter Sidebar */
.filter-sidebar {
    background: #0E0B2A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.filters-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.filters-sidebar-header h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
}

.btn-reset-filters {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: color 0.2s ease;
}

.btn-reset-filters:hover {
    color: #F2C94C;
}

.filter-section-wrapper {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 15px;
    padding-bottom: 15px;
}

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

.filter-section-header {
    width: 100%;
}

.filter-section-btn {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    outline: none !important;
}

.filter-section-btn .caret-icon {
    font-size: 11px;
    color: #F2C94C;
    transition: transform 0.25s ease;
}

.filter-section-btn[aria-expanded="false"] .caret-icon {
    transform: rotate(180deg);
}

.filter-section-body {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Custom Checkbox Container */
.custom-checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: 13px;
    user-select: none;
    transition: color 0.2s ease;
}

.custom-checkbox-container:hover {
    color: #ffffff;
}

.custom-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox-checkmark {
    position: absolute;
    top: 1px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #ffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox-container:hover input~.custom-checkbox-checkmark {
    border-color: rgba(158, 119, 241, 0.6);
}

.custom-checkbox-container input:checked~.custom-checkbox-checkmark {
    background-color: #F2C94C;
    border-color: #F2C94C;
}

.custom-checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox-container input:checked~.custom-checkbox-checkmark:after {
    display: block;
}

.custom-checkbox-container .custom-checkbox-checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #080718;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Custom Radio Container */
.custom-radio-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    user-select: none;
    transition: color 0.2s ease;
}

.custom-radio-container:hover {
    color: #ffffff;
}

.custom-radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-radio-checkmark {
    position: absolute;
    top: 1px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-radio-container:hover input~.custom-radio-checkmark {
    border-color: rgba(158, 119, 241, 0.6);
}

.custom-radio-container input:checked~.custom-radio-checkmark {
    border-color: #F2C94C;
}

.custom-radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F2C94C;
}

/* Special styling for Online dot availability checkmark */
.custom-radio-checkmark.online-dot:after {
    background: #0e9f6e !important;
}

.custom-radio-container input:checked~.custom-radio-checkmark:after {
    display: block;
}

/* Show more languages button */
.btn-show-more-langs {
    background: transparent;
    border: none;
    color: #F2C94C;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin-top: 4px;
    outline: none !important;
}

.btn-show-more-langs[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
}

.btn-show-more-langs .chevron-icon {
    font-size: 9px;
    transition: transform 0.2s;
}

/* 3. Header Row (Title, Search & Sort) */
.listing-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.available-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.header-controls-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.search-box-wrapper {
    position: relative;
    width: 240px;
}

.search-box-wrapper .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.search-box-wrapper .search-input {
    width: 100%;
    background: #0E0B2A;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    color: #ffffff;
    padding: 6px 12px 6px 34px;
    font-size: 13px;
    height: 36px;
    transition: all 0.25s ease;
}

.search-box-wrapper .search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-box-wrapper .search-input:focus {
    border-color: #F2C94C;
    box-shadow: 0 0 8px rgba(242, 201, 76, 0.15);
    outline: none;
}

.sort-dropdown-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    white-space: nowrap;
}

.sort-select-custom {
    background: #0E0B2A;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 20px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 30px 6px 14px;
    height: 36px;
    outline: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2C94C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.25s ease;
}

.sort-select-custom:focus,
.sort-select-custom:hover {
    border-color: #F2C94C !important;
    box-shadow: 0 0 8px rgba(242, 201, 76, 0.15);
}

.sort-select-custom option {
    background-color: #0E0B2A;
    color: #ffffff;
}

/* 4. Astrologer Premium Card Grid */
#expert-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

@media (max-width: 1200px) {
    #expert-list {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 991px) {
    #expert-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .header-controls-wrapper {
        width: 100%;
        justify-content: space-between;
    }

    .search-box-wrapper {
        flex-grow: 1;
        width: auto;
    }
}

@media (max-width: 575px) {
    #expert-list {
        grid-template-columns: 1fr !important;
    }
}

/* Card Styling */
.astrologer-premium-card {
    background: #0E0B2A !important;
    border: 1px solid #ffffff !important;
    border-radius: 16px !important;
    padding: 14px 12px 14px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    min-height: auto !important;
    width: 100% !important;
    overflow: visible !important;
    height: 100% !important;
}

.astrologer-premium-card.d-none {
    display: none !important;
}

.astrologer-premium-card:hover {
    border-color: rgba(242, 201, 76, 0.3) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

/* Status Badge - Top Left */
.card-status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.card-status-badge.online {
    background: rgba(14, 159, 110, 0.15);
    color: #0e9f6e;
    border: 1px solid rgba(14, 159, 110, 0.3);
}

.card-status-badge.busy {
    background: rgba(253, 126, 20, 0.15);
    color: #fd7e14;
    border: 1px solid rgba(253, 126, 20, 0.3);
}

.card-status-badge.offline {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Centered Circular Avatar */
.card-avatar-wrapper {
    position: relative;
    width: 84px;
    height: 84px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-avatar-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle, rgba(242, 201, 76, 0.15) 0%, rgba(242, 201, 76, 0) 70%);
    border: 2px solid rgba(242, 201, 76, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    transition: border-color 0.3s;
}

.astrologer-premium-card:hover .card-avatar-circle {
    border-color: #F2C94C;
}

.card-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Purple verified overlay */
.verified-badge-overlay {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: #8b5cf6;
    border: 2px solid #0E0B2A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 9px;
    z-index: 2;
}

/* Astrologer Info */
.card-astro-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    transition: color 0.25s;
}

.astrologer-premium-card:hover .card-astro-name {
    color: #F2C94C;
}

.card-astro-skills {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    line-height: 1.4;
    height: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.card-astro-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.card-astro-rating i {
    color: #F2C94C;
    font-size: 12px;
}

.card-astro-rating .rating-count {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.card-detail-item {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.card-detail-value {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.card-astro-price {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 6px 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.card-astro-price del {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 500;
}

.card-astro-price .free-tag {
    color: #0e9f6e;
    font-size: 11px;
    font-weight: 600;
    background: rgba(14, 159, 110, 0.1);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Stacked Premium buttons */
.card-actions-section {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-talk-now {
    width: 100%;
    background: #F2C94C !important;
    border: none !important;
    color: #080718 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.btn-talk-now:hover {
    background: #ffd863 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(242, 201, 76, 0.25) !important;
}

.btn-premium-disabled {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Premium Modal Styles */
.premium-modal .modal-content {
    background: radial-gradient(circle at 50% 0%, #1a154d 0%, #0d0a2d 100%) !important;
    border: 1px solid rgba(158, 119, 241, 0.25) !important;
    border-radius: 20px !important;
    color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

.premium-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 20px 24px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.premium-modal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.premium-modal .close-modal-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.premium-modal .close-modal-btn:hover {
    background: rgba(235, 87, 87, 0.15);
    border-color: rgba(235, 87, 87, 0.4);
    color: #eb5757;
}

.premium-modal .modal-body {
    padding: 12px 24px !important;
    background: transparent !important;
}

.premium-modal .form-group {
    margin-bottom: 6px !important;
}

.premium-modal .form-group label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.premium-modal .form-control {
    background: #0E0B2A !important;
    border: 1px solid rgba(158, 119, 241, 0.2) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    height: 38px !important;
    font-size: 13px !important;
    transition: all 0.25s ease !important;
}

.premium-modal .form-control:focus {
    border-color: #F2C94C !important;
    box-shadow: 0 0 10px rgba(242, 201, 76, 0.15) !important;
    outline: none !important;
}

.premium-modal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Country dropdown and Select2 custom container */
.premium-modal .country-dropdown-container {
    display: flex;
    align-items: center;
    border: 1px solid rgba(158, 119, 241, 0.2) !important;
    background: #0E0B2A !important;
    border-radius: 8px !important;
    overflow: hidden;
    height: 38px;
}

.premium-modal .country-dropdown-container select.select2,
.premium-modal .country-dropdown-container .select2-container {
    background: transparent !important;
    border: none !important;
}

.premium-modal .select2-container--default .select2-selection--single {
    background-color: #0E0B2A !important;
    border: none !important;
    height: 36px !important;
    display: flex;
    align-items: center;
}

.premium-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
    padding-left: 12px !important;
    font-size: 13px !important;
}

.premium-modal .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

.premium-modal .country-dropdown-container input.mobilenumber {
    background: transparent !important;
    border: none !important;
    border-left: 1px solid rgba(158, 119, 241, 0.2) !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    height: 100% !important;
    padding-left: 12px !important;
    font-size: 13px !important;
}

/* Radio button pills for call duration and modes */
.premium-modal .btn-group-toggle .btn {
    background: rgba(158, 119, 241, 0.08) !important;
    border: 1px solid rgba(158, 119, 241, 0.2) !important;
    color: #a19bf5 !important;
    border-radius: 30px !important;
    padding: 6px 14px !important;
    margin-right: 6px !important;
    margin-bottom: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

.premium-modal .btn-group-toggle .btn:hover {
    border-color: #F2C94C !important;
    color: #F2C94C !important;
}

.premium-modal .btn-group-toggle .btn.active {
    background: #F2C94C !important;
    border-color: #F2C94C !important;
    color: #080718 !important;
    font-weight: 600 !important;
}

.premium-modal .btn-chat {
    background: #F2C94C !important;
    color: #080718 !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.premium-modal .btn-chat:hover {
    background: #ffd863 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(242, 201, 76, 0.2) !important;
}

/* ==========================================
   HIW + TESTIMONIALS — TWO SEPARATE CARDS
   ========================================== */
.hiw-testi-section {
    padding: 32px 0 48px;
}

/* Load More Button */
.btn-load-more-astrologers {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.btn-load-more-astrologers:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-load-more-astrologers:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Two-card row */
.hiw-testi-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* Shared card base */
.hiw-card,
.testi-card {
    background: #100e2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
}

/* Left card — How It Works */
.hiw-card {
    flex: 0 0 48%;
}

/* Right card — Testimonials */
.testi-card {
    flex: 1;
    min-width: 0;
}

/* Card/Section title */
.section-card-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
}

/* ==========================================
   HIW STEPS
   ========================================== */
.hiw-steps-row {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    flex-wrap: nowrap;
    flex: 1;
}

.hiw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.hiw-step-icon-wrap {
    position: relative;
    margin-bottom: 12px;
}

.hiw-step-icon {
    width: 58px;
    height: 58px;
    background: rgba(8, 6, 29, 0.6);
    border: 1px solid rgba(242, 201, 76, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(242, 201, 76, 0.08);
}

.hiw-step-icon:hover {
    border-color: #F2C94C;
    box-shadow: 0 0 15px rgba(242, 201, 76, 0.25);
    transform: translateY(-2px);
}

/* Custom icon colors matching mockup gradients */
.hiw-step:nth-of-type(1) .hiw-step-icon i {
    background: linear-gradient(135deg, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hiw-step:nth-of-type(2) .hiw-step-icon i {
    background: linear-gradient(135deg, #ffe066, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hiw-step:nth-of-type(3) .hiw-step-icon i {
    background: linear-gradient(135deg, #ffe066, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hiw-step:nth-of-type(4) .hiw-step-icon i {
    background: linear-gradient(135deg, #f472b6, #fb7185, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hiw-step-number {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: #F2C94C;
    color: #08061d;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(242, 201, 76, 0.4);
}

.hiw-step-label {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.3;
}

.hiw-step-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

.hiw-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F2C94C;
    font-size: 16px;
    margin-top: 21px;
    flex-shrink: 0;
    padding: 0 2px;
}

.hiw-arrow i {
    font-size: 16px;
    color: #F2C94C;
}

/* ==========================================
   TESTIMONIAL SLIDER
   ========================================== */
.testi-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.testi-slides-viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.testi-slides-track {
    display: flex;
    gap: 12px;
    transition: transform 0.35s ease;
}

.testi-slide {
    flex: 0 0 calc(33.333% - 8px);
    min-width: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(242, 201, 76, 0.4);
    border-radius: 12px;
    padding: 18px 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testi-slide:hover {
    border-color: #F2C94C;
    background: rgba(242, 201, 76, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 201, 76, 0.15);
}

.testi-stars {
    color: #F2C94C;
    font-size: 12px;
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

.testi-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-bottom: 12px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.testi-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.testi-avatar--n {
    background: linear-gradient(135deg, #5d57d9, #9e77f1);
}

.testi-avatar--r {
    background: linear-gradient(135deg, #d97c57, #f1a577);
}

.testi-avatar--p {
    background: linear-gradient(135deg, #57a8d9, #77c6f1);
}

.testi-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.testi-city {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.testi-nav {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.testi-nav:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.testi-dot.active {
    background: #F2C94C;
    width: 20px;
    border-radius: 4px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {
    .hiw-testi-row {
        flex-direction: column;
    }

    .hiw-card {
        flex: none;
    }

    .testi-slide {
        flex: 0 0 calc(50% - 6px);
    }
}

@media (max-width: 575px) {
    .hiw-steps-row {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hiw-arrow {
        display: none;
    }

    .hiw-step {
        flex: 0 0 calc(50% - 8px);
    }

    .testi-slide {
        flex: 0 0 100%;
    }
}

#expert-search {
    scroll-margin-top: 100px;
}