@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Raleway:wght@400;500;600;700;800;900&display=swap');

:root {
    --theme-purple: #f59e0b;
    --theme-purple-dark: #d97706;
    --theme-purple-light: #fef3c7;
    --primary-purple: #f59e0b;
    --accent-gold: #ffca2c;
    --text-dark: #1a1208;
    --text-muted: #666666;
    --white: #ffffff;
    --off-white: #fffdf6;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Overrides to Remove Dark Purple Headers/Banners */
.bg-pink {
    background: linear-gradient(135deg, #fffdf6 0%, #fef3c7 100%) !important;
    color: #1a1208 !important;
}

.astroway-menu.bg-pink {
    background: linear-gradient(135deg, #fffdf6 0%, #fef3c7 100%) !important;
    border-bottom: 1px solid #fde68a !important;
}

.astroway-menu.bg-pink h1,
.astroway-menu.bg-pink h2,
.astroway-menu.bg-pink .cat-heading {
    color: #1a1208 !important;
    font-weight: 800 !important;
}

.kundali-card-header,
.bg-pink.kundali-card-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    color: #92400e !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #f59e0b !important;
}

/* Header Enhancements */
.top-navbar {
    /* background is controlled by scroll logic in header.blade.php */
    border-bottom: none;
    padding: 10px 0;
    min-height: 70px;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.top-navbar.scrolled {
    background: #f2edef;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.astroway-logo-ntext {
    flex-shrink: 0;
}

/* Shift right cluster (buttons, language, sign-in) to the left */
.top-navbar .container>.align-items-center:last-child {
    margin-right: 30px !important;
}

.astroway-logo-text {
    color: #f7f2f4 !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    letter-spacing: -0.5px;
    line-height: 1;
    transition: font-size 0.35s ease, color 0.35s ease !important;
}

/* App Logo - only main logo */
.app-logo-img {
    height: 100px !important;
    width: auto !important;
    transition: height 0.35s ease !important;
}

/* Scrolled state sizing (shrink) */
nav.scrolled .app-logo-img {
    height: 50px !important;
}

nav.scrolled .astroway-logo-text {
    font-size: 20px !important;
}

nav.scrolled .astroway-logo-subtext {
    font-size: 9px !important;
}

/* Logo colors when header is scrolled (solid bg) */
nav.scrolled .astroway-logo-text,
nav.scrolled .astroway-logo-subtext {
    color: #6f42c1 !important;
    transition: color 0.35s ease, font-size 0.35s ease !important;
}

.astroway-logo-subtext {
    color: #f7f2f4 !important;
    font-size: 11px !important;
    transition: font-size 0.35s ease, color 0.35s ease !important;
}

@media (max-width: 1400px) {
    .astroway-logo-text {
        font-size: 18px !important;
    }

    .astroway-logo-subtext {
        font-size: 9px !important;
        letter-spacing: 0.2px;
    }
}

.btn-chat-astro {
    background: var(--white) !important;
    border: 1.5px solid var(--theme-purple) !important;
    color: var(--theme-purple) !important;
    border-radius: 50px !important;
    padding: 8px 16px !important;
    /* Slightly reduced padding */
    font-weight: 600 !important;
    font-size: 13px !important;
    /* Slightly smaller font */
    transition: var(--transition-smooth) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap !important;
    /* Keep text in one line */
    flex-shrink: 0 !important;
    /* Prevent button from squashing */
    width: max-content !important;
}

.btn-chat-astro:hover {
    background: var(--theme-purple) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 42, 94, 0.2);
}

.btn-chat-astro img {
    filter: invert(19%) sepia(35%) saturate(3015%) hue-rotate(238deg) brightness(92%) contrast(89%);
    width: 18px;
}

.btn-chat-astro:hover img {
    filter: invert(100%);
}

/* Login/SignUp Button */
.loginSignUp {
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    margin-left: 5px;
    transition: color 0.35s ease;
    cursor: pointer;
    vertical-align: middle;
    white-space: nowrap !important;
}

.btn.p-0 svg {
    fill: #fff;
    transition: fill 0.35s ease;
    vertical-align: middle;
}

/* Scrolled state for Sign In */
nav.scrolled .loginSignUp {
    color: #6f42c1 !important;
}

nav.scrolled .btn.p-0 svg {
    fill: #6f42c1 !important;
}

/* Main Navigation (Unified) */
.navbar-nav-unified {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
}

.navbar-nav-unified .nav-link {
    color: var(--text-dark) !important;
    font-weight: 700 !important;
    font-size: 16.5px !important;
    padding: 8px 10px !important;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

@media (max-width: 1400px) {
    .navbar-nav-unified .nav-link {
        font-size: 14px !important;
        padding: 6px 8px !important;
        gap: 4px;
    }

    .navbar-nav-unified .nav-link img {
        width: 16px;
        height: 16px;
    }
}

.navbar-nav-unified .nav-link:hover {
    color: var(--theme-purple) !important;
    transform: translateY(-1px);
}

.navbar-nav-unified .nav-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar-nav-unified .nav-link:hover img {
    transform: scale(1.1);
}

.btn-chat-astro {
    background: var(--white) !important;
    border: 1.5px solid var(--theme-purple) !important;
    color: var(--theme-purple) !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    transition: var(--transition-smooth) !important;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

@media (max-width: 1400px) {
    .btn-chat-astro {
        padding: 5px 10px !important;
        font-size: 11px !important;
        gap: 4px;
    }

    .btn-chat-astro img {
        width: 14px;
    }
}

/* Home Page Service Cards */
.service-section {
    background: #f8f9fa;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none !important;
    transition: var(--transition-smooth);
    border: 1px solid #fce4ec;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.05);
    width: 80%;
    aspect-ratio: 1 / 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 64, 129, 0.15);
    /* Stronger pink glow on hover */
    border-color: #f8bbd0;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--theme-purple);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-icon-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
}

.service-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4caf50;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-badge.new {
    background: #ff5722;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .service-card {
        padding: 8px 5px;
        min-height: auto !important;
    }

    .service-title {
        font-size: 11px;
    }

    .service-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .btn-groups {
        display: none !important;
    }
}

/* ── Panchang Banner Typography & Cards ── */
.font-30 {
    font-size: 30px !important;
    font-weight: 800;
}

.font-22 {
    font-size: 22px !important;
    font-weight: 700;
}

.time-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: all 0.3s ease;
    text-align: center;
}

.time-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.panchang-details-list p {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.panchang-details-list strong {
    color: #fed8aa;
    font-weight: 700;
}

.detailed-link {
    background: #fed8aa;
    color: #222 !important;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    padding: 8px 25px !important;
    transition: all 0.3s;
    font-size: 14px;
}

.detailed-link:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 216, 170, 0.4);
}

.ib-panchang-container {
    flex: 0 0 auto;
    width: 400px;
}

@media (max-width: 991px) {
    .ib-panchang-container {
        width: 100%;
        margin-top: 30px;
    }
}

/* ── Exact Framed FAQ Component Design (User Requested) ────────────────── */
.ib-faq-section {
    padding: 60px 0;
    background-color: #fffdf6;
}

.ib-faq-frame-wrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 12px 14px;
    border-radius: 20px;
    background: #ff5722;
    /* Vibrant Saffron-Orange Frame */
    box-shadow: 0 10px 28px rgba(255, 87, 34, 0.2);
}

.ib-faq-main-card {
    background: #ffffff;
    border: 2px solid #1a1208;
    border-radius: 20px;
    padding: 44px 40px 36px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ib-faq-title {
    font-size: 38px;
    font-weight: 900;
    color: #1a1208;
    margin-bottom: 32px;
    letter-spacing: -0.8px;
    text-align: center;
}

.ib-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.ib-faq-item:hover {
    border-color: #ff5722;
}

.ib-faq-btn {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    outline: none !important;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: none !important;
}

.ib-faq-question-text {
    font-size: 15px;
    font-weight: 700;
    color: #1a1208;
    line-height: 1.4;
    padding-right: 15px;
}

.ib-faq-icon {
    font-size: 24px;
    font-weight: 700;
    color: #ff5722;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    flex-shrink: 0;
}

.ib-faq-btn:not(.collapsed) .ib-faq-icon {
    transform: rotate(45deg);
    color: #dc2626;
}

.ib-faq-btn:not(.collapsed) .ib-faq-question-text {
    color: #ff5722;
}

.ib-faq-answer-body {
    padding: 0 22px 22px 22px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #4b5563;
    background: #ffffff;
}

@media (max-width: 767.98px) {
    .ib-faq-frame-wrapper {
        padding: 16px 16px 20px;
        border-radius: 20px;
    }

    .ib-faq-main-card {
        padding: 28px 18px 24px;
        border-radius: 16px;
    }

    .ib-faq-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .ib-faq-question-text {
        font-size: 13.5px;
    }
}

/* ── Modern Notched Ticket-Style Blog Cards (Exact Reference Design) ── */
.ib-notched-blog-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    border-top-right-radius: 42px;
    /* Top-right notched corner */
    padding: 24px 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    text-decoration: none !important;
}

.ib-notched-blog-card:hover {
    transform: translateY(-6px);
    border-color: #ff5722;
    box-shadow: 0 16px 32px rgba(255, 87, 34, 0.12);
}

.ib-notched-card-top {
    margin-bottom: 16px;
}

.ib-notched-date {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ib-notched-badge {
    display: inline-block;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    color: #475569;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.ib-notched-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 46px;
}

.ib-notched-readmore {
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.ib-notched-blog-card:hover .ib-notched-readmore {
    color: #ff5722;
}

.ib-notched-img-wrapper {
    position: relative;
    width: 100%;
    height: 175px;
    border-radius: 12px;
    border-bottom-left-radius: 36px;
    /* Bottom-left notched corner */
    overflow: hidden;
    margin-top: auto;
}

.ib-notched-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ib-notched-blog-card:hover .ib-notched-img {
    transform: scale(1.05);
}

/* ── Blog Section Header Layout Fix ── */
.ib-blog-section {
    padding: 75px 0 50px !important;
    background-color: #fffdf6 !important;
    position: relative;
    clear: both;
    margin-top: 0 !important;
}

.ib-blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-top: 15px;
}

.ib-blog-title {
    font-size: 28px;
    font-weight: 900;
    color: #1a1208;
    margin: 0;
}

.ib-blog-view-all {
    border: 1.5px solid #1a1208;
    color: #1a1208 !important;
    padding: 6px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none !important;
    background: #ffffff;
}

.ib-blog-view-all:hover {
    background: #ff5722;
    color: #fff !important;
    border-color: #ff5722;
}

/* ── Stories / Testimonials Section (Exact User Reference Design) ── */
.ib-stories-section {
    background-color: #fffdf6 !important;
    padding: 70px 0 60px !important;
    position: relative;
}

.ib-stories-subtitle {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #64748b;
    text-transform: uppercase;
    display: block;
}

.ib-stories-title {
    font-size: 36px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0;
}

.ib-story-card {
    background: #ffffff;
    border: 1.5px solid #f1f5f9;
    border-radius: 20px;
    padding: 24px 22px 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    margin: 10px 5px 25px;
    transition: all 0.3s ease;
}

.ib-story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.ib-story-user-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.ib-story-avatar-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ib-story-avatar-img {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.ib-story-user-details {
    display: flex;
    flex-direction: column;
}

.ib-story-user-name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.ib-story-user-location {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    margin-bottom: 4px;
}

.ib-story-stars {
    color: #f59e0b;
    font-size: 11px;
    display: flex;
    gap: 2px;
}

.ib-story-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ib-stories-carousel .owl-dots {
    margin-top: 20px;
}

.ib-stories-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #cbd5e1 !important;
    transition: all 0.3s;
}

.ib-stories-carousel .owl-dot.active span {
    width: 28px;
    background: #ff5722 !important;
    border-radius: 10px;
}

.ib-notched-blog-card:hover .ib-notched-img {
    transform: scale(1.05);
}

/* ── Exact Reference Service Cards Design (Warm Theme + Dashed Border) ── */
.service-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

@media (max-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .ib-services {
        padding: 10px 0 15px !important;
    }

    .ib-services .service-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 14px !important;
        padding: 8px 16px 16px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .ib-services .service-grid::-webkit-scrollbar {
        display: none !important;
    }

    .ib-services .service-card {
        min-width: 120px !important;
        max-width: 120px !important;
        width: 120px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
        padding: 16px 8px 14px !important;
        min-height: 145px !important;
    }

    .ib-services .service-icon-wrapper {
        width: 52px !important;
        height: 52px !important;
        padding: 8px !important;
    }

    .ib-services .service-icon-wrapper img {
        max-width: 32px !important;
        max-height: 32px !important;
        width: 32px !important;
        height: 32px !important;
    }

    .ib-services .service-sub {
        font-size: 12px !important;
    }

    .ib-services .service-title {
        font-size: 14px !important;
    }
}


.service-card {
    background-color: #ffffff !important;
    background-image: linear-gradient(180deg, #ffffff 0%, #fff3ea 100%) !important; /* Light White to Soft Light Orange */
    border: 2px dashed #ff5722 !important; /* Vibrant Visible Dashed Orange Border */
    border-radius: 20px !important;
    padding: 24px 12px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.08) !important;
    position: relative !important;
    height: 100% !important;
    min-height: 165px !important;
}

.service-card:hover {
    transform: none !important;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.08) !important;
    border-color: #ff5722 !important;
}

.service-icon-wrapper {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #ffe3d1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.15) !important;
    z-index: 2 !important;
}

.service-card:hover .service-icon-wrapper {
    transform: none !important;
}

.service-icon-wrapper img {
    max-width: 38px !important;
    max-height: 38px !important;
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
}

.service-text-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    z-index: 2 !important;
}

.service-sub {
    font-size: 14px !important;
    font-style: italic !important;
    font-weight: 600 !important;
    color: #e64a19 !important;
    line-height: 1.1 !important;
}

.service-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 2px 0 0 !important;
    line-height: 1.2 !important;
}

.service-badge {
    position: absolute !important;
    top: -8px !important;
    right: 12px !important;
    background: #ff5722 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3) !important;
    z-index: 3 !important;
}

/* ── Reference Astrologer Cards Design (Image 1 Color Palette & Layout) ── */
.astroway-astrologers {
    background-color: #fffdf6 !important; /* Warm Cream Section Background */
}

.ib-astro-card {
    background: #ffffff !important;
    border: 1.5px solid #f1f5f9 !important;
    border-radius: 20px !important;
    padding: 18px 16px 16px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    min-height: 240px !important;
    text-align: left !important;
}

.ib-astro-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: #e2e8f0 !important;
}

.ib-astro-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.ib-astro-avatar-wrapper {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 60px !important;
}

.ib-astro-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2.5px solid #10b981 !important; /* Green Circle Border as in Image 1 */
    padding: 2px !important;
    background: #ffffff !important;
}

.ib-avatar-online-dot {
    width: 12px !important;
    height: 12px !important;
    background: #10b981 !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    position: absolute !important;
    bottom: 2px !important;
    right: 2px !important;
}

.ib-astro-header-info {
    flex-grow: 1 !important;
    overflow: hidden !important;
}

.ib-astro-name {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.ib-verified-icon {
    color: #10b981 !important; /* Green Checkmark */
    font-size: 14px !important;
}

.ib-tag-badge {
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 3px 7px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    flex-shrink: 0 !important;
}

.ib-tag-badge.celebrity {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

.ib-tag-badge.rising {
    background: #fef3c7 !important;
    color: #d97706 !important;
}

.ib-astro-exp-snippet {
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.ib-astro-skills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 2px !important;
}

.ib-skill-pill {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50px !important;
    padding: 2px 10px !important;
    font-size: 12px !important;
    color: #475569 !important;
    font-weight: 600 !important;
}

.ib-astro-meta-line {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    font-size: 13px !important;
}

.ib-astro-lang {
    color: #64748b !important;
}

.ib-astro-exp-bold {
    font-weight: 700 !important;
    color: #334155 !important;
}

.ib-astro-rating-status {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13px !important;
    margin-top: 2px !important;
}

.ib-rating-text {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.ib-rating-num {
    font-weight: 800 !important;
    color: #0f172a !important;
}

.ib-orders-count {
    color: #94a3b8 !important;
    font-size: 12px !important;
}

.ib-status-online {
    color: #10b981 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

.ib-status-offline {
    color: #94a3b8 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

.ib-astro-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 10px !important;
    margin-top: auto !important;
    border-top: 1px solid #f8fafc !important;
}

.ib-price-main {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
}

.ib-astro-card {
    font-family: 'Raleway', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}

.ib-astro-card p,
.ib-astro-card span,
.ib-astro-card a,
.ib-astro-card h5,
.ib-astro-card div {
    font-family: 'Raleway', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}

.ib-action-btn-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.ib-btn-astro-chat,
.ib-btn-astro-call {
    font-family: 'Raleway', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

.ib-btn-astro-chat {
    background: #ff5722 !important;
    color: #ffffff !important;
    border: 1px solid #ff5722 !important;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.25) !important;
}

.ib-btn-astro-chat:hover {
    background: #e64a19 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.ib-btn-astro-call {
    background: #ffffff !important;
    color: #ff5722 !important;
    border: 1.5px solid #ff5722 !important;
}

.ib-btn-astro-call:hover {
    background: #fff4ec !important;
    color: #e64a19 !important;
    transform: translateY(-2px) !important;
}

.ib-btn-astro-offline {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    background: #f1f5f9 !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
}

/* ──────────────────────────────────────────────────────────
   LISTING PAGES (Talk to / Chat with Astrologers) REDESIGN
   ────────────────────────────────────────────────────────── */

/* 1. Filter & Search Header Bar */
.call-list-page .expert-search-form,
.talk-top-bar,
.chat-search-form {
    background: linear-gradient(135deg, #fffdf6 0%, #fff3ea 100%) !important;
    border: 2px dashed #ff5722 !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.08) !important;
}

.call-list-page .expert-search-form h1,
.call-list-page .expert-search-form label,
.talk-top-bar h1,
.talk-top-bar label {
    color: #1a1208 !important;
    font-weight: 800 !important;
    font-family: 'Raleway', 'Plus Jakarta Sans', sans-serif !important;
}

.call-list-page .expert-search-form .form-control,
.call-list-page .expert-search-form select,
.talk-top-bar .form-control,
.talk-top-bar select {
    border-radius: 12px !important;
    border: 1.5px solid #fcd34d !important;
    background: #ffffff !important;
    color: #1a1208 !important;
    font-weight: 600 !important;
}

.call-list-page .expert-search-form .search-box .search-btn,
.talk-top-bar .search-btn {
    background: #ff5722 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

.call-list-page .expert-search-form .btn-secondary,
.call-list-page .expert-search-form button#reset,
.talk-top-bar #reset {
    background: #ff5722 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}

/* 2. Astrologer Card Design (Homepage Theme Match) */
.call-list-page .call-astrologer-card,
.astrologer-card {
    background: #ffffff !important;
    border: 1.5px solid #f1f5f9 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: 'Raleway', 'Plus Jakarta Sans', sans-serif !important;
}

.call-list-page .call-astrologer-card:hover,
.astrologer-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 30px rgba(255, 87, 34, 0.12) !important;
    border-color: rgba(255, 87, 34, 0.3) !important;
}

.call-list-page .call-card-avatar img,
.astrologer-card .avatar img {
    border: 2.5px solid #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
    border-radius: 50% !important;
}

.call-list-page .call-card-title,
.astrologer-card .title {
    font-family: 'Raleway', 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    color: #0f172a !important;
}

.call-list-page .call-card-price,
.call-list-page .exprt-price {
    color: #0f172a !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    font-family: 'Raleway', 'Plus Jakarta Sans', sans-serif !important;
}

.call-list-page .free-badge {
    color: #ff5722 !important;
    font-weight: 800 !important;
}

/* Action Buttons (Voice Call, Video Call, Chat) Alignment & Styling */
.call-list-page .call-card-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
}

.call-list-page .call-card-actions .btn,
.call-list-page .call-card-actions a.btn,
.call-list-page .call-card-actions button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    padding: 0 16px !important;
    font-family: 'Raleway', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    width: auto !important;
    margin: 0 !important;
    line-height: normal !important;
}

/* Voice Call & Chat Buttons (Primary Orange Accent) */
.call-list-page .call-card-actions .btn-audio-call,
.call-list-page .call-card-actions a.btn[data-target="#intake"],
.call-list-page .call-card-actions a.btn[data-target="#callintake"],
.call-list-page .call-card-actions a.btn:not(.disabled):not(:disabled):last-child {
    background: #ff5722 !important;
    color: #ffffff !important;
    border: 1px solid #ff5722 !important;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.25) !important;
}

.call-list-page .call-card-actions .btn-audio-call:hover,
.call-list-page .call-card-actions a.btn[data-target="#intake"]:hover,
.call-list-page .call-card-actions a.btn[data-target="#callintake"]:hover,
.call-list-page .call-card-actions a.btn:not(.disabled):not(:disabled):last-child:hover {
    background: #e64a19 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Secondary Video Call Button */
.call-list-page .call-card-actions .btn-video-call {
    background: #ffffff !important;
    color: #ff5722 !important;
    border: 1.5px solid #ff5722 !important;
    box-shadow: none !important;
}

.call-list-page .call-card-actions .btn-video-call:hover {
    background: #fff4ec !important;
    color: #e64a19 !important;
    transform: translateY(-2px) !important;
}

/* Disabled / Offline Action Buttons */
.call-list-page .call-card-actions .btn.disabled,
.call-list-page .call-card-actions .btn:disabled,
.call-list-page .call-card-actions button.disabled {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

/* 3. Intake Modals (#intake, #callintake) Theme Redesign */
#intake.modal .modal-header,
#callintake.modal .modal-header,
.call-list-page #callintake .modal-header {
    background: linear-gradient(135deg, #ff5722 0%, #d97706 100%) !important;
    border-bottom: none !important;
}

#intake.modal .modal-title,
#callintake.modal .modal-title,
.call-list-page #callintake .modal-title {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-family: 'Raleway', 'Plus Jakarta Sans', sans-serif !important;
}

#intake.modal #intakeBtn,
#intake.modal #startchat,
#intake.modal button[type="submit"],
#callintake.modal #callintakeBtn,
.call-list-page #callintake #callintakeBtn,
.call-list-page #callintake #callloaderintakeBtn {
    background: linear-gradient(135deg, #ff5722 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.35) !important;
    border-radius: 16px !important;
    font-weight: 800 !important;
    font-family: 'Raleway', 'Plus Jakarta Sans', sans-serif !important;
    transition: all 0.3s ease !important;
}

#intake.modal #intakeBtn:hover,
#intake.modal #startchat:hover,
#intake.modal button[type="submit"]:hover,
#callintake.modal #callintakeBtn:hover,
.call-list-page #callintake #callintakeBtn:hover,
.call-list-page #callintake #callloaderintakeBtn:hover {
    background: linear-gradient(135deg, #e64a19 0%, #b45309 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 25px rgba(255, 87, 34, 0.45) !important;
}

#intake.modal .form-control:focus,
#callintake.modal .form-control:focus,
.call-list-page #callintake .form-control:focus {
    border-color: #ff5722 !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15) !important;
}