/* 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: white;
    z-index: 2000;
    height: 50px;
}

.toast.success {
    background: #28a745;
}

.toast.error {
    background: #dc3545;
}
.toast-worning {
    background: #ffc107;
}
.toast-info {
    background: #17a2b8;
}


.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: white;
    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: #CCC;
    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: #CCC;
    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: #CCC;
}

/* 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: white;
    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: white;
    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: #E55A2E;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        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: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #E55A2E;
}


/* Main Page Scrolling Banner Styles */
.scrolling-banner {
    width: 100%;
    height: 60px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    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: white;
    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%, #FFF 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: white;
            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: white;
            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: white;
            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: white;
            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: white;
            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: white;
            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: #E55A2E;
            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: #27ae60;
            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: white;
            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: white;
        }

        .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%, #FFF 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: white;
            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: white;
            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: white;
            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: white;
            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: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .book-service-btn:hover {
            background: #E55A2E;
            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: #27ae60;
            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: white;
            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: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .online-status i {
            color: #27ae60;
            font-size: 0.6rem;
        }

        .online-status.busy i {
            color: #e74c3c;
        }

        .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: #ffc107;
        }

        .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: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            width: 100%;
        }

        .consult-btn:hover {
            background: #E55A2E;
            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: white;
            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%, #FFF 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: white;
            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: white;
            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: white;
            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: white;
            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: #E55A2E;
            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: #ffc107;
        }

        .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);
            }
        }
