/* CSS Reset & Base Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --royal-maroon: #4a0414;
    --deep-black: #050505;
    --gold-light: #fcf6ba;
    --gold-dark: #b38728;
    --silver: #e0e0e0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--deep-black);
    color: white;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Layout & Container */
.container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    flex-grow: 1;
}

/* Animated Premium Background */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 10%, rgba(74, 4, 20, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(74, 4, 20, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(18, 18, 18, 1) 0%, #000000 100%);
}

/* Header Styles */
.header-section {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.header-subtitle {
    color: #d1d5db;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.header-title {
    font-family: 'Cinzel', serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.header-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    text-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

/* Gold Gradient Text */
.text-gold {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(179, 135, 40, 0.2);
}

/* Price Tag Pill */
.price-wrapper {
    display: inline-block;
}

.price-pill {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 20px rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    position: relative;
    overflow: hidden;
}

.price-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
}

.price-pill::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Grid Layouts */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

/* Glassmorphism Card Style */
.glass-card {
    background: rgba(20, 20, 25, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 35, 0.8);
}

/* Dynamic Neon Borders */
.neon-border {
    border: 1px solid var(--neon-color);
    box-shadow: 0 0 15px rgba(0,0,0,0.5), inset 0 0 10px rgba(var(--neon-rgb), 0.15);
}

.neon-border:hover {
    box-shadow: 0 0 20px rgba(var(--neon-rgb), 0.4), inset 0 0 15px rgba(var(--neon-rgb), 0.3);
}

.neon-green { --neon-color: #25D366; --neon-rgb: 37, 211, 102; }
.neon-purple { --neon-color: #a855f7; --neon-rgb: 168, 85, 247; }
.neon-orange { --neon-color: #f59e0b; --neon-rgb: 245, 158, 11; }
.neon-blue { --neon-color: #3b82f6; --neon-rgb: 59, 130, 246; }
.neon-cyan { --neon-color: #06b6d4; --neon-rgb: 6, 182, 212; }
.neon-gold { --neon-color: #eab308; --neon-rgb: 234, 179, 8; }
.neon-silver { --neon-color: #94a3b8; --neon-rgb: 148, 163, 184; }

/* Card Content Styling */
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-box i {
    margin: 0 2px;
}

.card-title {
    margin-left: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.card-title span {
    color: #d1d5db;
    font-size: 1.125rem;
    font-weight: 500;
}

.card-desc {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.625;
}

/* Specific Colors for Icons */
.icon-green { color: #25D366; border-color: rgba(37,211,102,0.3); background: rgba(37,211,102,0.1); }
.icon-purple { color: #a855f7; border-color: rgba(168,85,247,0.3); background: rgba(168,85,247,0.1); }
.icon-orange { color: #f59e0b; border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.1); }
.icon-blue { color: #3b82f6; border-color: rgba(59,130,246,0.3); background: rgba(59,130,246,0.1); }
.icon-cyan { color: #06b6d4; border-color: rgba(6,182,212,0.3); background: rgba(6,182,212,0.1); }
.icon-gold { color: #eab308; border-color: rgba(234,179,8,0.3); background: rgba(234,179,8,0.1); }
.icon-silver { color: #94a3b8; border-color: rgba(148,163,184,0.3); background: rgba(148,163,184,0.1); }

/* Custom QR Code Card Styling */
.qr-card {
    background-color: #eaf3fc;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.qr-card:hover {
    transform: scale(1.02);
}

.qr-content-z {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e7ff;
}

.qr-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qr-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #a855f7;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.qr-name {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.875rem;
}

.qr-number {
    background-color: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.qr-instruction {
    font-size: 0.625rem;
    text-align: center;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
}

.qr-box {
    background-color: white;
    padding: 0.75rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 2px solid #eff6ff;
    position: relative;
    margin-bottom: 0.75rem;
}

.qr-image {
    width: 10rem;
    height: 10rem;
    object-fit: contain;
}

.qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 50%;
    padding: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 1.5rem;
    height: 1.5rem;
}

.qr-footer {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.qr-upi-logo {
    height: 1rem;
}

.qr-upi-id {
    color: #1f2937;
    font-weight: 700;
    font-size: 0.75rem;
}

.qr-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 0;
    background-image: radial-gradient(#000 1px, transparent 1px);
    background-size: 10px 10px;
}

/* Footer Section */
.footer {
    width: 100%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 20;
    margin-top: auto;
}

.footer-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.footer-links {
    color: #9ca3af;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold-dark);
}

.footer-links span {
    display: none;
    color: var(--gold-dark);
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.footer-contact i {
    color: var(--gold-dark);
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--gold-dark);
}

/* Floating elements */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--deep-black); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
    .header-title { font-size: 3.75rem; }
    .header-tagline { font-size: 1.875rem; }
    .price-pill { padding: 1rem 3rem; }
    .price-text { font-size: 2.25rem; }
    
    .services-grid, .bottom-grid { grid-template-columns: repeat(2, 1fr); }
    
    .card-desc { font-size: 1rem; }
    
    .qr-name, .qr-number { font-size: 1rem; }
    .qr-instruction { font-size: 0.75rem; }
    .qr-image { width: 12rem; height: 12rem; }
    .qr-upi-id { font-size: 0.875rem; }

    .footer-title { font-size: 2.25rem; }
    .footer-links { flex-direction: row; gap: 1rem; font-size: 0.875rem; }
    .footer-links span { display: inline; }
    .footer-contact { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
    .header-title { font-size: 4.5rem; }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 20px;
}

/* Button Container Styling */
.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Text aur Icon ke beech ki doori */
    padding: 12px 24px;
    background-color: #2563eb; /* Primary Blue Color */
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Icon Styling */
.btn-explore svg {
    transition: transform 0.3s ease;
}

/* Hover Effects */
.btn-explore:hover {
    background-color: #1d4ed8; /* Darker Blue on hover */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px); /* Halki si lift */
}

/* Arrow Animation on Hover */
.btn-explore:hover svg {
    transform: translateX(5px); /* Hover karne par arrow aage move hoga */
}

/* Active/Click Effect */
.btn-explore:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}