/* =====================================================
   PUJA SERVICES SECTION
   ===================================================== */
   /* Using consistent temple color variables */
:root {
    --temple-saffron: #1C538E;
    --temple-orange: #E85D00;
    --temple-gold: #E85D00;
    --temple-maroon: #8B0000;
    --temple-cream: #FFF8F0;
    --temple-white: #FFFFFF;
    --temple-dark: #2C1810;
    --temple-text: #3E2723;
    --temple-shadow: rgba(139, 0, 0, 0.15);
    --gradient-flame: linear-gradient(135deg, #1C538E 0%, #1C538E 50%, #1C538E 100%);
    --gradient-divine: linear-gradient(135deg, #E85D00 0%, #E85D00 100%);
}
    .priest-hero-overlay {
    text-align: center;
    color: var(--white);
}

.priest-hero-label {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.priest-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.priest-hero-title i {
    margin-right: 15px;
    color: var(--primary-orange);
}

.priest-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.puja-services-showcase {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 50%, #FFF8F0 100%);
    overflow: hidden;
}

/* Background Pattern */
.puja-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, var(--temple-saffron) 35px, var(--temple-saffron) 36px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, var(--temple-gold) 35px, var(--temple-gold) 36px);
    pointer-events: none;
    z-index: 0;
}

/* Floating Bells */
.floating-bell {
    position: absolute;
    font-size: 80px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.floating-bell-1 {
    top: 10%;
    left: 5%;
    animation: float-gentle 18s ease-in-out infinite;
}

.floating-bell-2 {
    bottom: 15%;
    right: 8%;
    animation: float-gentle 22s ease-in-out infinite reverse;
}

@keyframes float-gentle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, -15px) rotate(3deg);
    }
    50% {
        transform: translate(0, -30px) rotate(0deg);
    }
    75% {
        transform: translate(-15px, -15px) rotate(-3deg);
    }
}

/* =====================================================
   PUJA SECTION HEADER
   ===================================================== */
.section-header-puja {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

/* Diya Symbol */
.decorative-diya {
    display: inline-block;
    color: var(--temple-saffron);
    margin-bottom: 20px;
    animation: diya-flicker 3s ease-in-out infinite;
}

@keyframes diya-flicker {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

/* Puja Heading */
.puja-main-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 25px 0;
}

.puja-label {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--temple-saffron);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.heading-title-puja {
    font-family: 'Lora', 'Merriweather', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--temple-dark);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.puja-subtitle {
    font-size: 18px;
    color: #666;
    font-style: italic;
}

/* Decorative Line */
.decorative-line-set {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.decorative-line-set .line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--temple-gold), transparent);
}

.decorative-line-set .om-center {
    font-size: 32px;
    font-weight: 700;
    color: var(--temple-maroon);
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* =====================================================
   PUJA CARDS GRID
   ===================================================== */
.puja-cards-grid {
    display: grid;
   grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Puja Card Wrapper */
.puja-card-wrapper {
    perspective: 1000px;
}

/* Puja Card Modern */
.puja-card-modern {
    background: white;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 40px var(--temple-shadow),
        0 0 0 1px rgba(212, 165, 116, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.puja-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.puja-card-modern:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow: 
        0 25px 70px rgba(255, 107, 53, 0.3),
        0 0 0 2px var(--temple-gold);
}

.puja-card-modern:hover::before {
    opacity: 1;
}

/* Popular Ribbon */
.popular-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient-flame);
    color: white;
    padding: 8px 45px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
    z-index: 3;
}

.ribbon-icon {
    margin-right: 5px;
}

/* Card Header with Icon */
.puja-card-header {
    text-align: center;
    margin-bottom: 25px;
}

.puja-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--card-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    transition: all 0.4s ease;
}

.puja-card-modern:hover .puja-icon-circle {
    transform: scale(1.15) rotate(360deg);
}

/* Card Body */
.puja-card-body {
    text-align: center;
    margin-bottom: 10px;
    flex: 1;
}

.puja-card-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--temple-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.puja-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Price Section */
.puja-price-section {
    text-align: center;
    margin-bottom: 25px;
}

.price-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 0px 30px 10px 30px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(212, 165, 116, 0.1));
    border: 2px solid var(--temple-gold);
    border-radius: 20px;
}

.currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--temple-maroon);
}

.amount {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--temple-dark);
}

/* Card Footer */
.puja-card-footer {
    margin-top: auto;
}

.btn-puja-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: var(--temple-orange);
    color: white;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-puja-book:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
    color: white;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-puja-book:hover .btn-arrow {
    transform: translateX(5px);
}

/* Card Glow Effect */
.card-glow-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--card-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.puja-card-modern:hover .card-glow-effect {
    opacity: 1;
}

/* =====================================================
   VIEW ALL BUTTON
   ===================================================== */
.puja-cta-section {
    text-align: center;
    position: relative;
    z-index: 2;
}

.btn-view-all-pujas {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 45px;
    background: var(--gradient-divine);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 
        0 12px 35px rgba(139, 0, 0, 0.4),
        0 0 0 2px rgba(212, 165, 116, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-view-all-pujas::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-view-all-pujas:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 18px 50px rgba(255, 107, 53, 0.5),
        0 0 0 3px var(--temple-gold);
    color: white;
}

.btn-view-all-pujas:hover::before {
    left: 100%;
}

.btn-view-all-pujas .btn-icon-right {
    transition: transform 0.4s ease;
}

.btn-view-all-pujas:hover .btn-icon-right {
    transform: translateX(6px);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1200px) {
    .about-content-wrapper {
        gap: 60px;
    }
    
    .puja-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 992px) {
    .about-showcase,
    .puja-services-showcase {
        padding: 80px 0;
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-main-heading,
    .heading-title-puja {
        font-size: 42px;
    }
    
    .puja-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-showcase,
    .puja-services-showcase {
        padding: 60px 0;
    }
    
    .about-main-heading,
    .heading-title-puja {
        font-size: 36px;
    }
    
    .about-description-text {
        font-size: 16px;
    }
    
    .puja-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .btn-about-primary,
    .btn-view-all-pujas {
        padding: 16px 35px;
        font-size: 15px;
    }
    
    .floating-bell {
        display: none;
    }
}

@media (max-width: 576px) {
    .about-main-heading,
    .heading-title-puja {
        font-size: 30px;
    }
    
    .about-info-highlights {
        flex-direction: column;
    }
    
    .highlight-badge {
        width: 100%;
        justify-content: center;
    }
    
    .btn-about-primary {
        width: 100%;
        justify-content: center;
    }
    
    .image-overlay-badge {
        bottom: 20px;
        left: 20px;
        padding: 15px 20px;
    }
    
    .badge-icon-large {
        font-size: 28px;
    }
    
    .badge-title {
        font-size: 16px;
    }
    
    .puja-card-modern {
        min-height: 350px;
    }
    
    .btn-view-all-pujas {
        width: 100%;
        max-width: 400px;
    }
}

/* =====================================================
   LOADING ANIMATIONS
   ===================================================== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-text-section,
.about-image-section {
    animation: fade-in-up 0.8s ease-out both;
}

.about-image-section {
    animation-delay: 0.2s;
}

.puja-card-wrapper {
    animation: fade-in-up 0.6s ease-out both;
}

.puja-card-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.puja-card-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.puja-card-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

.puja-card-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}

.puja-card-bottom {
    
   padding:0px 28px 35px 28px; 
    
}
.puja-image-container img{
    width: 100%;
    height: 240px;
    object-fit: cover;
    
}