/* Navdurga Astro - Premium Cosmic Theme */
:root {
    --gold: #d4af37;
    --gold-light: #f0d878;
    --gold-dark: #b8960c;
    --maroon: #4a0e2e;
    --maroon-dark: #2d0819;
    --maroon-light: #6b1a42;
    --purple: #1a0a2e;
    --purple-light: #2d1b4e;
    --cream: #f9f5f0;
    --cream-dark: #f0e8dc;
    --text-dark: #2c1810;
    --text-muted: #6b5b4f;
    --white: #ffffff;
    --shadow: 0 4px 30px rgba(74, 14, 46, 0.15);
    --shadow-lg: 0 10px 50px rgba(26, 10, 46, 0.25);
    --gradient-primary: linear-gradient(135deg, var(--maroon) 0%, var(--purple) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    --font-heading: 'Cinzel', 'Georgia', serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--maroon);
    font-weight: 600;
    line-height: 1.3;
}

a { color: var(--maroon); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; height: auto; }

/* Sacred Geometry Background Pattern */
.cosmic-bg {
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}
.cosmic-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Floating Zodiac Elements */
.zodiac-float {
    position: absolute;
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.15);
    animation: floatZodiac 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes floatZodiac {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 0.3; }
}

/* Top Bar */
.top-bar {
    background: var(--maroon-dark);
    color: var(--cream);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: var(--gold); }

/* Navbar */
.navbar-nd {
    background: rgba(26, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.navbar-nd.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
}
.navbar-brand-nd {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold) !important;
    font-weight: 700;
    letter-spacing: 1px;
}
.navbar-brand-nd span { color: var(--cream); font-weight: 400; font-size: 0.9rem; display: block; letter-spacing: 2px; }
.nav-link-nd {
    color: var(--cream) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    position: relative;
    font-size: 0.95rem;
}
.nav-link-nd::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav-link-nd:hover::after, .nav-link-nd.active::after { width: 80%; }
.nav-link-nd:hover { color: var(--gold) !important; }

/* Buttons */
.btn-gold {
    background: var(--gradient-gold);
    color: var(--maroon-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    letter-spacing: 0.5px;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
    color: var(--maroon-dark);
}
.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--maroon-dark);
    transform: translateY(-2px);
}
.btn-maroon {
    background: var(--gradient-primary);
    color: var(--cream);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-maroon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--cream);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--cream);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}
.hero-title .gold-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(249, 245, 240, 0.85);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.2s both;
}
.hero-cta { animation: fadeInUp 1s ease 0.4s both; }
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.3s both;
}
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(212, 175, 55, 0.3);
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease 0.6s both;
}
.hero-stat { text-align: center; }
.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}
.hero-stat .label { color: rgba(249, 245, 240, 0.7); font-size: 0.85rem; }

/* Mandala Decoration */
.mandala-deco {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    position: absolute;
    animation: rotateMandala 30s linear infinite;
}
.mandala-deco::before, .mandala-deco::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 50%;
}
.mandala-deco::before { inset: 20px; }
.mandala-deco::after { inset: 40px; }
@keyframes rotateMandala { to { transform: rotate(360deg); } }

/* Section Styling */
.section { padding: 80px 0; }
.section-dark { background: var(--gradient-primary); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--gold); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .subtitle {
    color: var(--gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 15px;
}
.section-header .divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 0 auto 20px;
    border-radius: 2px;
}
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-dark .section-header p { color: rgba(249, 245, 240, 0.7); }

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.15);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--gold);
    border: 2px solid rgba(212, 175, 55, 0.3);
}
.service-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 15px; }
.service-price {
    font-family: var(--font-heading);
    color: var(--gold-dark);
    font-size: 1.2rem;
    font-weight: 700;
}

/* About Section */
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.about-image::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    opacity: 0.3;
}
.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maroon-dark);
    font-size: 1.2rem;
}

/* Why Choose Us */
.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.why-card:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}
.why-card .icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 15px; }
.why-card h5 { color: var(--cream); margin-bottom: 10px; }
.why-card p { color: rgba(249, 245, 240, 0.7); font-size: 0.9rem; }

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    height: 100%;
}
.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}
.testimonial-rating { color: var(--gold); margin-bottom: 15px; }
.testimonial-text { font-style: italic; color: var(--text-muted); margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}
.testimonial-name { font-weight: 600; color: var(--maroon); }
.testimonial-location { font-size: 0.85rem; color: var(--text-muted); }

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
}
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--maroon);
    transition: var(--transition);
}
.faq-question:hover { background: var(--cream); }
.faq-question .icon { color: var(--gold); transition: var(--transition); }
.faq-item.active .faq-question .icon { transform: rotate(180deg); }
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}
.faq-item.active .faq-answer { padding: 0 25px 20px; max-height: 500px; }

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 25px; }
.blog-category {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.blog-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card h4 a { color: var(--maroon); }
.blog-card h4 a:hover { color: var(--gold-dark); }
.blog-meta { font-size: 0.85rem; color: var(--text-muted); }

/* Contact Section */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition);
    height: 100%;
}
.contact-info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-info-card .icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--gold);
    font-size: 1.3rem;
}
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

/* Forms */
.form-control-nd, .form-select-nd {
    border: 2px solid var(--cream-dark);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--cream);
}
.form-control-nd:focus, .form-select-nd:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: var(--white);
}
.form-label-nd {
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.form-section-title {
    font-family: var(--font-heading);
    color: var(--maroon);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
    margin: 25px 0 20px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--purple);
    color: rgba(249, 245, 240, 0.8);
    padding: 60px 0 0;
}
.footer h5 { color: var(--gold); font-size: 1.1rem; margin-bottom: 20px; }
.footer a { color: rgba(249, 245, 240, 0.7); }
.footer a:hover { color: var(--gold); }
.footer-links li { margin-bottom: 8px; }
.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--maroon-dark); border-color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulseWhatsApp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; }
@keyframes pulseWhatsApp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8); }
}

/* Badges */
.badge-new { background: #17a2b8; color: white; }
.badge-followup { background: #ffc107; color: #333; }
.badge-interested { background: #fd7e14; color: white; }
.badge-converted { background: #28a745; color: white; }
.badge-closed { background: #6c757d; color: white; }
.badge-pending { background: #ffc107; color: #333; }
.badge-paid { background: #28a745; color: white; }
.badge-failed { background: #dc3545; color: white; }
.badge { padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}
.page-header h1 { color: var(--cream); font-size: clamp(2rem, 4vw, 3rem); }
.page-header .breadcrumb { justify-content: center; }
.page-header .breadcrumb-item a { color: var(--gold-light); }
.page-header .breadcrumb-item.active { color: rgba(249, 245, 240, 0.7); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: var(--gold); }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Language Switcher */
.lang-switcher .dropdown-toggle {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--cream);
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 20px;
}
.lang-switcher .dropdown-menu {
    background: var(--purple);
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.lang-switcher .dropdown-item { color: var(--cream); }
.lang-switcher .dropdown-item:hover { background: rgba(212, 175, 55, 0.2); color: var(--gold); }

/* Loading Spinner */
.spinner-nd {
    width: 40px;
    height: 40px;
    border: 3px solid var(--cream-dark);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Alert Messages */
.alert-nd {
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
}
.alert-success-nd { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert-error-nd { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }

/* Pagination */
.pagination .page-link {
    color: var(--maroon);
    border-color: var(--cream-dark);
    padding: 8px 14px;
}
.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--maroon);
    color: var(--cream);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section { min-height: auto; padding: 100px 0 60px; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .section { padding: 60px 0; }
    .contact-form { padding: 25px; }
}
@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .navbar-brand-nd { font-size: 1.2rem; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 15px; right: 15px; }
}

/* Gallery Grid */
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 14, 46, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--cream);
    padding: 15px;
    text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 1.5rem; color: var(--gold); margin-bottom: 8px; }
.gallery-overlay span { font-size: 0.85rem; font-weight: 600; }

/* Brochure Cards */
.brochure-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.15);
}
.brochure-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.brochure-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gradient-primary);
}
.brochure-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brochure-pdf-icon {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}
.brochure-pdf-icon i { font-size: 3.5rem; }
.brochure-pdf-icon span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-top: 8px;
    letter-spacing: 2px;
}
.brochure-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: var(--maroon-dark);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}
.brochure-body {
    padding: 20px;
}
.brochure-body h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--maroon);
}
.brochure-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.brochure-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Print */
@media print {
    .navbar-nd, .whatsapp-float, .footer { display: none; }
}
