/* ============================================
   INDIAN VEDIC THEME - PoojaMitr
   Complete Professional Styling
   ============================================ */

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

/* ============================================
   CSS VARIABLES - Vedic Color Palette
   ============================================ */
:root {
    /* Primary Colors - Saffron & Orange */
    --primary: #d4531a;
    --primary-dark: #b84415;
    --primary-light: #f07a3e;
    --primary-gradient: linear-gradient(135deg, #d4531a, #f07a3e);
    --primary-gradient-alt: linear-gradient(135deg, #b84415, #d4531a);
    
    /* Secondary Colors - Sandalwood & Earth */
    --secondary: #4a2c1a;
    --secondary-light: #6d4c32;
    --secondary-dark: #2d1a0e;
    
    /* Accent Colors - Gold & Sacred */
    --gold: #c8963e;
    --gold-light: #f0d080;
    --gold-dark: #a67a2e;
    --gold-gradient: linear-gradient(135deg, #c8963e, #f0d080);
    
    /* Sacred Colors */
    --saffron: #f07a3e;
    --sandalwood: #f5e6d3;
    --turmeric: #e8b84c;
    --kumkum: #d42a2a;
    --sand: #e8ddd0;
    
    /* Background Colors */
    --bg-light: #f8f0e8;
    --bg-cream: #fdf8f0;
    --bg-white: #ffffff;
    --bg-dark: #2d1a0e;
    --bg-temple: #f5e6d3;
    
    /* Text Colors */
    --text-primary: #2d1a0e;
    --text-secondary: #5a3d2a;
    --text-muted: #8a7a6a;
    --text-light: #f5e6d3;
    --text-white: #ffffff;
    
    /* Shadow & Effects */
    --shadow: 0 8px 30px rgba(74, 44, 26, 0.12);
    --shadow-hover: 0 15px 50px rgba(74, 44, 26, 0.18);
    --shadow-temple: 0 4px 20px rgba(212, 83, 26, 0.15);
    
    /* Borders */
    --border-gold: 2px solid #c8963e;
    --border-saffron: 2px solid #f07a3e;
    
    /* Radius */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-round: 50px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVIGATION - With Light/Dark Theme Support
   ============================================ */
.navbar {
    padding: 0.8rem 0;
    transition: var(--transition);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    border: none;
}

/* Dark theme (default - on hero) */
.navbar.navbar-dark {
    background: transparent !important;
}

.navbar.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

.navbar.navbar-dark .nav-link:hover {
    color: #fff !important;
}

.navbar.navbar-dark .navbar-brand {
    color: #fff !important;
}

.navbar.navbar-dark .brand-text {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.navbar.navbar-dark .btn-login {
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
}

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

.navbar.navbar-dark .btn-find {
    background: var(--saffron) !important;
    color: #fff !important;
}

.navbar.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Light theme (scrolled past hero) */
.navbar.navbar-light {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
}

.navbar.navbar-light .nav-link {
    color: var(--text-secondary) !important;
}

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

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

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

.navbar.navbar-light .brand-icon {
    background: var(--gold-gradient);
    color: var(--secondary-dark);
}

.navbar.navbar-light .brand-badge {
    background: var(--gold-gradient);
    color: var(--secondary-dark);
}

.navbar.navbar-light .btn-login {
    border-color: rgba(74, 44, 26, 0.2) !important;
    color: var(--text-primary) !important;
}

.navbar.navbar-light .btn-login:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.navbar.navbar-light .btn-register {
    background: var(--gold-gradient) !important;
    color: var(--secondary-dark) !important;
}

.navbar.navbar-light .btn-find {
    background: var(--primary-gradient) !important;
    color: #fff !important;
}

.navbar.navbar-light .btn-find:hover {
    box-shadow: 0 8px 30px rgba(212, 83, 26, 0.3);
}

.navbar.navbar-light .navbar-toggler {
    border-color: rgba(74, 44, 26, 0.2);
}

.navbar.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(45,26,14,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Common navbar styles */
.navbar .nav-link {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    transition: var(--transition);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

/* Scrolled state with blur */
.navbar.scrolled {
    backdrop-filter: blur(20px);
}

.navbar.navbar-dark.scrolled {
    background: rgba(45, 26, 14, 0.95) !important;
}

.navbar.navbar-light.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
}

/* Brand styles */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-dark);
    box-shadow: 0 4px 15px rgba(200, 150, 62, 0.3);
    flex-shrink: 0;
}

.brand-text {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-badge {
    font-size: 0.55rem;
    font-weight: 700;
    background: var(--gold-gradient);
    color: var(--secondary-dark);
    padding: 2px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button styles */
.btn-nav {
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: var(--transition);
    font-size: 0.9rem !important;
}

.btn-login {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--gold) !important;
}

.btn-register {
    background: var(--gold-gradient) !important;
    color: var(--secondary-dark) !important;
    border: none !important;
    font-weight: 700 !important;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 150, 62, 0.4);
}

.btn-find {
    font-weight: 700 !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px !important;
    transition: var(--transition);
    border: none !important;
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    .navbar .navbar-collapse {
        padding: 1rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        margin-top: 0.5rem;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar.navbar-dark .navbar-collapse {
        background: var(--secondary-dark);
    }
    
    .navbar.navbar-dark .navbar-collapse .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .navbar.navbar-light .navbar-collapse {
        background: #fff;
    }
    
    .navbar.navbar-light .navbar-collapse .nav-link {
        color: var(--text-secondary) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
    
    .navbar .btn-register,
    .navbar .btn-find {
        width: 100%;
        text-align: center;
        margin-top: 0.3rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .brand-badge {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(160deg, #2d1a0e 0%, #4a2c1a 40%, #6d4c32 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Sacred Geometric Pattern Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(200, 150, 62, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(200, 150, 62, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, 
            rgba(255, 255, 255, 0.01) 0px, 
            rgba(255, 255, 255, 0.01) 2px,
            transparent 2px,
            transparent 6px
        );
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(200, 150, 62, 0.15), transparent);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

.particle::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(200, 150, 62, 0.2);
    font-size: 10px;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(200, 150, 62, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(200, 150, 62, 0.2);
}

.hero-badge i {
    color: var(--gold);
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title .highlight-saffron {
    background: linear-gradient(135deg, #f07a3e, #e8b84c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero {
    background: var(--gold-gradient);
    color: var(--secondary-dark);
    padding: 1rem 2.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 25px rgba(200, 150, 62, 0.3);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(200, 150, 62, 0.4);
    color: var(--secondary-dark);
}

.btn-hero .btn-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover .btn-effect {
    width: 400px;
    height: 400px;
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    color: #fff;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    display: block;
    font-family: 'Playfair Display', serif;
}

.stat-number .suffix {
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
}

/* Hero Visual - Floating Elements */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-om {
    font-family: 'Playfair Display', serif;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.04);
    font-weight: 900;
    position: absolute;
    animation: spinOm 30s linear infinite;
}

@keyframes spinOm {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.06);
    animation: floatCard 5s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.2rem;
}

.floating-card .icon-gold {
    color: var(--gold);
}

.floating-card .icon-green {
    color: #4ade80;
}

.floating-card .icon-blue {
    color: #60a5fa;
}

.card-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: 0%;
    animation-delay: 2s;
}

.card-3 {
    top: 50%;
    right: -5%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100px;
}

.hero-wave svg path {
    fill: var(--bg-light);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(212, 83, 26, 0.08);
    color: var(--primary);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.section-title .text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .text-saffron {
    color: var(--saffron);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-white);
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--transition);
    background: var(--bg-cream);
    border-radius: var(--radius);
    border: 1px solid rgba(200, 150, 62, 0.1);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-temple);
    border-color: var(--gold);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: var(--secondary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    font-family: 'Playfair Display', serif;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 83, 26, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1rem;
    transition: var(--transition);
    border: 2px solid rgba(212, 83, 26, 0.1);
}

.step-card:hover .step-icon {
    background: var(--gold-gradient);
    color: var(--secondary-dark);
    transform: scale(1.1);
    border-color: transparent;
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   POOJA TYPES
   ============================================ */
.pooja-types {
    padding: 5rem 0;
    background: var(--bg-light);
}

.pooja-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(200, 150, 62, 0.08);
}

.pooja-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.pooja-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.pooja-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pooja-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 300;
}

.pooja-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.pooja-link:hover {
    color: var(--gold-dark);
    gap: 12px;
}

/* ============================================
   SEARCH SECTION
   ============================================ */
.search-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.filter-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: var(--radius);
    position: sticky;
    top: 100px;
    border: 1px solid rgba(200, 150, 62, 0.1);
}

.filter-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-title i {
    color: var(--primary);
}

.filter-group {
    margin-bottom: 1.2rem;
}

.filter-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
}

.filter-label i {
    color: var(--primary);
    margin-right: 4px;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(200, 150, 62, 0.15);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 4px rgba(200, 150, 62, 0.1);
}

.radius-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-range {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--gold), var(--saffron));
    border-radius: 2px;
}

.filter-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-gradient);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(200, 150, 62, 0.3);
}

.radius-value {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 60px;
    font-size: 0.9rem;
}

.btn-search {
    width: 100%;
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    background: var(--gold-gradient);
    border: none;
    color: var(--secondary-dark);
    transition: var(--transition);
    font-size: 1rem;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 150, 62, 0.3);
    color: var(--secondary-dark);
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-size: 1.3rem;
}

.results-title i {
    color: var(--primary);
}

.results-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.btn-emergency {
    background: var(--kumkum);
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 42, 42, 0.25);
}

.btn-emergency:hover {
    background: #b82222;
    color: #fff;
    animation: pulseEmergency 1.5s infinite;
    box-shadow: 0 8px 25px rgba(212, 42, 42, 0.35);
}

@keyframes pulseEmergency {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn-sort {
    background: var(--bg-white);
    border: 1px solid rgba(200, 150, 62, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.btn-sort:hover {
    border-color: var(--gold);
    color: var(--primary);
}

/* Pandit Cards */
.pandit-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(200, 150, 62, 0.06);
    position: relative;
    overflow: hidden;
}

.pandit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition);
}

.pandit-card:hover::before {
    opacity: 1;
}

.pandit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 150, 62, 0.15);
}

.pandit-card .card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pandit-card .stars {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.pandit-card .rating-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pandit-card .card-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pandit-card .card-title {
    font-family: 'Playfair Display', serif;
    margin: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pandit-card .card-specialties {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.pandit-card .card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pandit-card .card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pandit-card .card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

.pandit-card .card-badges {
    margin: 0.5rem 0;
}

.pandit-card .card-bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pandit-card .btn-book {
    margin-top: 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    padding: 0.6rem 1rem;
    width: 100%;
}

.pandit-card .btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 83, 26, 0.3);
    color: #fff;
}

/* Card Badges */
.card-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 4px;
}

.card-badge.top-rated {
    background: rgba(200, 150, 62, 0.15);
    color: var(--gold-dark);
}

.card-badge.verified {
    background: rgba(74, 222, 128, 0.15);
    color: #065f46;
}

.card-badge.expert {
    background: rgba(139, 92, 246, 0.15);
    color: #6d28d9;
}

.card-badge.featured {
    background: rgba(96, 165, 250, 0.15);
    color: #1d4ed8;
}

.card-badge.emergency {
    background: rgba(212, 42, 42, 0.12);
    color: var(--kumkum);
    animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(160deg, #2d1a0e 0%, #4a2c1a 100%);
    color: #fff;
}

.testimonials .section-badge {
    background: rgba(200, 150, 62, 0.15);
    color: var(--gold-light);
}

.testimonials .section-title {
    color: #fff;
}

.testimonials .section-title .text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(200, 150, 62, 0.2);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-dark);
}

.author-info h6 {
    font-weight: 600;
    margin: 0;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.author-info span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   PREMIUM FOOTER
   ============================================ */
.premium-footer {
    background: #1a0e08;
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 0;
}

.footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand .navbar-brand {
    font-size: 1.5rem;
    color: #fff !important;
    padding: 0;
    font-family: 'Playfair Display', serif;
}

.footer-brand .navbar-brand i {
    color: var(--gold);
}

.footer-brand p {
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-social a:hover {
    background: var(--gold-gradient);
    color: var(--secondary-dark);
    transform: translateY(-3px);
    border-color: transparent;
}

.premium-footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
}

.premium-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-footer ul li {
    margin-bottom: 0.6rem;
}

.premium-footer ul li a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.premium-footer ul li a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.contact-list li i {
    color: var(--gold);
    width: 20px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--gold-gradient);
    color: var(--secondary-dark);
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--gold-light);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--secondary-dark);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(200, 150, 62, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(200, 150, 62, 0.4);
}

/* ============================================
   SKELETON LOADING
   ============================================ */
.skeleton {
    animation: shimmer 1.5s ease-in-out infinite;
    background: linear-gradient(90deg, #f0e8e0 25%, #e8ddd0 50%, #f0e8e0 75%);
    background-size: 200% 100%;
    border-radius: var(--radius);
    padding: 1.5rem;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-line {
    height: 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-title {
    height: 24px;
    width: 70%;
}

.skeleton-text {
    height: 12px;
    width: 90%;
}

.skeleton-button {
    height: 40px;
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

/* ============================================
   FADE IN ANIMATIONS
   ============================================ */
.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up:nth-child(1) { animation-delay: 0.05s; }
.fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.fade-in-up:nth-child(3) { animation-delay: 0.15s; }
.fade-in-up:nth-child(4) { animation-delay: 0.2s; }
.fade-in-up:nth-child(5) { animation-delay: 0.25s; }
.fade-in-up:nth-child(6) { animation-delay: 0.3s; }

/* ============================================
   EMERGENCY ASSIGNED
   ============================================ */
.emergency-assigned {
    border-left: 4px solid var(--kumkum);
    animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.emergency-icon {
    font-size: 2.5rem;
    animation: pulseIcon 1s infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state i {
    color: var(--text-muted);
    opacity: 0.3;
}

.empty-state h4 {
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-om {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-hero, .btn-hero-outline {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .stat-divider {
        display: none;
    }
    
    .filter-card {
        position: relative !important;
        top: 0 !important;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-brand p {
        max-width: 100%;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .pandit-card {
        padding: 1rem;
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gradient-alt);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gold {
    color: var(--gold);
}

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

.bg-gold {
    background: var(--gold-gradient);
}

.border-gold {
    border: var(--border-gold);
}

.shadow-temple {
    box-shadow: var(--shadow-temple);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    z-index: 9999;
}

.toast {
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: none;
}

.toast .toast-body {
    font-weight: 500;
    display: flex;
    align-items: center;
}

.toast .btn-close {
    opacity: 0.8;
}

.toast .btn-close:hover {
    opacity: 1;
}

/* Toast types */
.toast.bg-success .toast-body {
    color: #fff;
}

.toast.bg-danger .toast-body {
    color: #fff;
}

.toast.bg-warning .toast-body {
    color: var(--text-primary);
}

.toast.bg-info .toast-body {
    color: #fff;
}