﻿/**
 * Astro & Jyotish pages — professional body treatment.
 * Hero unchanged. Subtle celestial motion; clean education-site layout.
 * body.page-theme-astro only
 */
:root {
    --astro-red: #c62828;
    --astro-red-deep: #b71c1c;
    --astro-gold: #b8962e;
    --astro-ink: #1f2937;
    --astro-muted: #6b7280;
    --astro-line: rgba(184, 150, 46, 0.35);
    --astro-panel: #ffffff;
    --astro-wash: #f7f5f2;
}

body.page-theme-astro {
    --primary-red: var(--astro-red);
    --accent-red: var(--astro-red-deep);
    overflow-x: hidden;
    color: var(--astro-ink);
}

.vedic-featured-section {
    display: none !important;
}

/* Body wrap: light professional surface (not solid black sky) */
.vedic-body-sky {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(15, 23, 42, 0.04), transparent 60%),
        linear-gradient(180deg, #f8f6f3 0%, #ffffff 18%, #faf9f7 100%);
}

/* Soft atmosphere only — constellations drawn + animated on canvas (not tiled SVG) */
.vedic-body-sky::before {
    content: none;
    display: none;
}

.vedic-body-sky::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    top: 8%;
    height: 42%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse 55% 45% at 50% 40%,
        rgba(184, 150, 46, 0.08),
        transparent 70%
    );
    animation: astroGlowDrift 28s ease-in-out infinite alternate;
}

.vedic-body-sky > * {
    position: relative;
    z-index: 1;
}

.vedic-sky-canvas--page {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
    opacity: 1;
}

/* Restore normal section rhythm on light surface */
body.page-theme-astro .vedic-body-sky .motivation-section,
body.page-theme-astro .vedic-body-sky .highlights-section,
body.page-theme-astro .vedic-body-sky .course-details-section,
body.page-theme-astro .vedic-body-sky .benefits-section,
body.page-theme-astro .vedic-body-sky .curriculum-section,
body.page-theme-astro .vedic-body-sky .audience-section,
body.page-theme-astro .vedic-body-sky .outcomes-section,
body.page-theme-astro .vedic-body-sky .certificate-demo-section,
body.page-theme-astro .vedic-body-sky .alumni-section,
body.page-theme-astro .vedic-body-sky .explore-section,
body.page-theme-astro .vedic-body-sky .social-sharing-section {
    background: transparent;
}

/* Reviews keep a soft light wash (not dark) so sky motion shows through */
body.page-theme-astro .vedic-body-sky .reviews-section {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(198, 40, 40, 0.05), transparent 55%),
        rgba(255, 255, 255, 0.55);
}

body.page-theme-astro .vedic-body-sky .reviews-section::before,
body.page-theme-astro .vedic-body-sky .reviews-section::after {
    opacity: 0 !important;
    animation: none !important;
    background: none !important;
}

/* Professional section titles */
body.page-theme-astro .vedic-body-sky .section-title {
    color: var(--astro-red);
    letter-spacing: 0.06em;
    font-weight: 750;
}

body.page-theme-astro .vedic-body-sky .section-title::after {
    background: linear-gradient(90deg, var(--astro-gold), var(--astro-red), transparent);
    height: 2px;
    width: 64px;
}

body.page-theme-astro .vedic-body-sky .container > p[style*="text-align: center"],
body.page-theme-astro .vedic-body-sky .section-subtitle {
    color: var(--astro-muted) !important;
}

/* Reviews: carousel styles assume dark bg — force readable light-mode contrast */
body.page-theme-astro .reviews-section .section-title {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: var(--astro-red) !important;
    color: var(--astro-red) !important;
}

body.page-theme-astro .reviews-section .section-subtitle {
    color: var(--astro-muted) !important;
}

body.page-theme-astro .reviews-section .section-badge {
    color: var(--astro-red) !important;
    background: rgba(198, 40, 40, 0.08) !important;
    border-color: rgba(198, 40, 40, 0.22) !important;
}

body.page-theme-astro .trust-badge-item {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

body.page-theme-astro .trust-badge-value {
    color: var(--astro-ink) !important;
    -webkit-text-fill-color: var(--astro-ink) !important;
}

body.page-theme-astro .trust-badge-label {
    color: var(--astro-muted) !important;
}

body.page-theme-astro .review-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-top: 3px solid var(--astro-red) !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 28px rgba(15, 23, 42, 0.07) !important;
}

body.page-theme-astro .review-card::after {
    color: rgba(198, 40, 40, 0.12) !important;
}

body.page-theme-astro .review-info h4 {
    color: var(--astro-ink) !important;
}

body.page-theme-astro .review-info p {
    color: var(--astro-muted) !important;
}

body.page-theme-astro .review-text {
    color: #374151 !important;
}

body.page-theme-astro .review-course-tag {
    background: rgba(198, 40, 40, 0.1) !important;
    color: #b71c1c !important;
    border-color: rgba(198, 40, 40, 0.22) !important;
}

body.page-theme-astro .review-rating {
    background: rgba(255, 193, 7, 0.14) !important;
}

body.page-theme-astro .review-rating .rating-text {
    color: #b45309 !important;
}

body.page-theme-astro .reviews-cta h3 {
    color: #ffffff !important;
}

body.page-theme-astro .reviews-cta p {
    color: rgba(255, 255, 255, 0.85) !important;
}

body.page-theme-astro .vedic-body-sky .motivation-section h2 {
    color: var(--astro-red);
}

/* Premium cards */
body.page-theme-astro .vedic-body-sky .motivation-content,
body.page-theme-astro .vedic-body-sky .highlight-card,
body.page-theme-astro .vedic-body-sky .detail-card,
body.page-theme-astro .vedic-body-sky .module-card,
body.page-theme-astro .vedic-body-sky .audience-card,
body.page-theme-astro .vedic-body-sky .benefit-card,
body.page-theme-astro .vedic-body-sky .certificate-demo-container,
body.page-theme-astro .vedic-body-sky .alumni-card {
    background: var(--astro-panel);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-top: 3px solid var(--astro-red);
    border-radius: 14px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-theme-astro .vedic-body-sky .highlight-card:hover,
body.page-theme-astro .vedic-body-sky .detail-card:hover,
body.page-theme-astro .vedic-body-sky .module-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.05),
        0 16px 36px rgba(198, 40, 40, 0.1);
}

body.page-theme-astro .vedic-body-sky .detail-card {
    padding: 22px 20px;
    text-align: left;
}

body.page-theme-astro .vedic-body-sky .detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

body.page-theme-astro .vedic-body-sky .detail-icon,
body.page-theme-astro .vedic-body-sky .highlight-icon,
body.page-theme-astro .vedic-body-sky .wellness-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(198, 40, 40, 0.08);
    color: var(--astro-red);
    font-size: 1.15rem;
}

body.page-theme-astro .vedic-body-sky .detail-card h3,
body.page-theme-astro .vedic-body-sky .module-card h3 {
    color: var(--astro-red);
    font-size: 1.05rem;
    margin: 0;
    letter-spacing: 0.02em;
}

body.page-theme-astro .vedic-body-sky .detail-value {
    color: var(--astro-ink);
    font-weight: 700;
    font-size: 1.15rem;
}

body.page-theme-astro .vedic-body-sky .detail-subtext {
    color: var(--astro-muted);
    font-size: 0.9rem;
}

body.page-theme-astro .vedic-body-sky .module-number {
    background: linear-gradient(135deg, var(--astro-red), var(--astro-red-deep));
    color: #fff;
    box-shadow: 0 6px 14px rgba(198, 40, 40, 0.25);
}

body.page-theme-astro .vedic-body-sky .module-features li i {
    color: var(--astro-gold);
}

/* Apply Now contrast */
body.page-theme-astro .hero-btn-primary,
body.page-theme-astro a.hero-btn-primary {
    background: #c62828 !important;
    border: 2px solid #c62828 !important;
    color: #ffffff !important;
}

body.page-theme-astro .hero-btn-primary i {
    color: #ffffff !important;
}

body.page-theme-astro .hero-btn-primary:hover {
    background: #b71c1c !important;
    border-color: #b71c1c !important;
    color: #ffffff !important;
}

body.page-theme-astro .hero-btn-secondary {
    color: #c62828 !important;
    border: 2px solid #c62828 !important;
    background: #ffffff !important;
}

body.page-theme-astro .hero-btn-secondary:hover {
    background: #c62828 !important;
    color: #ffffff !important;
}

@keyframes astroGlowDrift {
    from { transform: translate3d(-3%, 0, 0); opacity: 0.8; }
    to { transform: translate3d(3%, 3%, 0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .vedic-body-sky::after {
        animation: none !important;
    }
    .vedic-sky-canvas--page {
        display: none !important;
    }
}
