/* ====================================================================
   VedicAstro Homepage Styles (Extracted from index.php)
   Includes Hero Slider, Hero Visual, 12 Zodiac Cards, Palm Lines & FAQ
   ==================================================================== */

/* Full-Width Hero Banner Slider Section */
.hero-slider-section {
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
    background: #071219;
    overflow: hidden;
    border-bottom: 1px solid rgba(245, 197, 99, 0.25);
}

.hero-slider-fullwidth {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.hero-banner-item,
.panchang-banner-slide {
    position: relative;
    width: 100%;
    min-height: 440px;
    overflow: hidden;
    background: #071219;
}

/* Ensure inactive carousel items are hidden and don't stretch the container */
.carousel-item {
    display: none !important;
}

.carousel-item.active {
    display: block !important;
}

.carousel-item.panchang-banner-slide.active {
    display: flex !important;
    align-items: center;
}

.hero-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    outline: none;
}

.hero-banner-desktop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-banner-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* ====================================================================
   Daily Live Panchang (Shubh & Ashubh) Banner Slide (Standard Size)
   ==================================================================== */
.panchang-banner-slide {
    background: radial-gradient(circle at 15% 30%, rgba(0, 213, 162, 0.12) 0%, transparent 45%),
                radial-gradient(circle at 85% 70%, rgba(245, 197, 99, 0.12) 0%, transparent 45%),
                linear-gradient(135deg, #050f15 0%, #0c1e2b 50%, #06121a 100%);
    padding: 32px 0 38px;
    overflow: hidden;
}

.panchang-banner-bg-art {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../images/astrology_hero.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.12;
    mix-blend-mode: luminosity;
    pointer-events: none;
}

.panchang-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.panchang-live-badge {
    background: rgba(245, 197, 99, 0.15);
    border: 1px solid rgba(245, 197, 99, 0.45);
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.panchang-tithi-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.panchang-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.panchang-hero-subtitle {
    font-size: 0.92rem;
    color: #cbd5e1;
    margin-bottom: 18px;
    line-height: 1.5;
}

.hero-banner-btn {
    background: linear-gradient(135deg, #f5c563 0%, #d49a37 100%) !important;
    color: #071219 !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    box-shadow: 0 6px 20px rgba(245, 197, 99, 0.38) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.25s ease !important;
}

.hero-banner-btn:hover {
    background: linear-gradient(135deg, #fde047 0%, #f5c563 100%) !important;
    color: #071219 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(245, 197, 99, 0.55) !important;
}

.muhurat-glass-card {
    background: rgba(14, 28, 39, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 14px 16px;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.muhurat-card-shubh {
    border: 1px solid rgba(0, 213, 162, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 24px rgba(0, 213, 162, 0.08);
}

.muhurat-card-shubh:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 213, 162, 0.8);
}

.muhurat-card-ashubh {
    border: 1px solid rgba(239, 68, 68, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 24px rgba(239, 68, 68, 0.08);
}

.muhurat-card-ashubh:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 68, 68, 0.8);
}

.muhurat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.muhurat-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.muhurat-row-item:last-of-type {
    border-bottom: none;
}

.muhurat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
}

.muhurat-val-good {
    font-size: 0.78rem;
    font-weight: 700;
    color: #34d399;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.muhurat-val-bad {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f87171;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.muhurat-tag-good {
    font-size: 0.73rem;
    color: #a7f3d0;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.35;
}

.muhurat-tag-bad {
    font-size: 0.73rem;
    color: #fecaca;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.35;
}

/* Carousel Indicators */
.hero-slider-indicators {
    bottom: 16px;
    margin-bottom: 0;
    gap: 8px;
    z-index: 5;
}

.hero-slider-indicators button {
    width: 32px !important;
    height: 5px !important;
    border-radius: 4px !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    border: none !important;
    opacity: 0.6;
    transition: all 0.3s ease !important;
}

.hero-slider-indicators button.active {
    width: 50px !important;
    background-color: var(--accent-gold) !important;
    opacity: 1;
    box-shadow: 0 0 10px rgba(245, 197, 99, 0.8);
}

/* Carousel Control Arrows */
.hero-slider-control {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(7, 18, 25, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 197, 99, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0.85;
    transition: all 0.25s ease;
    z-index: 6;
}

.hero-slider-control:hover {
    opacity: 1;
    background: rgba(245, 197, 99, 0.2);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-50%) scale(1.08);
}

.hero-slider-prev {
    left: 24px;
}

.hero-slider-next {
    right: 24px;
}

/* Desktop rules (>= 768px) */
@media (min-width: 768px) {
    .hero-banner-desktop {
        display: block !important;
    }
    .hero-banner-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1399.98px) {
    .panchang-banner-slide {
        min-height: 390px !important;
        height: auto !important;
        padding: 36px 0 42px !important;
    }
    .panchang-hero-title {
        font-size: 1.65rem;
    }
}

/* Mobile & Tablet rules (< 768px) */
@media (max-width: 767.98px) {
    .hero-banner-item {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
    }

    .panchang-banner-slide {
        min-height: 280px !important;
        height: auto !important;
        padding: 14px 0 26px !important;
    }

    .hero-banner-desktop {
        display: none !important;
    }

    .hero-banner-mobile {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .hero-slider-control {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .hero-slider-prev {
        left: 6px;
    }

    .hero-slider-next {
        right: 6px;
    }

    .hero-slider-indicators {
        bottom: 6px;
        gap: 5px;
    }

    .hero-slider-indicators button {
        width: 16px !important;
        height: 3px !important;
    }

    .hero-slider-indicators button.active {
        width: 24px !important;
    }

    .panchang-mobile-wrap {
        width: 100%;
        padding: 4px 10px;
        z-index: 2;
    }

    .panchang-mobile-top {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-bottom: 2px;
    }

    .panchang-mobile-badge {
        background: rgba(245, 197, 99, 0.2);
        border: 1px solid rgba(245, 197, 99, 0.4);
        color: var(--accent-gold);
        font-size: 0.65rem;
        font-weight: 700;
        padding: 1px 7px;
        border-radius: 10px;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    .panchang-mobile-tithi {
        font-size: 0.7rem;
        color: #cbd5e1;
        font-weight: 600;
    }

    .panchang-mobile-date {
        font-size: 0.65rem;
        color: #94a3b8;
    }

    .panchang-mobile-title {
        font-family: 'Cinzel', serif;
        font-size: 0.88rem;
        font-weight: 700;
        color: #ffffff;
        text-align: center;
        margin-bottom: 6px;
        line-height: 1.2;
    }

    .muhurat-mobile-box {
        background: rgba(14, 28, 39, 0.94);
        border-radius: 10px;
        padding: 6px 8px;
        height: 100%;
    }

    .muhurat-box-shubh {
        border: 1px solid rgba(0, 213, 162, 0.5);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .muhurat-box-ashubh {
        border: 1px solid rgba(239, 68, 68, 0.5);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .m-box-hdr {
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        margin-bottom: 4px;
        padding-bottom: 3px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .m-box-row {
        display: flex;
        flex-direction: column;
        margin-bottom: 3px;
    }

    .m-box-row:last-child {
        margin-bottom: 0;
    }

    .m-lbl {
        font-size: 0.62rem;
        color: #94a3b8;
        font-weight: 500;
        line-height: 1.1;
    }

    .m-val-good {
        font-size: 0.7rem;
        font-weight: 700;
        color: #34d399;
        letter-spacing: 0.2px;
    }

    .m-val-bad {
        font-size: 0.7rem;
        font-weight: 700;
        color: #f87171;
        letter-spacing: 0.2px;
    }

    .panchang-mobile-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--accent-gold) 0%, #d49a37 100%);
        color: #071219 !important;
        font-size: 0.72rem;
        font-weight: 700;
        padding: 4px 14px;
        border-radius: 16px;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(245, 197, 99, 0.35);
    }
}

/* ====================================================================
   Original Homepage Styles (Extracted from index.php)
   ==================================================================== */

/* Hero Section */
.hero-section {
    padding: 85px 0 70px 0;
    position: relative;
    background: radial-gradient(circle at 50% 15%, rgba(0, 213, 162, 0.08) 0%, transparent 65%);
    overflow: hidden;
}

.hero-badge {
    background: rgba(245, 197, 99, 0.12);
    border: 1px solid rgba(245, 197, 99, 0.35);
    border-radius: 30px;
    padding: 7px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.18;
    color: var(--accent-gold-light);
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-title .text-teal {
    color: var(--accent-teal);
    text-shadow: 0 0 25px rgba(0, 213, 162, 0.4);
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.1rem;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b3c9d9;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 580px;
}

/* Hero Visual Card */
.hero-visual-wrap {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.hero-img-glow {
    border-radius: 28px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 213, 162, 0.18);
    border: 1px solid rgba(0, 213, 162, 0.3);
    transition: transform 0.4s ease;
}

.hero-img-glow:hover {
    transform: scale(1.02);
}

.floating-astro-pill {
    position: absolute;
    background: rgba(18, 36, 48, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 197, 99, 0.35);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatAstro 4s ease-in-out infinite alternate;
}

@keyframes floatAstro {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-8px);
    }
}

.pill-top-right {
    top: -15px;
    right: -10px;
}

.pill-bottom-left {
    bottom: -15px;
    left: -10px;
    animation-delay: 2s;
}

/* 12 Zodiac Constellations Grid */
.zodiac-showcase-section {
    padding: 55px 0 65px 0;
    background: #091722;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.zodiac-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #b3c9d9;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    cursor: pointer;
}

.zodiac-filter-btn:hover,
.zodiac-filter-btn.active {
    background: rgba(245, 197, 99, 0.15);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.zodiac-card-box {
    background: var(--bg-card);
    border: 1px solid rgba(245, 197, 99, 0.18);
    border-radius: 20px;
    padding: 22px 14px 18px 14px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.zodiac-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.3s ease;
}

.zodiac-card-box:hover {
    background: var(--bg-card-hover);
    transform: translateY(-7px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(245, 197, 99, 0.2);
    border-color: var(--accent-gold);
}

.zodiac-card-box[data-elem="fire"]:hover::before {
    background: #ef4444;
}

.zodiac-card-box[data-elem="earth"]:hover::before {
    background: #10b981;
}

.zodiac-card-box[data-elem="air"]:hover::before {
    background: #06b6d4;
}

.zodiac-card-box[data-elem="water"]:hover::before {
    background: #818cf8;
}

.zodiac-card-box img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.zodiac-card-box:hover img {
    transform: scale(1.1) rotate(3deg);
}

.zodiac-card-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.zodiac-card-sanskrit {
    font-size: 0.76rem;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.zodiac-card-dates {
    font-size: 0.72rem;
    color: #9bb0bf;
    margin-bottom: 10px;
}

.zodiac-elem-badge {
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 3px 10px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.elem-badge-fire {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.elem-badge-earth {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.elem-badge-air {
    background: rgba(6, 182, 212, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.elem-badge-water {
    background: rgba(129, 140, 248, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(129, 140, 248, 0.3);
}

/* Palm Lines Deep Dive */
.line-card-pill {
    border-left: 4px solid;
    background: var(--bg-card);
    padding: 22px;
    border-radius: 16px;
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.line-card-pill:hover {
    transform: translateX(6px);
    background: var(--bg-card-hover);
}

/* Trust Stats */
.stat-counter {
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent-gold);
}

/* Accordion Custom */
.accordion-custom .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-custom .accordion-button {
    background: var(--bg-card);
    color: var(--accent-gold-light);
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: none;
    padding: 20px;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background: var(--bg-card-hover);
    color: var(--accent-teal);
    border-bottom: 1px solid var(--border-color);
}

.accordion-custom .accordion-button::after {
    filter: invert(1);
}

.accordion-custom .accordion-body {
    color: #b3c9d9;
    line-height: 1.7;
    font-size: 0.95rem;
    padding: 20px;
}

/* Infinite Auto-Scrolling Seeker Testimonials Marquee */
.home-marquee-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 8px 0;
}

.home-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: homeSeekerScroll 65s linear infinite;
}

.home-marquee-viewport:hover .home-marquee-track,
.home-marquee-viewport:focus-within .home-marquee-track {
    animation-play-state: paused;
}

.home-tcard {
    width: 360px;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.home-tcard:hover {
    transform: translateY(-4px);
    border-color: var(--accent-teal);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

@keyframes homeSeekerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 575.98px) {
    .home-tcard {
        width: 295px;
        padding: 16px;
    }
}
