:root {
    --brand-red: #c0392b;
    --brand-red-dark: #a5281c;
    --brand-cream: #fdf1de;
    --brand-cream-dark: #f7e2c0;
    --brand-dark: #2b1810;
    --brand-footer: #3d0f0a;
    --text-muted: #6b5f57;
    --shadow-sm: 0 4px 14px rgba(120, 60, 20, 0.08);
    --shadow-md: 0 12px 28px rgba(120, 60, 20, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #3a2e28;
    background-color: #fffaf3;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
}

a {
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    font-weight: 500;
    border-radius: 30px;
    padding: 10px 22px;
    transition: all 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-danger {
    box-shadow: 0 8px 20px rgba(192, 57, 43, 0.25);
}

.btn-danger:hover {
    box-shadow: 0 10px 24px rgba(192, 57, 43, 0.35);
}

.section-heading h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
}

/* ===== User authentication ===== */
.auth-page {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    padding: 56px 0;
    background: linear-gradient(135deg, #fffaf3 0%, #fdf1de 100%);
}

.auth-card {
    max-width: 460px;
    margin: 0 auto;
    padding: 36px;
    background: #fff;
    border: 1px solid #f0dfc5;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.auth-card-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-cream);
    color: var(--brand-red);
    font-size: 1.6rem;
}

.auth-card .form-control {
    padding: 11px 14px;
    border-color: #eadbc5;
    border-radius: 8px;
}

.auth-card .form-control:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.12);
}

.user-menu-btn {
    color: var(--brand-dark);
    border: 1px solid #eadbc5;
    border-radius: 30px;
}

.user-menu-btn:hover,
.user-menu-btn:focus {
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.user-login-btn {
    margin-left: 10px;
}

/* ===== User dashboard ===== */
.user-dashboard {
    background: #fffaf3;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.dashboard-sidebar {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    padding: 18px 12px;
    background: #fff;
    border: 1px solid #f0dfc5;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.dashboard-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f4e9d8;
}

.dashboard-sidebar-avatar {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--brand-cream);
    color: var(--brand-red);
    font-size: 1.1rem;
}

.dashboard-sidebar-profile strong,
.dashboard-sidebar-profile small {
    display: block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-sidebar-profile strong {
    color: var(--brand-dark);
    font-size: 0.86rem;
}

.dashboard-sidebar-profile small {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.68rem;
}

.dashboard-sidebar-nav {
    display: grid;
    gap: 4px;
}

.dashboard-sidebar-nav a,
.dashboard-sidebar-logout button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    text-align: left;
}

.dashboard-sidebar-nav a:hover,
.dashboard-sidebar-nav a.active {
    background: var(--brand-cream);
    color: var(--brand-red);
}

.dashboard-sidebar-nav i,
.dashboard-sidebar-logout i {
    width: 18px;
    color: currentColor;
    font-size: 1rem;
    text-align: center;
}

.dashboard-sidebar-nav span {
    min-width: 20px;
    margin-left: auto;
    padding: 2px 6px;
    border-radius: 20px;
    background: #f8e8d0;
    color: var(--brand-red);
    font-size: 0.68rem;
    text-align: center;
}

.dashboard-sidebar-logout {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f4e9d8;
}

.dashboard-sidebar-logout button {
    cursor: pointer;
}

.dashboard-sidebar-logout button:hover {
    background: #fdebea;
    color: var(--brand-red);
}

.dashboard-main-content {
    min-width: 0;
    width: 100%;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 32px;
    background: linear-gradient(120deg, #fff 0%, var(--brand-cream) 100%);
    border: 1px solid #f0dfc5;
    border-radius: 14px;
}

.dashboard-welcome h2 {
    font-size: 1.8rem;
}

.dashboard-welcome-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    font-size: 1.7rem;
}

.dashboard-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 13px;
    align-items: center;
    padding: 18px;
    background: #fff;
    border: 1px solid #f0dfc5;
    border-radius: 12px;
}

.dashboard-stat i {
    grid-row: span 2;
    color: var(--brand-red);
    font-size: 1.5rem;
}

.dashboard-stat strong {
    color: var(--brand-dark);
    font-size: 1.35rem;
    line-height: 1;
}

.dashboard-stat span {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.dashboard-prediction-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: var(--brand-dark);
    background: #fff;
    border: 1px solid #f0dfc5;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-prediction-card:hover {
    color: var(--brand-dark);
    border-color: var(--brand-red);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.dashboard-prediction-card strong,
.dashboard-prediction-card small {
    display: block;
}

.dashboard-prediction-card small {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.35;
}

.dashboard-prediction-icon,
.dashboard-request-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--brand-cream);
    color: var(--brand-red);
    font-size: 1.15rem;
}

.dashboard-requests {
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0dfc5;
    border-radius: 12px;
}

.dashboard-request-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #f4e9d8;
}

.dashboard-request-row:last-child {
    border-bottom: 0;
}

.dashboard-request-info strong,
.dashboard-request-info small {
    display: block;
}

.dashboard-request-info small {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.request-status {
    margin-left: auto;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.request-view-link {
    margin-left: 10px;
    color: var(--brand-red);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.request-view-link:hover {
    color: var(--brand-red-dark);
}

.request-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
}

.request-detail-card,
.request-detail-help {
    background: #fff;
    border: 1px solid #f0dfc5;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.request-detail-card {
    padding: 30px;
}

.request-detail-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f4e9d8;
}

.request-detail-heading h2 {
    margin: 2px 0;
    font-size: 1.55rem;
}

.request-detail-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.request-status-panel {
    margin: 22px 0;
    padding: 16px;
    border-radius: 10px;
}

.request-status-panel p {
    margin: 9px 0 0;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.status-panel-pending { background: #fff8e9; }
.status-panel-in_review { background: #eef6ff; }
.status-panel-completed { background: #edf9f1; }

.request-detail-section {
    padding: 20px 0;
    border-bottom: 1px solid #f4e9d8;
}

.request-detail-section h5 {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.request-detail-section h5 i {
    color: var(--brand-red);
}

.request-detail-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.request-detail-fields div {
    padding: 12px;
    background: #fffaf3;
    border-radius: 8px;
}

.request-detail-fields span,
.request-detail-fields strong {
    display: block;
}

.request-detail-fields span {
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: capitalize;
}

.request-detail-fields strong {
    color: var(--brand-dark);
    font-size: 0.86rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.response-copy {
    white-space: pre-line;
    color: var(--brand-dark);
    line-height: 1.8;
}

.response-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.response-empty i {
    color: var(--brand-red);
    font-size: 1.2rem;
}

.request-detail-help {
    padding: 24px;
    background: linear-gradient(135deg, #fff 0%, var(--brand-cream) 100%);
    text-align: center;
}

.request-detail-help > i {
    display: block;
    margin-bottom: 12px;
    color: var(--brand-red);
    font-size: 2rem;
}

.request-detail-help p {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.status-pending { background: #fff2d9; color: #946200; }
.status-in_review { background: #e7f1ff; color: #24609b; }
.status-completed { background: #e4f6eb; color: #267344; }

.dashboard-empty {
    padding: 42px 20px;
    text-align: center;
}

.dashboard-empty > i {
    display: block;
    margin-bottom: 10px;
    color: var(--brand-red);
    font-size: 2rem;
}

@media (max-width: 991.98px) {
    .dashboard-shell {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        width: 100%;
        min-width: 0;
    }

    .dashboard-sidebar {
        position: static;
        min-height: auto;
        padding: 10px;
        width: 100%;
    }

    .dashboard-sidebar-profile {
        display: none;
    }

    .dashboard-sidebar-nav {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: thin;
    }

    .dashboard-sidebar-nav a {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
    }

    .dashboard-sidebar-logout {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .dashboard-main-content {
        overflow: hidden;
        max-width: 100%;
    }

    .dashboard-main-content > .row {
        margin-left: 0;
        margin-right: 0;
    }

    .dashboard-main-content > .row > * {
        max-width: 100%;
    }

    .user-login-btn,
    .user-menu {
        margin: 10px 0 0;
    }

    .dashboard-welcome {
        padding: 22px;
    }

    .request-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .dashboard-welcome h2 {
        font-size: 1.45rem;
    }

    .dashboard-welcome-icon {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }

    .request-status {
        margin-left: 54px;
    }

    .request-view-link {
        margin-left: 54px;
    }

    .request-detail-card {
        padding: 20px;
    }

    .request-detail-fields {
        grid-template-columns: 1fr;
    }
}

/* ===== Topbar ===== */
.topbar {
    background-color: #f7e9d3;
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px solid #eddcb8;
}

.topbar a {
    color: #5a4632;
    margin-right: 18px;
}

.topbar a:hover {
    color: var(--brand-red);
}

.topbar .btn-talk {
    background-color: var(--brand-red);
    color: #fff !important;
    padding: 5px 16px;
    border-radius: 30px;
    margin-right: 0;
}

.topbar .btn-talk:hover {
    background-color: var(--brand-red-dark);
}

/* ===== Navbar ===== */
.main-navbar {
    background-color: #fffdf9;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.25s ease, padding 0.25s ease;
    z-index: 1030;
}

.main-navbar.is-scrolled {
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    font-size: 2rem;
    color: var(--brand-red);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--brand-red);
    line-height: 1.1;
}

.brand-text small {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
}

.main-navbar .nav-link {
    color: #3a2e28;
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: 30px;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--brand-red);
}

.main-navbar .dropdown-menu {
    border: 1px solid #f1e5cd;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    margin-top: 8px;
}

.main-navbar .dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.92rem;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
    background-color: var(--brand-cream);
    color: var(--brand-red);
}

.search-btn {
    border: 1px solid #e5d5b8;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--brand-red);
    margin-left: 10px;
    transition: all 0.2s ease;
}

.search-btn:hover {
    background-color: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
}

/* ===== Hero ===== */
.hero-section {
    background: linear-gradient(135deg, var(--brand-cream) 0%, var(--brand-cream-dark) 100%);
    padding: 60px 0;
    overflow: hidden;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--brand-red);
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.hero-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(120, 60, 20, 0.12);
    max-width: 520px;
}

.hero-tabs .nav-link {
    color: var(--brand-dark);
    font-weight: 500;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.9rem;
}

.hero-tabs .nav-link.active {
    background-color: var(--brand-red);
    color: #fff;
}

.hero-form-card .form-control {
    background-color: #faf6ee;
    border: 1px solid #e9dcc4;
}

.hero-image-wrap {
    position: relative;
}

.zodiac-wheel {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 0 auto 30px;
}

.zodiac-wheel-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(var(--brand-cream-dark) 0deg 30deg, #fff 30deg 60deg);
    border: 6px solid #fff;
    box-shadow: 0 20px 45px rgba(120, 60, 20, 0.18);
    animation: spin 40s linear infinite;
}

.zodiac-wheel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    margin: -23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-red);
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: rotate(calc(var(--i) * 30deg)) translate(148px) rotate(calc(var(--i) * -30deg));
    animation: unspin 40s linear infinite;
}

.zodiac-wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 130px;
    margin: -65px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 15px 30px rgba(192, 57, 43, 0.35);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes unspin {
    from { transform: rotate(calc(var(--i) * 30deg)) translate(148px) rotate(calc(var(--i) * -30deg)); }
    to { transform: rotate(calc(var(--i) * 30deg + 360deg)) translate(148px) rotate(calc(var(--i) * -30deg - 360deg)); }
}

.hero-caption {
    margin-top: 14px;
    color: var(--brand-red-dark);
    font-weight: 600;
}

.hero-caption span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ===== Quick Services Row ===== */
.quick-services {
    background: #fff;
    padding: 36px 0;
    border-bottom: 1px solid #f2e7d3;
}

.quick-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--brand-dark);
}

.quick-service-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-cream);
    color: var(--brand-red);
    font-size: 1.5rem;
    transition: all 0.25s ease;
}

.quick-service-item:hover .quick-service-icon {
    background-color: var(--brand-red);
    color: #fff;
    transform: translateY(-4px);
}

.quick-service-title {
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== Career Banner ===== */
.career-banner {
    padding: 30px 0;
}

.career-banner-inner {
    background: linear-gradient(120deg, #fbe6c4, #f6d29a);
    border-radius: 20px;
    padding: 30px 40px;
}

.career-icon i,
.career-person i {
    font-size: 3.5rem;
    color: var(--brand-red);
    opacity: 0.85;
}

.career-text h3 {
    color: var(--brand-red);
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.career-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    margin: 10px 0 0;
}

.career-points li {
    font-size: 0.85rem;
    color: var(--brand-dark);
}

.career-points i {
    color: var(--brand-red);
    font-size: 0.6rem;
    margin-right: 4px;
}

/* ===== Generic Section ===== */
.section-block {
    padding: 60px 0;
}

.bg-light-alt {
    background-color: #fdf6ea;
}

.section-heading h2 {
    font-weight: 700;
}

.section-heading p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===== Consultation banners ===== */
.consultation-banner {
    padding: 10px 0 48px;
}

.consultation-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    padding: 28px 34px;
    border-radius: 18px;
    background: linear-gradient(115deg, #2b1810 0%, #512116 62%, #7b3022 100%);
    box-shadow: 0 16px 32px rgba(43, 24, 16, 0.16);
}

.consultation-banner-inner::after {
    content: '\2605';
    position: absolute;
    right: 30px;
    top: -28px;
    color: rgba(255, 231, 194, 0.12);
    font-family: Georgia, serif;
    font-size: 9rem;
    line-height: 1;
    pointer-events: none;
}

.consultation-banner-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: #ffd18d;
    font-size: 1.5rem;
}

.consultation-banner-copy {
    position: relative;
    z-index: 1;
    flex: 1;
}

.consultation-banner-copy > span {
    color: #f2b872;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.consultation-banner-copy h2 {
    margin: 4px 0 5px;
    color: #fff;
    font-size: 1.45rem;
}

.consultation-banner-copy p {
    max-width: 650px;
    margin: 0;
    color: #e7cfc0;
    font-size: 0.86rem;
}

.consultation-banner-action {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    white-space: nowrap;
}

.consultation-banner-media {
    position: relative;
    z-index: 1;
    width: 116px;
    height: 82px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.24);
    border-radius: 12px;
    order: 3;
}

.consultation-banner-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.admin-banner-preview {
    display: block;
    width: 180px;
    height: 90px;
    object-fit: cover;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
}

.btn-outline-danger {
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.btn-outline-danger:hover {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
}

.btn-danger {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
}

.btn-danger:hover {
    background-color: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
}

/* ===== Service Cards ===== */
.service-card {
    background: #fff;
    border: 1px solid #f1e5cd;
    border-radius: 14px;
    padding: 26px 18px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.service-card:hover {
    box-shadow: 0 12px 25px rgba(192, 57, 43, 0.12);
    transform: translateY(-5px);
    border-color: var(--brand-red);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--brand-cream);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-card h6 {
    font-weight: 600;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===== Astrologer Banner ===== */
.astrologer-banner {
    background: linear-gradient(120deg, #241209, #3a1c0f);
    color: #f5e9d8;
    padding: 60px 0;
    margin: 20px 0;
}

.astrologer-banner h3 {
    color: #fff;
    font-size: 2rem;
}

.astrologer-banner p {
    color: #d9c6b0;
    margin-bottom: 20px;
}

.astrologer-contact-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.astrologer-contact-list li {
    background: rgba(255,255,255,0.08);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 500;
}

.astrologer-contact-list i {
    margin-right: 8px;
    color: #f0a75b;
}

/* ===== Tools ===== */
.tool-card {
    display: block;
    background: #fff;
    border: 1px solid #f1e5cd;
    border-radius: 14px;
    padding: 22px 14px;
    text-align: center;
    color: var(--brand-dark);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-red);
    box-shadow: 0 12px 25px rgba(192, 57, 43, 0.1);
}

.tool-card-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--brand-cream);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.tool-card h6 {
    font-weight: 600;
    margin-bottom: 4px;
}

.tool-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===== Zodiac ===== */
.zodiac-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--brand-dark);
    padding: 18px 8px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f1e5cd;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.zodiac-card:hover {
    background: var(--brand-red);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.zodiac-card:hover .zodiac-icon {
    background: #fff;
    color: var(--brand-red);
}

.zodiac-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-cream);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.zodiac-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.zodiac-hindi {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ===== Articles ===== */
.article-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #f1e5cd;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(192, 57, 43, 0.1);
}

.article-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--brand-cream), var(--brand-cream-dark));
    color: var(--brand-red);
    font-size: 3rem;
}

.article-body {
    padding: 20px;
}

.article-body h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.article-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.read-more {
    color: var(--brand-red);
    font-weight: 600;
    font-size: 0.85rem;
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f1e5cd;
    padding: 26px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 12px;
    font-size: 1.2rem;
}

.testimonial-card h6 {
    margin-bottom: 2px;
}

.testimonial-city {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: #f0a75b;
    margin: 10px 0;
    font-size: 0.85rem;
}

.testimonial-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #e5d5b8;
}

.carousel-dots button.active {
    background: var(--brand-red);
}

/* ===== Newsletter ===== */
.newsletter-section {
    padding: 10px 0 40px;
}

.newsletter-box {
    background: linear-gradient(120deg, #fbe6c4, #f6d29a);
    border-radius: 20px;
    padding: 30px 40px;
}

.newsletter-text i {
    font-size: 2.5rem;
    color: var(--brand-red);
}

.newsletter-form {
    min-width: 320px;
}

.newsletter-form .form-control {
    border: 1px solid #e9c98f;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--brand-footer);
    color: #e8d8c8;
    padding: 60px 0 20px;
    overflow: hidden;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.site-footer h5 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-links li i {
    margin-right: 6px;
    color: #e9a05b;
}

.footer-links a {
    color: #d9c3ae;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    background: var(--brand-red);
}

.site-footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0 16px;
}

.footer-bottom {
    font-size: 0.85rem;
    color: #c7ab90;
}

/* ===== Responsive: Tablet (<=991.98px) ===== */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-form-card {
        max-width: 100%;
        margin: 0 auto;
    }
    .career-banner-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .career-points {
        justify-content: center;
    }
    .astrologer-banner {
        text-align: center;
    }
    .astrologer-contact-list {
        justify-content: center;
    }
    .section-block {
        padding: 48px 0;
    }
    .section-heading {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }
}

/* ===== Responsive: Mobile (<=767.98px) ===== */
@media (max-width: 767.98px) {
    .topbar {
        display: none !important;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-form-card {
        padding: 18px;
    }
    .zodiac-wheel {
        width: 240px;
        height: 240px;
    }
    .zodiac-wheel-item {
        transform: rotate(calc(var(--i) * 30deg)) translate(104px) rotate(calc(var(--i) * -30deg));
        width: 36px;
        height: 36px;
        margin: -18px;
        font-size: 0.9rem;
    }
    .zodiac-wheel-center {
        width: 90px;
        height: 90px;
        margin: -45px;
        font-size: 2rem;
    }
    .career-banner-inner {
        padding: 24px;
    }
    .main-navbar .navbar-collapse {
        background: #fff;
        border-radius: 14px;
        box-shadow: var(--shadow-md);
        padding: 16px;
        margin-top: 12px;
    }
    .main-navbar .navbar-nav {
        width: 100%;
    }
    .main-navbar .nav-item {
        border-bottom: 1px solid #f5ead4;
    }
    .main-navbar .nav-item:last-child {
        border-bottom: none;
    }
    .search-btn {
        margin: 12px 0 0;
    }
    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .newsletter-form {
        min-width: 100%;
        width: 100%;
    }
    .detail-hero {
        flex-direction: column;
        text-align: center;
    }
    .detail-body {
        padding: 22px;
    }
    .footer-social {
        justify-content: center;
    }
    .site-footer .col-lg-4 {
        text-align: center;
    }
}

/* ===== Responsive: Small Mobile (<=575.98px) ===== */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.65rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-block {
        padding: 36px 0;
    }
    .page-header {
        padding: 36px 0 22px;
    }
    .page-header h1 {
        font-size: 1.6rem;
    }
    .quick-service-title {
        font-size: 0.72rem;
    }
    .quick-service-icon {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }
    .zodiac-wheel {
        width: 190px;
        height: 190px;
    }
    .zodiac-wheel-item {
        transform: rotate(calc(var(--i) * 30deg)) translate(80px) rotate(calc(var(--i) * -30deg));
        width: 30px;
        height: 30px;
        margin: -15px;
        font-size: 0.75rem;
    }
    .zodiac-wheel-center {
        width: 72px;
        height: 72px;
        margin: -36px;
        font-size: 1.6rem;
    }
    .btn {
        padding: 9px 18px;
        font-size: 0.92rem;
    }
    .detail-body {
        padding: 18px;
    }
    .service-card, .tool-card {
        padding: 18px 10px;
    }
}

/* ===== Responsive polish and accessible interaction states ===== */
:focus-visible {
    outline: 3px solid rgba(192, 57, 43, 0.45);
    outline-offset: 3px;
}

.main-navbar .navbar-toggler {
    border-color: #eadbc5;
    color: var(--brand-red);
    padding: 7px 10px;
}

.main-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.15);
}

.article-body {
    display: flex;
    flex-direction: column;
    min-height: 210px;
}

.article-body p {
    flex: 1;
}

.newsletter-form {
    min-width: 0;
    flex: 1 1 360px;
    max-width: 460px;
}

.newsletter-form .form-control {
    min-width: 0;
}

.hero-form-card .form-label {
    color: var(--text-muted);
    font-weight: 600;
}

.detail-body .form-label {
    color: var(--brand-dark);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .main-navbar .navbar-brand {
        min-width: 0;
    }

    .main-navbar .navbar-collapse {
        background: #fff;
        border: 1px solid #f1e5cd;
        border-radius: 14px;
        box-shadow: var(--shadow-md);
        padding: 14px;
        margin-top: 12px;
    }

    .main-navbar .navbar-nav {
        width: 100%;
    }

    .main-navbar .nav-link {
        padding: 10px 12px !important;
    }

    .main-navbar .dropdown-menu {
        border: 0;
        box-shadow: none;
        margin-top: 0;
        padding: 4px 0 4px 12px;
    }

    .user-menu,
    .user-login-btn,
    .search-btn {
        align-self: flex-start;
    }

    .main-navbar .search-btn {
        margin: 12px 0 0;
    }
}

@media (max-width: 767.98px) {
    .brand-text {
        font-size: 1.25rem;
    }

    .brand-text small {
        font-size: 0.58rem;
    }

    .hero-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .hero-tabs .nav-item {
        flex: 1 1 auto;
    }

    .hero-tabs .nav-link {
        width: 100%;
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .period-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .period-tabs .nav-link {
        margin-right: 0;
        padding: 8px 14px;
    }

    .newsletter-form {
        flex-basis: 100%;
        max-width: none;
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    .footer-bottom {
        justify-content: center !important;
        gap: 8px;
        text-align: center;
    }

    .detail-hero h2 {
        font-size: 1.5rem;
    }

    .consultation-banner-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 24px;
    }

    .consultation-banner-copy {
        flex-basis: calc(100% - 78px);
    }

    .consultation-banner-action {
        width: 100%;
        margin-top: 2px;
    }

    .consultation-banner-media {
        width: 100%;
        height: 130px;
        order: 4;
    }
}

@media (max-width: 575.98px) {
    .row.row-cols-2 > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .hero-form-card {
        border-radius: 12px;
    }

    .career-banner-inner,
    .newsletter-box {
        border-radius: 14px;
    }

    .contact-form-card,
    .detail-sidebar-card,
    .detail-body {
        padding: 20px;
    }

    .sign-info-list li {
        gap: 16px;
    }

    .sign-info-list li span:last-child {
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Inner Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--brand-cream) 0%, var(--brand-cream-dark) 100%);
    padding: 50px 0 30px;
}

.page-header h1 {
    color: var(--brand-red);
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb {
    background: transparent;
    display: inline-flex;
}

.breadcrumb-item a {
    color: var(--brand-red);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* ===== Detail Pages (services / reports / tools / articles / horoscope) ===== */
.detail-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.detail-hero-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--brand-cream);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.detail-body {
    background: #fff;
    border: 1px solid #f1e5cd;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.detail-body p {
    color: var(--text-muted);
    line-height: 1.8;
}

.detail-points {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.detail-points li {
    padding: 10px 0;
    border-bottom: 1px dashed #eddcb8;
    color: var(--brand-dark);
}

.detail-points i {
    color: var(--brand-red);
    margin-right: 10px;
}

.detail-sidebar-card {
    background: #fff;
    border: 1px solid #f1e5cd;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.detail-sidebar-card h6 {
    margin-bottom: 14px;
}

.detail-sidebar-card .list-group-item {
    border: none;
    padding: 10px 0;
    background: transparent;
    color: var(--brand-dark);
}

.detail-sidebar-card .list-group-item.active-link {
    color: var(--brand-red);
    font-weight: 600;
}

.detail-cta-card {
    background: linear-gradient(120deg, #241209, #3a1c0f);
    color: #f5e9d8;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.detail-cta-card h6 {
    color: #fff;
}

.detail-cta-card p {
    color: #d9c6b0;
    font-size: 0.85rem;
}

/* ===== Zodiac sign info list ===== */
.sign-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sign-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eddcb8;
    font-size: 0.9rem;
}

.sign-info-list li span:first-child {
    color: var(--text-muted);
}

.sign-info-list li span:last-child {
    font-weight: 600;
    color: var(--brand-dark);
}

.period-tabs .nav-link {
    color: var(--brand-dark);
    font-weight: 500;
    border-radius: 30px;
    padding: 8px 20px;
    margin-right: 8px;
}

.period-tabs .nav-link.active {
    background-color: var(--brand-red);
    color: #fff;
}

/* ===== FAQ Accordion ===== */
.faq-accordion .accordion-item {
    border: 1px solid #f1e5cd;
    border-radius: 12px !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--brand-dark);
    background: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--brand-cream);
    color: var(--brand-red);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    color: var(--text-muted);
}

/* ===== Contact Page ===== */
.contact-info-card {
    background: #fff;
    border: 1px solid #f1e5cd;
    border-radius: 16px;
    padding: 26px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--brand-red);
    margin-bottom: 12px;
}

.contact-form-card {
    background: #fff;
    border: 1px solid #f1e5cd;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

/* ===== About Page ===== */
.about-stat {
    text-align: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #f1e5cd;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease;
}

.about-stat:hover {
    transform: translateY(-4px);
}

.about-stat h3 {
    color: var(--brand-red);
    font-size: 2.2rem;
    margin-bottom: 4px;
}

.about-stat p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* ===== Floating Action Buttons ===== */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    transition: transform 0.25s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 90px;
    width: 46px;
    height: 46px;
    background-color: var(--brand-red);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--brand-red-dark);
}

@media (max-width: 575.98px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    .back-to-top {
        right: 16px;
        bottom: 74px;
        width: 40px;
        height: 40px;
    }
}

