/*
  NOTE: Header and footer should look the same as other pages.
  Do NOT override or style .header, .footer, .dark-footer, .skin-dark-footer, .general_header, .header_topbar, .footer-middle, .footer-bottom, etc. in this file.
  Only donation-specific styles below.
*/
    /* Enhanced Gallery Styling */
    .nav-pills .nav-link.active,
    .show>.nav-pills .nav-link {
        color: #fff;
        background-color: #f4d184 !important;
    }

    .gallery-container {
        margin: 0 -10px;
    }

    .gallery-item-wrapper {
        padding: 10px;
        margin-bottom: 20px;
    }

    .gallery-card {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        height: 100%;
    }

    .gallery-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .gallery-img-container {
        position: relative;
        overflow: hidden;
        border-radius: 10px;
    }

    .gallery-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-card:hover .gallery-img-container img {
        transform: scale(1.05);
    }

    .gallery-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        padding: 20px 15px;
        color: white;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .gallery-card:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .gallery-date {
        font-size: 12px;
        opacity: 0.8;
    }

    .gallery-zoom {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        width: 50px;
        height: 50px;
        background: rgba(244, 209, 132, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
        transition: all 0.3s ease;
    }

    .gallery-card:hover .gallery-zoom {
        transform: translate(-50%, -50%) scale(1);
    }

    .category-nav .nav-pills .nav-link {
        border-radius: 30px;
        padding: 8px 20px;
        margin: 0 5px;
        transition: all 0.3s ease;
        font-weight: 500;
        color: #333;
        border: 1px solid #f4d184;
    }

    .category-nav .nav-pills .nav-link:hover {
        background-color: rgba(244, 209, 132, 0.2);
    }

    .masonry-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        grid-gap: 20px;
        grid-auto-flow: dense;
    }

    .masonry-item {
        grid-row-end: span 1;
    }

    .masonry-item:nth-child(4n+1) {
        grid-row-end: span 2;
    }

    .masonry-item:nth-child(5n+3) {
        grid-column-end: span 1;
        grid-row-end: span 1;
    }

    .pagination .page-link {
        color: #333;
        border-radius: 5px;
        margin: 0 3px;
        border: 1px solid #f4d184;
    }

    .pagination .page-item.active .page-link {
        background-color: #f4d184;
        border-color: #f4d184;
        color: white;
    }

    .pagination .page-link:hover {
        background-color: rgba(244, 209, 132, 0.2);
    }

    .breadcrumbs_wrap {
        background-image: url('assets/img/temple-banner.jpg');
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .breadcrumbs_wrap:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
    }

    .no-images-found {
        padding: 50px 20px;
        text-align: center;
        background: rgba(244, 209, 132, 0.1);
        border-radius: 10px;
        margin: 20px 0;
    }

    .no-images-found i {
        font-size: 50px;
        color: #f4d184;
        margin-bottom: 15px;
        display: block;
    }

    .gallery-count {
        background: rgba(244, 209, 132, 0.2);
        color: #333;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 11px;
        margin-left: 5px;
        font-weight: 600;
    }

    /* Filter buttons animation */
    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }

        100% {
            transform: scale(1);
        }
    }

    .category-nav .nav-pills .nav-link.active {
        animation: pulse 1.5s infinite;
    }
        :root {
            --saffron: rgb(209, 31, 49);
            --deep-saffron: rgb(51, 23, 65);
            --golden: #ffc107;
            --divine-blue: #1565c0;
            --cream: #fff8e1;
            --light-saffron: #fff3e0;
        }

        .body1 {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, var(--cream) 0%, var(--light-saffron) 100%);
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        .floating-elements {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
        }

        .floating-om {
            position: absolute;
            font-size: 2rem;
            opacity: 0.1;
            animation: float 15s infinite ease-in-out;
            color: var(--saffron);
        }

        .floating-om:nth-child(1) {
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-om:nth-child(2) {
            top: 20%;
            right: 15%;
            animation-delay: 3s;
        }

        .floating-om:nth-child(3) {
            bottom: 30%;
            left: 20%;
            animation-delay: 6s;
        }

        .floating-om:nth-child(4) {
            bottom: 15%;
            right: 10%;
            animation-delay: 9s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            25% { transform: translateY(-20px) rotate(90deg); }
            50% { transform: translateY(-10px) rotate(180deg); }
            75% { transform: translateY(-30px) rotate(270deg); }
        }

        .container {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            /* padding: 20px; */
        }

        .header1 {
            z-index: 1;
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem;
            background: linear-gradient(135deg, var(--saffron), #DF3B66);
      
            color: white;
            box-shadow: 0 15px 35px rgba(255, 119, 34, 0.3);
            position: relative;
            overflow: hidden;
        }

      

        @keyframes shimmer {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .header1 h1 {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .header1 p {
            font-size: 1.2rem;
            margin-bottom: 0;
            opacity: 0.95;
        }

        .seva-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .seva-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 3px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .seva-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--saffron), var(--golden), var(--saffron));
        }

        .seva-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(255, 119, 34, 0.2);
            border-color: var(--saffron);
        }

        .seva-title {
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--divine-blue);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .seva-title i {
            color: var(--saffron);
            font-size: 1.5rem;
        }

        .seva-amount {
            font-size: 2rem;
            font-weight: bold;
            color: var(--deep-saffron);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .donate-btn {
            width: 100%;
            padding: 1rem 2rem;
            background: linear-gradient(135deg, rgb(216, 49, 66), rgb(194, 55, 69));
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            box-shadow: 0 5px 15px rgb(194, 55, 69);
        }

        .donate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 119, 34, 0.4);
            background: linear-gradient(135deg, var(--deep-saffron), var(--saffron));
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 5px 15px rgba(255, 119, 34, 0.3); }
            50% { box-shadow: 0 5px 15px rgba(255, 119, 34, 0.6), 0 0 30px rgba(255, 119, 34, 0.3); }
            100% { box-shadow: 0 5px 15px rgba(255, 119, 34, 0.3); }
        }

        .payment-section {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            border-top: 4px solid var(--saffron);
        }

        .payment-title {
            text-align: center;
            color: var(--divine-blue);
            margin-bottom: 2rem;
            font-size: 2rem;
            font-weight: bold;
        }

        .payment-title i {
            color: var(--saffron);
            margin-right: 0.5rem;
        }

        .payment-methods {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 2rem;
        }

        .payment-method {
            background: var(--light-saffron);
            border-radius: 15px;
            padding: 2rem;
            border: 2px solid var(--saffron);
        }

        .method-title {
            font-size: 1.4rem;
            font-weight: bold;
            color: var(--divine-blue);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .method-title i {
            color: var(--saffron);
            font-size: 1.6rem;
        }

        .qr-section {
            text-align: center;
        }

        .qr-code {
            max-width: 200px;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            margin-bottom: 1rem;
        }

        .bank-details {
            background: white;
            border-radius: 10px;
            padding: 1.5rem;
            margin-bottom: 1rem;
        }

        .bank-detail {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid #eee;
        }

        .bank-detail:last-child {
            border-bottom: none;
        }

        .bank-label {
            font-weight: bold;
            color: var(--divine-blue);
        }

        .bank-value {
            color: var(--deep-saffron);
            font-weight: 600;
            font-family: monospace;
        }

        .note {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 10px;
            padding: 1rem;
            color: #856404;
        }

        .note i {
            color: var(--saffron);
            margin-right: 0.5rem;
        }

        .modal {
            z-index: 1050;
        }

        .modal-content {
            border-radius: 20px;
            border: none;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
        }

        .modal-header {
            background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
            color: white;
            border-radius: 20px 20px 0 0;
            border: none;
        }

        .modal-body {
            padding: 2rem;
        }

        .form-control:focus {
            border-color: var(--saffron);
            box-shadow: 0 0 0 0.2rem rgba(255, 119, 34, 0.25);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
            border: none;
            border-radius: 25px;
            padding: 0.8rem 2rem;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, var(--deep-saffron), var(--saffron));
            transform: translateY(-1px);
        }

        @media (max-width: 768px) {
            .seva-container {
                grid-template-columns: 1fr;
            }
            
            .payment-methods {
                grid-template-columns: 1fr;
            }
            
            .header1 h1 {
                font-size: 2rem;
            }
            
            .header1 p {
                font-size: 1rem;
            }
            
            .container {
                padding: 10px;
            }
        }

        .success-animation {
            animation: successPulse 0.6s ease;
        }

        @keyframes successPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
