/* CSS Custom Properties */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #FFA726;
    --accent-color: #FFE0B2;
    --text-color: #333;
    --text-light: #666;
    --background-color: #FFF;
    --card-background: #FAFAFA;
    --border-color: #E0E0E0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}



/* tosar  */

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 6px;
    color: var(--background-color);
    z-index: 2000;
    height: 50px;
}

.toast.success {
    background:var(--primary-color);
}

.toast.error {
    background: var(--text-light);
}

.toast-worning {
    background: var(--secondary-color);
}

.toast-info {
    background:var(--accent-color);
}


.toast-success::before {
    content: '✓ ';
}

.toast-error::before {
    content: '✗ ';
}

.toast-info::before {
    content: 'ℹ ';
}

.toast-warning::before {
    content: '⚠ ';
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* display: flex;
    flex-direction: column;
    align-items: center; */

}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--background-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color:var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: var(--accent-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--background-color);
    margin: 5% auto;
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-hover);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.submit-btn {
    background: var(--primary-color);
    color:var(--background-color);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        margin-top: 180px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .download-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }

    .hero {
        padding: 60px 0;
    }

    .services,
    .news,
    .reviews,
    .app-download {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 0 15px;
    }

    .download-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .user-avatars {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Animation and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.news-card,
.review-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background:var(--border-color);
}

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

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


/* Main Page Scrolling Banner Styles */
.scrolling-banner {
    width: 100%;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
}

.scrolling-content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    font-weight: 600;
    font-size: 16px;
    color: var(--background-color);
    will-change: transform;
}

.scroll-item {
    display: inline-flex;
    align-items: center;
    margin-right: 80px;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.scroll-icon {
    font-size: 18px;
    margin-right: 10px;
    display: inline-block;
}

/* Dot separator between items */
.scroll-item:not(:last-child)::after {
    content: '•';
    margin-left: 40px;
    margin-right: 40px;
    opacity: 0.7;
    font-size: 20px;
}

/* Scrolling animation */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.scrolling-banner:hover .scrolling-content {
    animation-play-state: paused;
}

/* Alternative gradient options for spiritual theme */
.scrolling-banner.spiritual-gradient {
    background: linear-gradient(45deg, #ff9933, #ff6600, #cc3300);
}

.scrolling-banner.divine-gradient {
    background: linear-gradient(45deg, #ffa500, #ff8c00, #ff4500);
}

.scrolling-banner.temple-gradient {
    background: linear-gradient(45deg, #d4af37, #ffd700, #ff8c00);
}

/* Responsive design */
@media (max-width: 768px) {
    .scrolling-banner {
        height: 50px;
    }

    .scroll-item {
        font-size: 14px;
        margin-right: 60px;
    }

    .scroll-icon {
        font-size: 16px;
        margin-right: 8px;
    }

    .scrolling-content {
        animation-duration: 25s;
    }

    .scroll-item:not(:last-child)::after {
        margin-left: 30px;
        margin-right: 30px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .scrolling-banner {
        height: 45px;
    }

    .scroll-item {
        font-size: 12px;
        margin-right: 40px;
    }

    .scroll-icon {
        font-size: 14px;
        margin-right: 6px;
    }

    .scrolling-content {
        animation-duration: 20s;
    }

    .scroll-item:not(:last-child)::after {
        margin-left: 20px;
        margin-right: 20px;
        font-size: 16px;
    }
}

/* Performance optimization */
.scrolling-banner {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.scrolling-content {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}


/* for puja page css start */
.page-header {
    margin-top: 70px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--background-color) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.puja-categories {
    padding: 40px 0;
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

.category-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

.featured-pujas {
    padding: 80px 0;
    background: var(--card-background);
}

.pujas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 968px) {
    .pujas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pujas-grid {
        grid-template-columns: 1fr;
    }
}

.puja-card {
    background: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    min-width: 300px;
    /* Add this */
    max-width: 400px;
    /* Add this */
}

.puja-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.puja-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.puja-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.puja-duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color:var(--background-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.puja-info {
    padding: 25px;
}

.puja-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.puja-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.puja-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.benefit-tag {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.puja-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.price-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    /* Allows wrapping if needed on small screens */
}

.price {
    font-size: 1.2rem;
    /* Reduced slightly for balance */
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1rem;
}

.discount {
    background: #27ae60;
    color: var(--background-color);
    padding: 4px 10px;
    /* Added padding for better visibility */
    border-radius: 4px;
    font-size: 0.9rem;
    /* Slightly larger for readability */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    min-width: 60px;
    /* Ensures minimum width to avoid cramping */
    justify-content: center;
}

.book-puja-btn {
    background: var(--primary-color);
    /* Matches your orange theme */
    color: var(--background-color);
    border: none;
    padding: 12px 30px;
    /* Increased padding for a wider button */
    border-radius: 20px;
    /* Increased for a more rounded look like the image */
    font-size: 1.1rem;
    /* Slightly larger text for emphasis */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 150px;
    /* Ensures a minimum width to match the image's proportions */
    display: inline-flex;
    /* Ensures consistent centering */
    align-items: center;
    justify-content: center;
}

.book-puja-btn:hover {
    background:var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .book-puja-btn {
        padding: 10px 25px;
        /* Slightly reduced padding for mobile */
        width: 100%;
        /* Full width on mobile */
        min-width: auto;
        /* Removes min-width on mobile */
    }
}

.puja-includes {
    font-size: 0.9rem;
}

.puja-includes p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: var(--text-light);
}

.puja-includes i {
    color:var(--secondary-color);
    width: 12px;
}

.how-it-works {
    padding: 80px 0;
    background: var(--background-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color:var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--background-color);
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.nav-logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.nav-logo-link:hover {
    color: inherit;
    /* Prevent hover color change */
}


@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .category-filters {
        gap: 10px;
        padding: 0 20px;
    }

    .category-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .pujas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .puja-pricing {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .book-puja-btn {
        width: 100%;
    }
}

/* Astrology page css start  */
.page-header {
    margin-top: 70px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--background-color) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.service-categories {
    padding: 40px 0;
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

.category-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

.astrology-services {
    padding: 80px 0;
    background: var(--card-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--background-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-info {
    padding: 25px;
}

.service-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.price-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.duration {
    color: var(--text-light);
    font-size: 0.9rem;
}

.book-service-btn {
    background: var(--primary-color);
    color:var(--background-color);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.book-service-btn:hover {
    background:var(--primary-color);
    transform: translateY(-2px);
}

.service-includes {
    font-size: 0.9rem;
}

.service-includes p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: var(--text-light);
}

.service-includes i {
    color:var(--secondary-color);
    width: 12px;
}

.expert-astrologers {
    /* padding: 80px 0; */
    background: var(--background-color);
}

.astrologers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.astrologer-card {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.astrologer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.astrologer-image {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.astrologer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--background-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.online-status i {
    color:var(--secondary-color);
    font-size: 0.6rem;
}

.online-status.busy i {
    color:var(--primary-color);
}

.astrologer-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.specialization {
    color: var(--text-light);
    margin-bottom: 12px;
}

.experience {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars {
    color:var(--secondary-color);;
}

.rating span {
    /* color: var(--text-light); */
    /* font-size: 0.9rem; */
}

.languages {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 15px;
}

.lang-tag {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.consultation-rate {
    margin-bottom: 20px;
}

.rate {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.consult-btn {
    background: var(--primary-color);
    color:var(--background-color);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.consult-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.daily-horoscope {
    padding: 80px 0;
    background: var(--card-background);
}

.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.horoscope-card {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.horoscope-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.sign-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.horoscope-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.date-range {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.horoscope-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.lucky-elements {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lucky-item {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .category-filters {
        gap: 10px;
        padding: 0 20px;
    }

    .category-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .astrologers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .horoscope-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .service-pricing {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .book-service-btn {
        width: 100%;
    }
}

/* template page css start  */
.page-header {
    margin-top: 70px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--background-color) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.temple-filters {
    padding: 40px 0;
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color:var(--background-color);
    border-color: var(--primary-color);
}

.temples-grid {
    padding: 60px 0;
    background: var(--card-background);
}

.temples-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.temple-card {
    background: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.temple-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.temple-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.temple-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.temple-card:hover .temple-image img {
    transform: scale(1.05);
}

.temple-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.temple-card:hover .temple-overlay {
    opacity: 1;
}

.temple-action-btn {
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.temple-action-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.temple-info {
    padding: 25px;
}

.temple-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.temple-location {
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.temple-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.temple-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.service-tag {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.temple-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stars {
    color: var(--secondary-color);
}

.temple-rating span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .filter-controls {
        padding: 0 20px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .temples-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .temple-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.5);
    }
}

/* Panchange page css */
.panch-page {
    padding: 30px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.panch-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.panch-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.panch-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 2px;
}

.panch-header p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.date-bar {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    box-shadow: var(--shadow);
}

.date-bar label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.date-bar input[type="date"] {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-color);
    background: var(--card-background);
    outline: none;
    transition: var(--transition);
}

.date-bar input[type="date"]:focus {
    border-color: var(--primary-color);
}

.btn-fetch {
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 8px;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-fetch:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.location-label {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-light);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.p-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px 18px;
    box-shadow: var(--shadow);
}

.p-card:hover {
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.p-card-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.card-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.card-label-light {
    color: rgba(255, 255, 255, 0.8);
}

.card-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.card-value-light {
    color: var(--background-color);
    font-size: 20px;
}

.card-sub {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.card-sub-light {
    color: rgba(255, 255, 255, 0.75);
}

.section-heading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-light);
}

.info-value {
    font-weight: 500;
    color: var(--text-color);
    text-align: right;
    max-width: 55%;
}

.time-badge {
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.time-badge-bad {
    background: #FFEAEA;
    color: #C62828;
}

.summary-box {
    background: var(--card-background);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.6;
    margin-top: 10px;
}

.samvat-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pill {
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
}

.loading-msg {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-light);
    font-size: 16px;
}

.error-msg {
    background: #FFEAEA;
    border: 1px solid #FFCDD2;
    border-radius: var(--border-radius);
    padding: 16px;
    color: #C62828;
    font-size: 14px;
}

/* Horoscope page css */
.horoscope-page {
    padding: 30px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.horoscope-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.horoscope-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.horoscope-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 2px;
}

.horoscope-header p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.type-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.type-tab {
    padding: 9px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.type-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.type-tab.active {
    background: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

.sign-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

@media (max-width: 900px) {
    .sign-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .sign-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sign-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.sign-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--secondary-color);
}

.sign-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.sign-emoji {
    font-size: 26px;
    margin-bottom: 6px;
}

.sign-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
}

.sign-card.active .sign-name {
    color: var(--background-color);
}

.sign-dates {
    font-size: 10px;
    color: var(--text-light);
    margin-top: 2px;
}

.sign-card.active .sign-dates {
    color: rgba(255, 255, 255, 0.8);
}

/* Result */
.horoscope-result {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    min-height: 200px;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.result-sign-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 4px;
}

.result-meta {
    font-size: 13px;
    color: var(--text-light);
}

.type-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.horoscope-paragraphs p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 3px solid var(--accent-color);
}

.horoscope-paragraphs p:last-child {
    margin-bottom: 0;
}

.loading-msg {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-light);
    font-size: 16px;
}

.error-msg {
    background: #FFEAEA;
    border: 1px solid #FFCDD2;
    border-radius: var(--border-radius);
    padding: 16px;
    color: #C62828;
    font-size: 14px;
}

.placeholder-msg {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.placeholder-msg .big-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.placeholder-msg p {
    font-size: 15px;
}

