/* 
 * VegaAgni Design System v2 - LIGHT THEME
 * Sophisticated "Warm Parchment" & Sun Gold Aesthetic
 */

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

:root {
    /* Primary / Brand */
    --primary: #2E7D32;    /* Deep Vedic Green */
    --primary-hover: #1b5e20;
    --saffron: #F4C430;    /* Saffron Gold */
    --agni-orange: #FF7A00; /* Agni Orange */
    
    /* Secondary */
    --success-green: #2E7D32; 
    --sky-blue: #87CEEB;
    --parchment: #F5E6C8;
    
    /* Neutral */
    --bg-page: #FFF8E7;    /* Cream Ivory */
    --dark: #2B2B2B;       /* Deep Charcoal */
    --text-muted: #6E6E6E;
    --light: #ffffff;
    
    /* Accents */
    --accent-gold: #FFD700;
    --accent-fire: #FF4500;
    
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(139, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    color: var(--dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-display {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--agni-orange) 100%);
    -webkit-background-clip: text;
    -webkit-fill-color: transparent;
    display: inline-block;
}

.bg-celestial {
    background: linear-gradient(135deg, var(--light) 0%, var(--parchment) 100%);
}

.bg-nebula {
    background: var(--parchment);
}

.text-saffron {
    color: var(--saffron) !important;
}

.btn-premium {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--agni-orange) 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(255, 122, 0, 0.2);
}

.btn-premium:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--agni-orange) 0%, var(--primary) 100%);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.3);
}

.btn-outline-gold {
    border: 2px solid var(--saffron);
    color: var(--saffron) !important;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--saffron);
    color: var(--dark) !important;
}

/* Header & Nav */
.top-banner {
    background: var(--dark);
    color: var(--saffron);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid rgba(244, 196, 48, 0.2);
}

.marquee-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    min-width: 100%;
}

.marquee-content span {
    display: inline-block;
    padding-right: 50px;
}

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

.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: var(--primary) !important;
    padding: 10px 0;
    box-shadow: 0 10px 40px rgba(46, 125, 50, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--light) !important;
    font-weight: 600;
}

.navbar.scrolled .nav-link:hover {
    color: var(--saffron) !important;
}

.navbar.scrolled .logo-regular {
    display: none !important;
}

.navbar.scrolled .logo-scrolled {
    display: block !important;
}

.navbar.scrolled .brand-text {
    color: var(--light) !important;
}

.navbar.scrolled .brand-text span {
    color: var(--saffron) !important;
}

.navbar.scrolled .navbar-toggler {
    color: var(--light) !important;
}

.navbar.scrolled .btn-premium {
    background: var(--light);
    color: var(--primary) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .btn-premium:hover {
    background: #000;
    color: #fff !important;
}

.navbar.scrolled .btn-outline-gold {
    border-color: var(--dark);
    color: var(--dark) !important;
}

.navbar.scrolled .btn-outline-gold:hover {
    background: var(--dark);
    color: var(--primary) !important;
}


.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 15px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.nav-link:hover {
    color: var(--primary) !important;
    opacity: 1;
}

/* Hero Section */
.hero-v2 {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    /* Increased top padding to clear navbar */
    background: #fdfcfb;
    overflow: hidden;
}

.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-animated-bg span {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: celestialFloat 25s infinite alternate ease-in-out;
}

.hero-animated-bg span:nth-child(1) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-duration: 30s;
}

.hero-animated-bg span:nth-child(2) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #f6d365 0%, transparent 70%);
    bottom: 10%;
    right: -50px;
    animation-duration: 22s;
    animation-delay: -5s;
}

.hero-animated-bg span:nth-child(3) {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 40%;
    left: 20%;
    animation-duration: 35s;
    animation-delay: -10s;
}

.hero-animated-bg span:nth-child(4) {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
    top: 10%;
    right: 20%;
    animation-duration: 28s;
}

@keyframes celestialFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, 50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: -60px;
    /* Shifts content upward */
}

/* Overlay Card Version */
.category-card.overlay-card {
    height: 350px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.category-card.overlay-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.category-card.overlay-card .category-img-wrap {
    height: 100%;
    width: 100%;
    padding: 0;
}

.category-card.overlay-card .category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.6s ease;
}

.category-card.overlay-card:hover .category-img-wrap img {
    transform: scale(1.15);
}

.category-card.overlay-card .category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 5%, rgba(0, 0, 0, 0.4) 55%, transparent 100%);
    padding: 25px 20px 20px;
    color: #fff;
    border-radius: 0 0 24px 24px;
    transition: all 0.4s ease;
    z-index: 2;
}

.category-card.overlay-card .category-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.2;
}

.category-card.overlay-card .category-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
    line-height: 1.4;
}

.category-card.overlay-card .btn-category {
    background: var(--primary);
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 20px;
    width: auto;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-card.overlay-card .btn-category:hover {
    background: #fff;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.category-card.overlay-card:hover .category-content {
    padding-bottom: 25px;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Specific Adjustments for Category Cards */
@media (max-width: 768px) {
    .category-card.overlay-card {
        height: 280px;
        border-radius: 20px;
    }

    .category-card.overlay-card .category-img-wrap img,
    .category-card.overlay-card .category-content {
        border-radius: 20px;
    }

    .category-card.overlay-card .category-content {
        padding: 15px;
    }

    .category-card.overlay-card .category-title {
        font-size: 1rem;
    }

    .category-card.overlay-card .category-description {
        display: none;
        /* Hide description on mobile to save space */
    }

    .category-card.overlay-card .btn-category {
        padding: 8px 15px;
        font-size: 0.65rem;
    }
}



/* Astrologer Cards */
.astrologer-card img {
    height: 250px;
    object-fit: cover;
    border-radius: 18px;
    transition: all 0.5s ease;
}

/* Section Headings */
.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

/* Steps */
.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin: 0 auto 20px;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* Stats */
.stat-box {
    padding: 30px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
}

.footer .text-muted {
    color: rgba(255, 248, 231, 0.6) !important; /* Cream Ivory with opacity */
}

.footer h6,
.footer .text-light {
    color: #fff !important;
}

/* Auth Pages Redesign - Ultra Compact & Perfectly Aligned */
.auth-wrapper {
    min-height: calc(100vh - 130px);
    /* Compensate for top banner + navbar height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(rgba(253, 250, 245, 0.8), rgba(253, 250, 245, 0.8)),
        url('https://images.unsplash.com/photo-1534447677768-be436bb09401?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.auth-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 25px 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 30px 100px rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: -30px;
    /* Optical centering adjustment */
}


.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), #f6d365);
}

.auth-header h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
    font-size: 1.5rem;
}

.auth-header p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.auth-input-group {
    margin-bottom: 12px;
}

.auth-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-input {
    width: 100%;
    padding: 10px 15px;
    background: #f8f6f2;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.auth-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
}

.auth-input.is-invalid {
    border-color: #ff4d4d;
    background: #fff5f5;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}



.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.auth-divider:not(:empty)::before {
    margin-right: 1.5em;
}

.auth-divider:not(:empty)::after {
    margin-left: 1.5em;
}

/* Service Cards Redesign */
.service-card-v2 {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.service-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(46, 125, 50, 0.12);
    border-color: rgba(46, 125, 50, 0.1);
}

.service-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.service-card-v2:hover .service-img-container img {
    transform: scale(1.1);
}

.service-price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 100px;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 5;
    font-size: 0.9rem;
}

.service-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-duration {
    color: var(--agni-orange);
}

.service-category-badge {
    background: rgba(46, 125, 50, 0.08);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
}

.service-card-v2 .h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 800;
    transition: color 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.service-card-v2:hover .h3 {
    color: var(--primary);
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-footer {
    margin-top: auto;
    padding-top: 20px;
}

.service-footer .btn-premium {
    padding: 10px 20px;
    font-size: 0.85rem;
}