/* EXECUTIVE RESET SHEET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0a07; /* Dark elegant foundation base */
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.5;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
}

/* BRANDING COLOR SYSTEM & TYPOGRAPHY */
h1, h2, h3, .shloka {
    font-family: 'Marcellus', serif;
}

.gold-text {
    color: #f1c40f;
    background: linear-gradient(135deg, #ffe082 0%, #d4a359 60%, #a17228 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* NAVBAR BRANDING BLOCK */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    background: linear-gradient(to bottom, rgba(13, 10, 7, 0.95) 70%, rgba(13, 10, 7, 0));
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text h1 {
    color: #f3c677;
    font-size: 1.4rem;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.68rem;
    color: #a8a095;
    letter-spacing: 3px;
    margin-top: 2px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #e0dbd5;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 400;
    transition: 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffe082;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d4a359;
}




/*Home Section*/
/* PURE HERO CANVAS WRAPPER */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 140px;
    background-color: #0b0806;
    overflow: hidden;
}

/* BACKGROUND IMAGE LAYER */
.hero-bg-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-canvas-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center; 
}

/* CONTENT CONTAINER PLACEMENT */
.main-content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-left: 5%;
}

.hero-left-pane {
    max-width: 680px;
}

.shloka {
    color: #e5b869;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.shloka .ornament {
    font-size: 0.85rem;
}

.main-title {
    font-size: 4.8rem;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* Premium Geometric Dividers */
.premium-divider {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.premium-divider .line-left, .premium-divider .line-right {
    height: 1px;
    width: 60px;
}

.premium-divider .line-left {
    background: linear-gradient(90deg, transparent, #d4a359);
}

.premium-divider .line-right {
    background: linear-gradient(90deg, #d4a359, transparent);
}

.premium-divider .leaf-center {
    color: #ffe082;
    font-size: 0.9rem;
    padding: 0 12px;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 35px;
    max-width: 580px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

/* BUTTON SYSTEMS */
.btn {
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.22, 1);
}

.btn-gold {
    background: linear-gradient(135deg, #ffe082 0%, #d4a359 100%);
    color: #0d0a07;
    font-weight: 600;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 163, 89, 0.3);
}

.btn-outline {
    border: 1px solid rgba(212, 163, 89, 0.4);
    color: #ffffff;
    background: rgba(13, 10, 7, 0.4);
}

.btn-outline:hover {
    border-color: #ffe082;
    color: #ffe082;
    background: rgba(212, 163, 89, 0.05);
    transform: translateY(-2px);
}

/* THREE CORE PILLARS HORIZONTAL ROW BLOCKS */
.pillars-row-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 680px;
    background: rgba(255, 255, 255, 0.01);
    padding: 15px 0;
    border-radius: 6px;
}

.pillar-node {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.node-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212, 163, 89, 0.08);
    border: 1px solid rgba(212, 163, 89, 0.25);
    color: #ffe082;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.node-meta h3 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 3px;
    font-weight: 500;
}

.node-meta p {
    font-size: 0.8rem;
    color: #aba49a;
    line-height: 1.4;
}

/* FIXED BOTTOM DASHBOARD OVERLAY PANEL */
.stats-dock-bar {
    position: absolute;
    bottom: 25px;
    left: 4%;
    width: 92%;
    background: rgba(17, 14, 10, 0.75);
    border: 1px solid rgba(212, 163, 89, 0.2);
    border-radius: 10px;
    padding: 25px;
    backdrop-filter: blur(25px);
    z-index: 100;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}

.stats-inner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.stat-metric-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid rgba(212, 163, 89, 0.18);
}

.stat-metric-item:last-child {
    border-right: none;
}

.metric-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 163, 89, 0.04);
    border: 1px solid rgba(212, 163, 89, 0.25);
    color: #ffe082;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.metric-body h3 {
    font-size: 1.8rem;
    color: #e5b869;
    font-weight: 600;
    line-height: 1.1;
}

.metric-body p {
    font-size: 0.85rem;
    color: #a8a095;
    margin-top: 2px;
}

/* FLOATING ACTIVE INTERFACE WHATSAPP */
.whatsapp-anchor {
    position: fixed;
    bottom: 30px;
    right: 35px;
    background-color: #25d366;
    color: #ffffff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: 0.3s ease;
}

.whatsapp-anchor:hover {
    transform: scale(1.08) translateY(-3px);
}

/* RESPONSIVE FLUID MEDIA RECONFIGURATIONS */

@media (max-width: 1200px) {
    .main-title { font-size: 3.8rem; }
    .hero-bg-container { width: 50%; }
}

@media (max-width: 992px) {
    .navbar { 
        padding: 15px 25px !important; 
        position: fixed !important;
        top: 0; left: 0; width: 100%;
        z-index: 9999 !important;
        background: #130f0c !important; 
        box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    }
    
    /* Target space to prevent content overlap under fixed header */
    body { padding-top: 80px !important; }
    body.menu-open-lock { overflow: hidden !important; }

    /* CRITICAL HAMBURGER FIXED STATE DISPLAY */
    .mobile-menu-toggle { display: block !important; }

    /* CONVERT NAVIGATION TO FIXED SLIDE OVERLAY COMPANION */
    .nav-links { 
        position: fixed !important;
        top: 75px !important;
        left: -100% !important; /* Kept out of bounds default screen */
        width: 100% !important;
        height: calc(100vh - 75px) !important;
        background: #0d0a08 !important;
        display: flex !important; /* Overriding old 'display: none' bug */
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding-top: 50px !important;
        gap: 25px !important;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        z-index: 9998 !important;
        border-top: 1px solid rgba(212, 163, 89, 0.1);
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* JavaScript dynamic active layout class trigger */
    .nav-links.mobile-menu-active { 
        left: 0 !important; 
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-links a {
        font-size: 1.25rem !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 0 !important;
        color: #ffffff !important;
        display: block !important;
    }
    .nav-links a:hover, .nav-links a.active {
        color: #ffe082 !important;
    }

    /* HERO SECTION & SHLOK ABSOLUTE CENTER GRID FIX */
    .hero-section { padding-top: 130px; text-align: center !important; }
    .hero-bg-container { width: 100%; height: 100%; top: 0; right: 0; }
    
    .hero-left-pane { 
        max-width: 100%; 
        text-align: center !important; 
        align-items: center !important; 
        padding: 20px; 
    }

    /* Fixes any custom inline/desktop shlok left margin leakage */
    .hero-left-pane h3,
    .hero-left-pane .shlok-text,
    .hero-left-pane span {
        display: inline-block !important;
        text-align: center !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    .premium-divider { justify-content: center; }
    .hero-actions { justify-content: center; }
    
    /* Core Content Grid Structures */
    .pillars-row-grid { grid-template-columns: 1fr; gap: 20px; width: 100%; max-width: 400px; margin: 0 auto; }
    .pillar-node { flex-direction: column; align-items: center; }
    .stats-inner-grid { grid-template-columns: repeat(2, 1fr); gap: 25px 0; }
    .stat-metric-item:nth-child(2) { border-right: none; }
}

@media (max-width: 576px) {
    .main-title { font-size: 2.5rem; }
    .stats-inner-grid { grid-template-columns: 1fr; gap: 20px; }
    .stat-metric-item { border-right: none; }
    .hero-actions { flex-direction: column; width: 100%; gap: 15px; }
    .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .logo-text h1 { font-size: 1.1rem !important; }
}

/*ROYAL FOOTER STYLING*/
.main-footer {
    background-image: url('src/footer-bg.png') !important; 
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-top: 1px solid rgba(212, 163, 89, 0.25);
    padding-top: 80px;
    position: relative;
    z-index: 100;
    width: 100%;
}

.footer-container {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr !important;
    gap: 30px !important;
    padding-bottom: 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.footer-col {
    display: block !important;
}

.footer-logo-block {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-logo-text h3 {
    color: #f3c677;
    font-size: 1.15rem;
    line-height: 1.2;
    margin: 0;
}

.footer-logo-text p {
    font-size: 0.6rem;
    color: #a8a095;
    letter-spacing: 1.5px;
    margin: 4px 0 0 0;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social-icons {
    display: flex !important;
    gap: 10px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: rgba(7, 5, 4, 0.6);
    border: 1px solid rgba(212, 163, 89, 0.3);
    color: #ffe082;
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: linear-gradient(135deg, #ffe082 0%, #d4a359 100%);
    color: #0d0a07;
    transform: translateY(-3px);
}

.footer-heading {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.footer-heading-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #d4a359, transparent);
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-menu li {
    margin-bottom: 12px !important;
    display: block !important;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex !important;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #ffe082;
    padding-left: 4px;
}

.text-gold-icon {
    font-size: 0.8rem;
    color: #d4a359;
}

.footer-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-contact-list li {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    align-items: flex-start !important;
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(7, 5, 4, 0.6);
    border: 1px solid rgba(212, 163, 89, 0.4);
    color: #ffe082;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.contact-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px;
}

.contact-meta span {
    font-size: 0.7rem;
    color: #c4b9a9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-meta a, .contact-meta p {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.4;
}

.contact-meta a:hover {
    color: #ffe082;
}

.footer-bottom {
    background-color: rgba(4, 3, 2, 0.85);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-flex {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.footer-bottom p {
    color: #888888;
    font-size: 0.8rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex !important;
    gap: 20px;
}

.footer-bottom-links a {
    color: #888888;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-bottom-links a:hover {
    color: #ffe082;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr !important;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}


/* GLOBAL HEADER STYLE SPECIFICATIONS*/
.section-tagline {
    color: #d4a359;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section-main-heading {
    color: #ffffff;
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0;
}

.heading-gold-separator {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px auto 25px auto;
    max-width: 150px;
    width: 100%;
}

.heading-gold-separator span {
    width: 40px;
    height: 1px;
    background: rgba(212, 163, 89, 0.4);
}

.text-center-header {
    text-align: center;
    margin-bottom: 45px;
}

.text-center-header .heading-gold-separator {
    justify-content: center;
}

.text-center-btn {
    text-align: center;
    margin-top: 40px;
}

.btn-royal-gold {
    background: linear-gradient(135deg, #ffe082 0%, #d4a359 100%);
    color: #070504;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 163, 89, 0.2);
}

.btn-royal-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 89, 0.4);
}

.btn-royal-secondary {
    border: 1px solid rgba(212, 163, 89, 0.4);
    background: rgba(212, 163, 89, 0.03);
    color: #ffe082;
    padding: 12px 28px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-royal-secondary:hover {
    background: rgba(212, 163, 89, 0.1);
    color: #ffffff;
    border-color: #ffe082;
    transform: translateY(-2px);
}


/* ABOUT US SECTION STYLING */
.home-about-section {
    background-color: #0d0a08;
    padding: 50px 0;
    border-top: 1px solid rgba(212, 163, 89, 0.1);
}

.about-grid-layout {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 50px !important;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.about-para-highlight {
    color: #f3c677;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-para-normal {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-visual-showcase {
    display: block !important;
    position: relative;
}

.about-image-card {
    position: relative;
    padding: 10px;
}

.about-inner-img {
    width: 100%;
    border-radius: 6px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    filter: sepia(20%) brightness(90%);
}

.royal-border-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid #d4a359;
    border-radius: 6px;
    z-index: -1;
    opacity: 0.4;
}


/* ACTIVITIES SECTION STYLING (FIXED MESH)*/
.home-activities-section {
    background-color: #070504;
    padding: 50px 0;
    border-top: 1px solid rgba(212, 163, 89, 0.1);
    width: 100%;
}

.activities-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* Fixed 3 Column Layout Rule */
    gap: 30px !important;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.activity-royal-card {
    background: #0d0a08;
    border: 1px solid rgba(212, 163, 89, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 12px; 
    height: 380px; 
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.activity-royal-card:hover {
    border-color: #d4a359;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.activity-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    background-color: #040302;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.activity-news-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Proportional scale preservation system */
    display: block;
    transition: transform 0.5s ease;
}

.activity-royal-card:hover .activity-news-img {
    transform: scale(1.03); 
}


/* TEJAJI SECTION CUSTOM STYLING (IMAGE LEFT / TEXT RIGHT)*/

.royal-tejaji-section {
    position: relative !important;
    min-height: 650px !important;
    background-color: #0c0907 !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(212, 163, 89, 0.15) !important;
    display: flex !important;
    align-items: center !important;
}

.tejaji-bg-hero-layer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.tejaji-bg-hero-layer .tejaji-royal-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: left center !important;
}

/* SMART OVERLAY: Central localized contrast smoke to protect text, keeping left shine and right corners fully crisp and sharp */
.tejaji-image-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* 0% to 35% remains crystal clear for natural shine. 50% to 80% handles dark backdrop under text. 90% goes clear again to expose the beautiful right side flower arts */
    background: linear-gradient(to right, 
        rgba(12, 9, 7, 0) 0%, 
        rgba(12, 9, 7, 0.1) 35%, 
        rgba(12, 9, 7, 0.75) 55%, 
        rgba(12, 9, 7, 0.8) 75%,
        rgba(12, 9, 7, 0.3) 90%,
        rgba(12, 9, 7, 0) 100%
    ) !important;
}

.tejaji-content-container {
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
}

/* Aligning text block precisely in that golden sweet spot */
.tejaji-text-side {
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: 80px !important; /* Kept breathing room from right border art */
    padding: 60px 0 !important;
}

.tejaji-royal-title {
    font-family: 'Marcellus', serif !important;
    font-size: 3.2rem !important;
    color: #ffffff !important;
    margin: 5px 0 15px 0 !important;
    line-height: 1.2 !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9) !important;
}

.heading-gold-separator-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 25px !important;
}

.heading-gold-separator-left i {
    color: #d4a359 !important;
}

.heading-gold-separator-left span {
    height: 1px !important;
    width: 100px !important;
    background: linear-gradient(to right, #d4a359, transparent) !important;
}

.royal-quote-block {
    border-left: 3px solid #d4a359 !important;
    padding-left: 20px !important;
    margin-bottom: 25px !important;
    background: rgba(12, 9, 7, 0.75) !important; /* Solid block shadow for quote safety over pattern background */
    padding: 12px 15px 12px 20px !important;
    border-radius: 0 8px 8px 0 !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(212, 163, 89, 0.1) !important;
    border-left: 3px solid #d4a359 !important;
}

.hindi-quote {
    font-family: 'Marcellus', serif !important;
    color: #ffe082 !important;
    font-size: 1.3rem !important;
    margin: 0 0 5px 0 !important;
}

.english-quote {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.tejaji-royal-para {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.02rem !important;
    line-height: 1.7 !important;
    margin-bottom: 35px !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95) !important; /* Keeps text highly visible over micro details of background */
}

/* Responsive adjustment for Mobile viewports */
@media (max-width: 1199px) {
    .tejaji-text-side {
        margin-right: 20px !important;
    }
}

@media (max-width: 991px) {
    .tejaji-image-overlay {
        background: linear-gradient(to bottom, rgba(12, 9, 7, 0.2) 0%, rgba(12, 9, 7, 0.8) 50%, #0c0907 95%) !important;
    }
    .tejaji-text-side {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 340px 20px 30px 20px !important;
    }
}


/* GALLERY SECTION STYLING*/
.home-gallery-section {
    background-color: #0d0a08;
    padding: 50px 0;
    border-top: 1px solid rgba(212, 163, 89, 0.15);
}

.gallery-grid-layout {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.gallery-item-box {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(212, 163, 89, 0.15);
    aspect-ratio: 4 / 3;
    background-color: #070504;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.gallery-item-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
}

.gallery-hover-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 5, 4, 0.85);
    border: 2px solid #d4a359;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 15px;
    text-align: center;
}

.gallery-item-box:hover .gallery-hover-mask {
    opacity: 1;
}

.gallery-item-box:hover img {
    transform: scale(1.08);
}


/* ADVANCED MASTER RESPONSIVE GALLERY SECTION GRID MEDIA BREAKPOINTS*/
@media (max-width: 1024px) {
    .activities-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
    .gallery-grid-layout {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 992px) {
    .about-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    /* Responsive Stack Flow Overrides for Tejaji Section */
    .home-tejaji-history-section .tejaji-history-grid-layout {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 40px !important;
    }
    .home-tejaji-history-section .tejaji-history-visual-frame {
        grid-column: 1 !important;
        order: 2 !important; /* Clean bottom sequence structure */
        max-width: 380px !important;
    }
    .home-tejaji-history-section .tejaji-history-content {
        grid-column: 1 !important;
        order: 1 !important;
        text-align: center !important;
    }
    .home-tejaji-history-section .history-quote {
        border-left: none;
        border-top: 1px solid rgba(212, 163, 89, 0.25);
        border-bottom: 1px solid rgba(212, 163, 89, 0.25);
        padding: 15px 0;
    }
}

@media (max-width: 768px) {
    .section-main-heading {
        font-size: 1.9rem;
    }
    .activities-cards-grid {
        grid-template-columns: 1fr !important; /* Pure Single Column for Mobile View */
    }
    .activity-royal-card {
        height: 380px;
    }
    .gallery-grid-layout {
        grid-template-columns: 1fr !important;
    }
    .home-about-section, 
    .home-activities-section, 
    .home-tejaji-history-section, 
    .home-gallery-section {
        padding: 60px 0 !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    .gallery-grid-layout {
        grid-template-columns: 1fr !important;
    }
}



/* PRODUCTION READY: GALLERY PAGE CODES (BLENDED ARCHITECTURE) */

/* INNER PAGE HERO BANNER */

.gallery-hero-banner {
    position: relative !important;
    padding: 180px 0 100px 0 !important;
    background-color: #070504 !important;
    background-image: url('src/footer-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(212, 163, 89, 0.2) !important;
}

.gallery-hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* Dark gradient ko hata kar poora transparent kiya taaki corner designs footer ki tarah saaf dikhein */
    background: transparent !important; 
    z-index: 1 !important;
}

.gallery-hero-content {
    position: relative !important;
    z-index: 5 !important;
}

.gallery-main-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin: 10px 0 0 0 !important;
    color: #ffffff !important;
}

.gallery-hero-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.05rem !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}
/* DYNAMIC FILTER TABS SYSTEM */
.gallery-wrapper-section {
    background-color: #0d0a08;
    padding: 60px 0 100px 0;
}

.gallery-filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(212, 163, 89, 0.03);
    border: 1px solid rgba(212, 163, 89, 0.25);
    color: #e0dbd5;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, #ffe082 0%, #d4a359 100%);
    color: #070504;
    border-color: #ffe082;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 163, 89, 0.25);
}

/* MASTER MESH LAYOUT FOR GALLERY IMAGES */
.master-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.gallery-card-item {
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: scale(1);
    opacity: 1;
}

.gallery-card-item.hidden {
    display: none !important;
}

.gallery-card-inner {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(212, 163, 89, 0.15);
    aspect-ratio: 4 / 3;
    background-color: #070504;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.gallery-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* OVERLAY HOVER STATE */
.gallery-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 5, 4, 0.95) 40%, rgba(7, 5, 4, 0.4) 100%);
    border: 2px solid #d4a359;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 25px;
    opacity: 0;
    transition: all 0.35s ease;
}

.gallery-card-item:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-item:hover .gallery-card-inner img {
    transform: scale(1.08);
}

.photo-category {
    color: #d4a359;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 5px;
}

.photo-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    font-family: 'Marcellus', serif;
}

.view-large-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 163, 89, 0.1);
    border: 1px solid rgba(212, 163, 89, 0.4);
    color: #ffe082;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-large-btn:hover {
    background: #ffe082;
    color: #070504;
    transform: scale(1.1);
}

/* LIGHTBOX POPUP SYSTEM */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 5, 4, 0.98);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 2100;
}

.lightbox-close:hover { color: #ffe082; }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 163, 89, 0.05);
    border: 1px solid rgba(212, 163, 89, 0.25);
    color: #ffe082;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2100;
}

.lightbox-nav:hover { background: #d4a359; color: #070504; }
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-content-box {
    max-width: 80%;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content-box img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid rgba(212, 163, 89, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lightbox-meta { text-align: center; margin-top: 15px; width: 100%; }
.lightbox-meta span { color: #d4a359; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; }
.lightbox-meta h3 { color: #ffffff; font-size: 1.4rem; margin: 4px 0 0 0; font-family: 'Marcellus', serif; }



/* INNER PAGE HERO BANNER FOR ACTIVITIES PAGE*/

.activities-hero-banner {
    position: relative !important;
    padding: 180px 0 100px 0 !important;
    background-color: #070504 !important;
    background-image: url('src/footer-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(212, 163, 89, 0.2) !important;
}

.activities-hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* Dark gradient ko hata kar poora transparent kiya taaki corner designs footer ki tarah saaf dikhein */
    background: transparent !important; 
    z-index: 1 !important;
}

.activities-hero-content {
    position: relative !important;
    z-index: 5 !important;
}

.activities-main-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin: 10px 0 0 0 !important;
    color: #ffffff !important;
}

.activities-hero-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.05rem !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* FLEXBOX SHAPE ALIGNER FOR SEPARATOR */
.heading-gold-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 15px auto 25px auto;
    max-width: 300px;
    width: 100%;
}

.heading-gold-separator span:empty {
    flex: 1;
    height: 1px;
    background: linear-gradient(to var(--line-direction, right), transparent, rgba(212, 163, 89, 0.6));
}

.heading-gold-separator span:empty:first-child {
    --line-direction: left;
}

/* MASTER GRID FOR ACTIVITIES */
.activities-wrapper-section {
    background-color: #0d0a08;
    padding: 80px 0 100px 0;
}

.master-activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* PREMIUM ACTIVITY CARDS DESIGN */
.activity-page-card {
    background: #130f0c;
    border: 1px solid rgba(212, 163, 89, 0.12);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.activity-page-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 163, 89, 0.4);
    box-shadow: 0 12px 30px rgba(212, 163, 89, 0.15);
}

.activity-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.activity-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.activity-page-card:hover .activity-img-wrapper img {
    transform: scale(1.06);
}

.activity-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffe082 0%, #d4a359 100%);
    color: #070504;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* CARD DETAILS AREA */
.activity-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-meta-info {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.activity-meta-info span {
    font-size: 0.78rem;
    color: #ffe082;
    opacity: 0.85;
}

.activity-meta-info i {
    margin-right: 5px;
    color: #d4a359;
}

.activity-card-title {
    font-family: 'Marcellus', serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.activity-page-card:hover .activity-card-title {
    color: #ffe082;
}

.activity-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.activity-action-btn {
    margin-top: auto;
    color: #ffe082;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: fit-content;
}

.activity-action-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.activity-action-btn:hover {
    color: #ffffff;
}

.activity-action-btn:hover i {
    transform: translateX(5px);
}

/* BREAKPOINTS FOR LAYER STABILITY ACTIVITIES PAGE */
@media (max-width: 1024px) {
    .master-activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .activities-main-title { font-size: 2.8rem; }
    .master-activities-grid {
        grid-template-columns: 1fr;
    }
    .activities-wrapper-section {
        padding: 50px 0;
    }
}


/* STRICT LAYER INTEGRATION: CREATIVE DONATION PAGE (ISOLATED RULES)*/
.creative-donation-section {
    background-color: #0d0a08 !important;
    padding: 100px 0 !important;
    position: relative !important;
    clear: both !important;
    display: block !important;
    border-top: 1px solid rgba(212, 163, 89, 0.15) !important;
    font-family: 'Poppins', sans-serif !important;
}

.creative-donation-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 50px !important;
    align-items: flex-start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* LEFT COLUMN - HEADERS & QR */
.donation-info-column {
    display: flex !important;
    flex-direction: column !important;
}

.creative-donation-section .section-tagline {
    color: #d4a359 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
    display: inline-block !important;
}

.donation-column-title {
    font-family: 'Marcellus', serif !important;
    font-size: 2.8rem !important;
    color: #ffffff !important;
    margin: 5px 0 15px 0 !important;
    line-height: 1.2 !important;
}

.donation-column-title .gold-text {
    color: #d4a359 !important;
}

/* Isolated Target Framing for QR Container */
.donation-qr-box {
    position: relative !important;
    background: #130f0c !important;
    border: 1px solid rgba(212, 163, 89, 0.12) !important;
    padding: 30px !important;
    border-radius: 8px !important;
    text-align: center !important;
    max-width: 260px !important;
    width: 100% !important;
    margin: 0 0 35px 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    box-sizing: border-box !important;
}

.donation-upi-qr {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 4px !important;
}

.qr-upi-id {
    color: #ffe082 !important;
    font-size: 0.9rem !important;
    margin: 15px 0 0 0 !important;
    font-weight: 500 !important;
}

/* QR Scanner Box Corner Borders */
.qr-border-corner {
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    border: 3px solid #d4a359 !important;
    pointer-events: none !important;
}
.top-left { top: 12px !important; left: 12px !important; border-right: none !important; border-bottom: none !important; }
.top-right { top: 12px !important; right: 12px !important; border-left: none !important; border-bottom: none !important; }
.bottom-left { bottom: 12px !important; left: 12px !important; border-right: none !important; border-top: none !important; }
.bottom-right { bottom: 12px !important; right: 12px !important; border-left: none !important; border-top: none !important; }

/* Safety Tips Box Styling */
.donation-tips-box {
    background: rgba(212, 163, 89, 0.03) !important;
    border-left: 4px solid #d4a359 !important;
    padding: 22px !important;
    border-radius: 0 8px 8px 0 !important;
    max-width: 480px !important;
    box-sizing: border-box !important;
}

.donation-tips-box h4 {
    color: #ffffff !important;
    font-family: 'Marcellus', serif !important;
    font-size: 1.15rem !important;
    margin: 0 0 15px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.donation-tips-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.donation-tips-list li {
    font-size: 0.88rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.6 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.donation-tips-list li i {
    color: #d4a359 !important;
    font-size: 0.95rem !important;
    margin-top: 3px !important;
}

/* RIGHT COLUMN DONATE FORM SECTION - STRICT FORM BOX STYLING */
.donation-form-column {
    width: 100% !important;
}

.creative-form-box {
    background: #130f0c !important;
    border: 1px solid rgba(212, 163, 89, 0.2) !important;
    border-radius: 12px !important;
    padding: 40px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5) !important;
    box-sizing: border-box !important;
}

.form-box-title {
    font-family: 'Marcellus', serif !important;
    font-size: 1.75rem !important;
    color: #ffffff !important;
    margin: 0 0 5px 0 !important;
}

.form-box-subtitle {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.85rem !important;
    margin: 0 0 30px 0 !important;
    line-height: 1.4 !important;
}

.form-submit-btn {
    width: 100% !important;
    height: 52px !important;
    background: linear-gradient(135deg, #ffe082 0%, #d4a359 100%) !important;
    color: #070504 !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 5px 15px rgba(212, 163, 89, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    margin-top: 15px !important;
}

/* Premium Hover State Overlay */
.form-submit-btn:hover {
    background: linear-gradient(135deg, #ebdf76 0%, #ffe082 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(212, 163, 89, 0.45) !important;
}

/* Pressed State Link */
.form-submit-btn:active {
    transform: translateY(1px) !important;
}


/* FLOATING INPUT LABELS ENGINE - STRICT OVERRIDES */
.form-input-group {
    position: relative !important;
    margin-bottom: 25px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.form-input-group input {
    width: 100% !important;
    height: 50px !important; /* Fixed default overflow height collapse */
    padding: 0 15px 0 15px !important;
    background: rgba(7, 5, 4, 0.7) !important;
    border: 1px solid rgba(212, 163, 89, 0.25) !important;
    border-radius: 4px !important;
    outline: none !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* Override any default browser theme styles or inputs colors */
.form-input-group input:focus {
    border-color: #ffe082 !important;
    background: #070504 !important;
    box-shadow: 0 0 10px rgba(212, 163, 89, 0.15) !important;
}

.form-input-group label {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: rgba(255, 255, 255, 0.45) !important;
    pointer-events: none !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Strict Trigger Floating Animations */
.form-input-group input:focus ~ label,
.form-input-group input:not(:placeholder-shown) ~ label {
    top: 0px !important;
    left: 10px !important;
    font-size: 0.78rem !important;
    color: #ffe082 !important;
    background: #130f0c !important;
    padding: 2px 8px !important;
}

/* CUSTOM FILE UPLOAD FIELD */
.form-file-group {
    margin-bottom: 25px !important;
    background: rgba(7, 5, 4, 0.5) !important;
    border: 1px dashed rgba(212, 163, 89, 0.3) !important;
    padding: 20px !important;
    border-radius: 4px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.custom-file-upload {
    display: inline-block !important;
    cursor: pointer !important;
}

.custom-file-upload input[type="file"] {
    display: none !important;
}

.file-upload-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(212, 163, 89, 0.1) !important;
    color: #ffe082 !important;
    border: 1px solid rgba(212, 163, 89, 0.4) !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.file-upload-btn:hover {
    background: #ffe082 !important;
    color: #070504 !important;
}

.file-chosen-text {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.8rem !important;
    margin-top: 10px !important;
}

/* SOLID ACTION BUTTON OVERRIDES */
.creative-form-box .form-submit-btn {
    width: 100% !important;
    height: 50px !important;
    background: linear-gradient(135deg, #ffe082 0%, #d4a359 100%) !important;
    color: #070504 !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 5px 15px rgba(212, 163, 89, 0.2) !important;
    transition: all 0.3s ease !important;
}

.creative-form-box .form-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(212, 163, 89, 0.4) !important;
}

/* RESPONSIVE GRID SYSTEM FOR DONATION*/
@media (max-width: 991px) {
    .creative-donation-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .donation-qr-box { margin: 0 auto 30px auto !important; }
    .donation-tips-box { max-width: 100 !important; }
    .creative-form-box { padding: 30px 20px !important; }
    .donation-column-title { font-size: 2.3rem !important; }
}



/* PRODUCTION READY: CONTACT PAGE HUB SPECIFIC STYLING (ISOLATED BLOCKS)*/

/* INNER PAGE HERO BANNER FOR CONTACT */

.contact-hero-banner {
    position: relative !important;
    padding: 180px 0 100px 0 !important;
    background-color: #070504 !important;
    background-image: url('src/footer-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(212, 163, 89, 0.2) !important;
}

.contact-hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* Dark gradient ko hata kar poora transparent kiya taaki corner designs footer ki tarah saaf dikhein */
    background: transparent !important; 
    z-index: 1 !important;
}

.contact-hero-content {
    position: relative !important;
    z-index: 5 !important;
}

.contact-main-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin: 10px 0 0 0 !important;
    color: #ffffff !important;
}

.contact-hero-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.05rem !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* WRAPPER SECTION & CONTAINER SETUP */
.contact-wrapper-section {
    background-color: #0d0a08 !important;
    padding: 80px 0 100px 0 !important;
}

.contact-page-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: flex-start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* LEFT COLUMN - INFO BOXES */
.contact-box-title {
    font-family: 'Marcellus', serif !important;
    font-size: 2.4rem !important;
    color: #ffffff !important;
    margin: 0 0 10px 0 !important;
}

.contact-box-desc {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 35px !important;
}

.contact-page-cards-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.page-info-card {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    background: #130f0c !important;
    border: 1px solid rgba(212, 163, 89, 0.12) !important;
    padding: 22px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.page-info-card:hover {
    transform: translateX(8px) !important;
    border-color: rgba(212, 163, 89, 0.4) !important;
    background: rgba(19, 15, 12, 0.9) !important;
}

.page-card-icon {
    width: 50px !important;
    height: 50px !important;
    background: rgba(212, 163, 89, 0.08) !important;
    border: 1px solid rgba(212, 163, 89, 0.25) !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #ffe082 !important;
    font-size: 1.2rem !important;
}

.page-info-card:hover .page-card-icon {
    background: #d4a359 !important;
    color: #070504 !important;
}

.page-card-text h4 {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin: 0 0 5px 0 !important;
}

.page-card-text a, .page-card-text p {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.page-card-text p:last-child {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 400 !important;
    margin-top: 3px !important;
}

.page-card-text a:hover {
    color: #ffe082 !important;
}

/* RIGHT COLUMN - STANDALONE FORM STYLES */
.contact-page-form-col {
    width: 100% !important;
}

/* Textarea Focus Floating Fixes */
#contactPageMessage:focus {
    border-color: #ffe082 !important;
    background: #070504 !important;
    box-shadow: 0 0 10px rgba(212, 163, 89, 0.15) !important;
}

/* RESPONSIVE DESIGN FOR CONTACT LAYER*/
@media (max-width: 991px) {
    .contact-page-container {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
        padding: 0 20px !important;
    }
    .contact-main-title { font-size: 2.8rem !important; }
    .contact-box-title { font-size: 2rem !important; }
}



/* PRODUCTION READY: MOBILE HAMBURGER MENU ENGINE*/

/* ========================================================
   FIXED: MOBILE HAMBURGER CORE ENGINE WITH RESET OVERRIDES
   ======================================================== */

/* Desktop mode standard default hides the icon wrapper */
.mobile-menu-toggle {
    display: none !important;
    color: #ffffff !important;
    font-size: 1.6rem !important;
    cursor: pointer;
    z-index: 10000 !important; /* Header ke sabse upar dikhega */
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #ffe082 !important;
}

/* 📱 RESPONSIVE BLOCK BREAKDOWN (Tablets & Mobile Viewports) */
@media (max-width: 991px) {
    .navbar {
        padding: 15px 20px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: #130f0c !important; /* Solid base background overlay */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    body {
        padding-top: 75px !important; /* Prevents hero image header overlap */
    }

    body.menu-open-lock {
        overflow: hidden !important;
    }

    /* CRITICAL FIX: Forces the hamburger icon to show up on first paint */
    .mobile-menu-toggle {
        display: block !important; 
    }

    /* Converts your horizontal navigation line row into full overlay list */
    .nav-links {
        position: fixed !important;
        top: 70px !important; /* Exactly below navbar */
        left: -100% !important; /* Hidden outside the screen viewport grid by default */
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: #0d0a08 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding-top: 40px !important;
        gap: 22px !important;
        transition: left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        z-index: 9998 !important;
        border-top: 1px solid rgba(212, 163, 89, 0.12) !important;
        opacity: 0 !important;
        visibility: hidden !important; /* Prevents blank screen ghost clicks before trigger */
    }

    /* Active script selector state */
    .nav-links.mobile-menu-active {
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-links a {
        font-size: 1.25rem !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 0 !important;
        color: #ffffff !important;
        display: block !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: #ffe082 !important; /* Gold selection tint style */
    }
}
/* PRODUCTION READY: ABOUT PAGE HUB SPECIFIC STYLING (ISOLATED BLOCKS)*/

/* INNER PAGE HERO BANNER FOR ABOUT */

.about-hero-banner {
    position: relative !important;
    padding: 180px 0 100px 0 !important;
    background-color: #070504 !important;
    background-image: url('src/footer-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(212, 163, 89, 0.2) !important;
}

.about-hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* Dark gradient ko hata kar poora transparent kiya taaki corner designs footer ki tarah saaf dikhein */
    background: transparent !important; 
    z-index: 1 !important;
}

.about-hero-content {
    position: relative !important;
    z-index: 5 !important;
}

.about-main-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin: 10px 0 0 0 !important;
    color: #ffffff !important;
}

.about-hero-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.05rem !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* MAIN ABOUT LAYOUT GRID */
.about-content-hub {
    background-color: #0d0a08 !important;
    padding: 100px 0 !important;
}

.about-page-grid {
    display: grid !important;
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 60px !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* LEFT COLUMN IMAGES DESIGN */
.about-page-img-sec {
    position: relative !important;
}

.about-img-frame {
    position: relative !important;
    border: 1px solid rgba(212, 163, 89, 0.25) !important;
    padding: 15px !important;
    background: #130f0c !important;
    border-radius: 8px !important;
}

.about-img-frame img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 4px !important;
}

.experience-badge {
    position: absolute !important;
    bottom: -20px !important;
    right: -20px !important;
    background: linear-gradient(135deg, #ffe082 0%, #d4a359 100%) !important;
    color: #070504 !important;
    padding: 15px 25px !important;
    border-radius: 6px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4) !important;
    text-align: center !important;
}

.experience-badge h3 {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.experience-badge p {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
}

/* RIGHT COLUMN PARAGRAPHS */
.about-inner-heading {
    font-family: 'Marcellus', serif !important;
    font-size: 2.5rem !important;
    color: #ffffff !important;
    margin: 5px 0 20px 0 !important;
}

.about-paragraph {
    font-size: 0.98rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}

/* VISION & MISSION IN-PAGE MERGE CARDS */
.vision-mission-split {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-top: 35px !important;
}

.split-mini-card {
    background: #130f0c !important;
    border: 1px solid rgba(212, 163, 89, 0.12) !important;
    padding: 20px !important;
    border-radius: 6px !important;
}

.mini-card-head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}

.mini-card-head i {
    font-size: 1.1rem !important;
    color: #d4a359 !important;
}

.mini-card-head h4 {
    font-family: 'Marcellus', serif !important;
    font-size: 1.15rem !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.split-mini-card p {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* CORE VALUE PILLARS ACCENT SECTION */
.core-values-section {
    background: #070504 !important;
    padding: 50px 0 !important;
    border-top: 1px solid rgba(212, 163, 89, 0.1) !important;
}

.values-main-title {
    font-family: 'Marcellus', serif !important;
    font-size: 2.6rem !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-align: center !important;
}

.values-triple-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 40px auto 0 auto !important;
}

.value-pillar-card {
    background: #130f0c !important;
    border-top: 3px solid #d4a359 !important;
    padding: 30px 25px !important;
    border-radius: 0 0 6px 6px !important;
    position: relative !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
}

.pillar-num {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    font-family: 'Marcellus', serif !important;
    color: rgba(212, 163, 89, 0.08) !important;
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
}

.value-pillar-card h3 {
    font-size: 1.25rem !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
}

.value-pillar-card p {
    font-size: 0.88rem !important;
    color: rgba(255, 255, 255, 0.65) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* RESPONSIVE LAYOUT BREAKPOINTS FOR ABOUT PAGE*/
@media (max-width: 991px) {
    .about-page-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
    .about-page-img-sec {
        max-width: 500px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    .experience-badge { right: 0 !important; }
    .values-triple-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .about-main-title { font-size: 2.8rem !important; }
    .about-inner-heading { font-size: 2rem !important; }
}

@media (max-width: 576px) {
    .vision-mission-split {
        grid-template-columns: 1fr !important;
    }
    .about-content-hub { padding: 60px 0 !important; }
}

/* PRODUCTION READY: TEJAJI MAHARAJ PAGE SPECIFIC STYLING (ISOLATED BLOCKS)*/

/* TEJAJI PAGE BANNER LAYER STYLE */

.tejaji-hero-banner {
    position: relative !important;
    padding: 180px 0 100px 0 !important;
    background-color: #070504 !important;
    background-image: url('src/footer-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(212, 163, 89, 0.2) !important;
}

.tejaji-hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* Dark gradient ko hata kar poora transparent kiya taaki corner designs footer ki tarah saaf dikhein */
    background: transparent !important; 
    z-index: 1 !important;
}

.tejaji-hero-content {
    position: relative !important;
    z-index: 5 !important;
}

.tejaji-main-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin: 10px 0 0 0 !important;
    color: #ffffff !important;
}

.tejaji-hero-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.05rem !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* HISTORY HUB CONTAINER BUILD */
.tejaji-history-hub {
    background-color: #0d0a08 !important;
    padding: 100px 0 !important;
}

.tejaji-history-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* LEFT SIDE ROYAL IMAGE DESIGN */
.royal-image-frame {
    position: relative !important;
    border: 2px solid rgba(212, 163, 89, 0.3) !important;
    padding: 15px !important;
    background: #130f0c !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6) !important;
}

.royal-image-frame img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 6px !important;
}

.mantra-badge {
    position: absolute !important;
    bottom: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #ffe082 0%, #d4a359 100%) !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
    box-shadow: 0 5px 15px rgba(212, 163, 89, 0.3) !important;
}

.mantra-badge p {
    margin: 0 !important;
    color: #070504 !important;
    font-weight: 700 !important;
    font-family: 'Marcellus', serif !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.5px !important;
}

/* RIGHT SIDE SPEECH SETS */
.tejaji-section-heading {
    font-family: 'Marcellus', serif !important;
    font-size: 2.6rem !important;
    color: #ffffff !important;
    margin: 5px 0 22px 0 !important;
}

.tejaji-desc-text {
    font-size: 0.98rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}

/* DIVINE SPLIT BOX DETAILS */
.divine-values-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 35px !important;
}

.divine-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    background: rgba(212, 163, 89, 0.03) !important;
    border-left: 3px solid #d4a359 !important;
    padding: 15px 20px !important;
    border-radius: 0 8px 8px 0 !important;
}

.divine-icon {
    font-size: 1.3rem !important;
    color: #ffe082 !important;
    margin-top: 2px !important;
}

.divine-meta h4 {
    color: #ffffff !important;
    font-family: 'Marcellus', serif !important;
    font-size: 1.15rem !important;
    margin: 0 0 5px 0 !important;
}

.divine-meta p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.88rem !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* TRIPLE TEACHINGS GRID CONFIGURATION */
.tejaji-teachings-section {
    background: #070504 !important;
    padding: 50px 0 !important;
    border-top: 1px solid rgba(212, 163, 89, 0.1) !important;
}

.teachings-main-title {
    font-family: 'Marcellus', serif !important;
    font-size: 2.6rem !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.teachings-triple-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 50px auto 0 auto !important;
}

.teaching-pillar-card {
    background: #130f0c !important;
    border: 1px solid rgba(212, 163, 89, 0.12) !important;
    padding: 35px 25px !important;
    border-radius: 8px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.teaching-pillar-card:hover {
    transform: translateY(-8px) !important;
    border-color: #d4a359 !important;
    box-shadow: 0 12px 30px rgba(212, 163, 89, 0.1) !important;
}

.teaching-icon-wrapper {
    width: 60px !important;
    height: 60px !important;
    background: rgba(212, 163, 89, 0.08) !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #ffe082 !important;
    font-size: 1.5rem !important;
    margin: 0 auto 20px auto !important;
    transition: all 0.3s ease !important;
}

.teaching-pillar-card:hover .teaching-icon-wrapper {
    background: #d4a359 !important;
    color: #070504 !important;
}

.teaching-pillar-card h3 {
    font-family: 'Marcellus', serif !important;
    font-size: 1.35rem !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
}

.teaching-pillar-card p {
    font-size: 0.88rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* RESPONSIVE LAYOUT RESPONSIVENESS FOR TEJAJI PAGE*/
@media (max-width: 991px) {
    .tejaji-history-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
    .tejaji-image-column {
        max-width: 500px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    .teachings-triple-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .tejaji-main-title { font-size: 2.8rem !important; }
    .tejaji-section-heading { font-size: 2rem !important; }
}


/* PRODUCTION READY: DONATION PAGE STRUCTURAL LAYOUT V2 (ISOLATED RULES)*/

.donation-engine-hub {
    background-color: #0d0a08 !important;
    padding: 90px 0 100px 0 !important;
}

/* Master Grid Layout: 45% Left (QR + Bank) & 55% Right (Form) */
.donation-main-grid {
    display: grid !important;
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 50px !important;
    align-items: flex-start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* LEFT COLUMN STACK FLOW */
.donation-left-stack {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* RIGHT COLUMN FORM AREA */
.donation-right-form-col {
    width: 100% !important;
}

/* LOWER SEGMENT: TIPS BOXES GRID COLS */
.donation-tips-wrapper-row {
    margin-top: 80px !important;
    border-top: 1px solid rgba(212, 163, 89, 0.12) !important;
    padding-top: 60px !important;
}

.tips-section-heading {
    font-family: 'Marcellus', serif !important;
    font-size: 2.2rem !important;
    color: #fffafa !important;
    margin: 0 0 5px 0 !important;
}

.donation-tips-triple-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    margin-top: 40px !important;
}

.donation-tips-box {
    background: #130f0c !important;
    border: 1px solid rgba(212, 163, 89, 0.08) !important;
    padding: 25px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.donation-tips-box:hover {
    border-color: rgba(212, 163, 89, 0.3) !important;
    transform: translateY(-5px) !important;
    background: rgba(19, 15, 12, 0.9) !important;
}

.tip-icon-head {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

.tip-icon-head i {
    color: #ffe082 !important;
    font-size: 1.2rem !important;
}

.tip-icon-head h4 {
    font-family: 'Marcellus', serif !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    margin: 0 !important;
}

.donation-tips-box p {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* RESPONSIVE STRUCTURE BREAKPOINTS */
@media (max-width: 991px) {
    .donation-main-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .donation-tips-triple-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .tips-section-heading { font-size: 1.8rem !important; }
}


/* BANK DETAILS BOX COHESION STYLING*/
.bank-details-container-box {
    padding: 30px !important;
}

.bank-details-card-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 10px;
}

.bank-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-bottom: 12px !important;
}

.bank-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.bank-label {
    font-size: 0.92rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.bank-value {
    font-size: 0.95rem !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.text-gold-icon {
    color: #d4a359 !important;
}

/* Mobile adjust for stacked data row */
@media (max-width: 576px) {
    .bank-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    .bank-value {
        width: 100% !important;
        justify-content: space-between !important;
    }
}


/* PRODUCTION READY: GLOBAL HTML HERO DESIGN ENGINE FOR ALL INNER PAGES*/
.premium-page-hero-engine {
    position: relative !important;
    min-height: 420px !important; 
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background-color: #0d0a08 !important; /* Fallback Solid Background */
    border-bottom: 1px solid rgba(212, 163, 89, 0.15) !important;
    padding: 110px 0 80px 0 !important;
}

/* Background HTML Canvas Setup */
.hero-html-bg-canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

/* Forces the HTML image to preserve the 4 corner layout */
.hero-canvas-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

/* Elegant smoked overlay to lift text readability while preserving corner graphics */
.hero-canvas-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(13, 10, 8, 0.35) !important; 
}

/* Foreground Text Layer sitting perfectly on top */
.hero-foreground-content {
    position: relative !important;
    z-index: 5 !important;
    text-align: center !important;
    max-width: 850px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 20px !important;
}

.page-main-title {
    font-family: 'Marcellus', serif !important;
    font-size: 3.2rem !important;
    color: #ffffff !important;
    margin: 8px 0 !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    margin-top: 15px !important;
}

/* Global Golden Separator Rules */
.heading-gold-separator-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    margin: 15px 0 !important;
}

.heading-gold-separator-center span {
    height: 1px !important;
    width: 70px !important;
    background: linear-gradient(to right, transparent, #d4a359) !important;
}

.heading-gold-separator-center span:last-child {
    background: linear-gradient(to left, transparent, #d4a359) !important;
}

.heading-gold-separator-center i {
    color: #d4a359 !important;
    font-size: 0.95rem !important;
}

/* Responsive Rules for Mobile Devices */
@media (max-width: 768px) {
    .page-main-title { font-size: 2.3rem !important; }
    .page-hero-subtitle { font-size: 0.95rem !important; }
    .premium-page-hero-engine { min-height: 340px !important; padding: 80px 0 60px 0 !important; }
}

/*TSF NGO WEBSITE - PREMIUM MOTION ENGINE (PRODUCTION READY) */

/* 1. HARDWARE ACCELERATION & GLOBAL RESET FOR PERFORMANCE */
.tsf-fade-up, 
.tsf-fade-down,
.tsf-slide-left,
.tsf-slide-right,
.tsf-zoom-in, 
.tsf-card-stagger,
.tsf-premium-hover {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 2. CORE MOTION KEYFRAMES ARCHITECTURE */
@keyframes tsfMasterFadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tsfMasterFadeDown {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tsfMasterSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tsfMasterSlideRight {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tsfMasterZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes tsfPulseSubtle {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* 3. CORE GLOBAL UTILITY CLASSES (Directly Apply to HTML Elements) */
.tsf-fade-up {
    animation: tsfMasterFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tsf-fade-down {
    animation: tsfMasterFadeDown 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tsf-slide-left {
    animation: tsfMasterSlideLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tsf-slide-right {
    animation: tsfMasterSlideRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tsf-zoom-in {
    animation: tsfMasterZoomIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tsf-pulse-action {
    animation: tsfPulseSubtle 2s infinite ease-in-out;
}

/* 4. SEQUENTIAL STAGGER DELAYS (For Grids, Cards & Lists) */
.tsf-delay-1 { animation-delay: 0.15s; }
.tsf-delay-2 { animation-delay: 0.30s; }
.tsf-delay-3 { animation-delay: 0.45s; }
.tsf-delay-4 { animation-delay: 0.60s; }
.tsf-delay-5 { animation-delay: 0.75s; }

/* 5. INTERACTIVE PREMIUM HOVER EFFECTS (For Cards & Buttons) */
.tsf-premium-hover {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tsf-premium-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(240, 90, 34, 0.12); /* Subtle branding theme glow */
}

/* Special Button Hover Fill Effect */
.tsf-btn-hover {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.tsf-btn-hover:hover {
    letter-spacing: 0.5px;
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* 6. CROSS-DEVICE OPTIMIZATION GUARD (Mobile & Tablet Friendly) */
@media (max-width: 991px) {
    /* Tablet Optimized Spacing */
    .tsf-fade-up { animation-duration: 0.75s; }
    .tsf-zoom-in { animation-duration: 0.8s; }
}

@media (max-width: 768px) {
    /* Mobile Performance Safeguard: Reduces travel distance to prevent lagging or layout jump */
    @keyframes tsfMasterFadeUp {
        0% { opacity: 0; transform: translateY(20px); }
        100% { opacity: 1; transform: translateY(0); }
    }
    @keyframes tsfMasterSlideLeft {
        0% { opacity: 0; transform: translateX(20px); }
        100% { opacity: 1; transform: translateX(0); }
    }
    @keyframes tsfMasterSlideRight {
        0% { opacity: 0; transform: translateX(-20px); }
        100% { opacity: 1; transform: translateX(0); }
    }
    
    /* Disables heavy scale operations on mobile browsers for battery and CPU saving */
    .tsf-zoom-in {
        animation: tsfMasterFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    /* Softens hover effects since mobile is touch-based */
    .tsf-premium-hover:hover {
        transform: translateY(-2px);
    }
}


/* TSF PREMIUM DYNAMIC GALLERY ANIMATION ENGINE */

/* Initial State: Image shuruat mein thodi choti aur transparent rahegi */
.gallery-card-item {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* Active State: Jab JS is class ko lagayega tab smoothly bada aur visible hoga */
.gallery-card-item.tsf-animate-active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Hover Effect: Active hone ke baad agar user hover kare toh zoom ho */
.gallery-card-item.tsf-animate-active:hover {
    transform: scale(1.03);
}


/* TSF DONATION PAGE HOVER & FEEDBACK ELEMENTS */
.copy-icon {
    cursor: pointer;
    color: #d4a359;
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    margin-left: 5px;
}

.copy-icon:hover {
    color: #ffe082;
    transform: scale(1.15);
}

.bank-value {
    font-weight: 500;
    color: #ffffff;
}



/* TSF CONTACT PAGE CUSTOM FLOATING TEXTAREA LABEL CONTROLLERS */
.contact-textarea-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-textarea-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(7, 5, 4, 0.7);
    border: 1px solid rgba(212, 163, 89, 0.25);
    border-radius: 4px;
    color: #fff;
    outline: none;
    font-family: 'Poppins', sans-serif;
    resize: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-textarea-group textarea:focus {
    border-color: #d4a359;
}

.contact-textarea-group .textarea-label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

/* Float logic animation triggers */
.contact-textarea-group textarea:focus ~ .textarea-label,
.contact-textarea-group textarea:valid ~ .textarea-label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    color: #d4a359;
    background: #0d0a08; /* Theme Background match color layer */
    padding: 0 5px;
    border-radius: 2px;
}


/* FEATURE 1: SCROLL PROGRESS BAR SYSTEM*/
.scroll-progress-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important; /* Ek dum patli slick line */
    background: transparent !important;
    z-index: 99999 !important; /* Sabse upar rahegi */
    pointer-events: none !important;
}

.scroll-progress-bar {
    height: 100% !important;
    width: 0%; /* Shuruat mein 0 rahegi, JS isko badhayega */
    background: linear-gradient(to right, #d4a359, #ffe082, #d4a359) !important; /* Royal Gold Gradient */
    box-shadow: 0 0 10px rgba(212, 163, 89, 0.8) !important; /* Halki glowing vibe */
    transition: width 0.1s ease-out !important;
}


/* FEATURE 4: PREMIUM BACK TO TOP BUTTTON SYSTEM*/
.back-to-top-btn {
    position: fixed !important;
    bottom: 100px !important;
    right: 40px !important;
    width: 45px !important;
    height: 45px !important;
    background-color: #130f0c !important; /* Deep dark base */
    border: 1px solid rgba(212, 163, 89, 0.4) !important; /* Gold outline */
    border-radius: 50% !important;
    color: #d4a359 !important; /* Gold arrow */
    font-size: 1.1rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    opacity: 0; /* Shuruat mein hidden rahega jab tak scroll na ho */
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(212, 163, 89, 0.15) !important;
}

/* Hover karne par premium glowing zoom effect */
.back-to-top-btn:hover {
    background-color: #d4a359 !important;
    color: #070504 !important;
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(212, 163, 89, 0.4) !important;
    border-color: #d4a359 !important;
}

/* Jab user 300px scroll kar lega tab yeh class automatic active hogi JS se */
.back-to-top-btn.show-btn {
    opacity: 1 !important;
    visibility: visible !important;
}



/* FEATURE 5: RESPONSIVE INPUT LINE GLOW INTERACTION*/

/* 1. Input ke outer container ko track point banana */
.form-input-group,
.contact-textarea-group,
.creative-form-box .form-group {
    position: relative !important;
}

/* 2. Base hidden gold line taiyaar karna */
.form-input-group::after,
.contact-textarea-group::after,
.creative-form-box .form-group::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0% !important; /* Shuruat mein hidden rahegi */
    height: 2px !important; /* Ek dum slick patli line */
    background: linear-gradient(to right, #d4a359, #ffe082, #d4a359) !important; /* Royal Gold Gradient */
    box-shadow: 0 2px 10px rgba(212, 163, 89, 0.5) !important; /* Neon Gold Glow Effect */
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important; /* Smooth elastic wave transition */
    z-index: 5 !important;
}

/* 3. Click (Focus) hote hi line ko left se right 100% expand karna */
.form-input-group:focus-within::after,
.contact-textarea-group:focus-within::after,
.creative-form-box .form-group:focus-within::after {
    width: 100% !important; /* Har device ke screen size ke mutabik auto-adjust */
}

/* 4. Mobile touch aur typing ko premium feel dene ke liye input background highlight */
body .form-input-group input:focus,
body .contact-textarea-group textarea:focus {
    border-bottom-color: rgba(212, 163, 89, 0.2) !important;
    background-color: rgba(212, 163, 89, 0.02) !important; /* halki shaahi rangat background mein */
    transition: all 0.3s ease !important;
}


/* SECTION 5 COMPLETE ARCHITECTURE: CREATIVE DONATION SECTION HOME PAGE*/
.creative-donation-section {
    padding: 90px 20px;
    background-color: #070504;
    color: #fff;
}

.creative-donation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Section Typo */
.section-tagline {
    color: #d4a359;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
}

.donation-column-title {
    font-size: 2.4rem;
    margin: 5px 0;
    font-family: serif;
}

.gold-text {
    color: #d4a359;
}

/* Separator Graphic */
.heading-gold-separator {
    display: flex;
    align-items: center;
    gap: 10px;
}
.heading-gold-separator span {
    height: 1px;
    width: 50px;
    background: linear-gradient(to right, #d4a359, transparent);
}
.heading-gold-separator span:last-child {
    background: linear-gradient(to left, #d4a359, transparent);
}

/* QR Box Layout & Rajputani Tech Vibe Corners */
.donation-qr-box {
    background: #130f0c;
    border: 1px solid rgba(212, 163, 89, 0.15);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    max-width: 360px;
    margin-bottom: 30px;
}

/* Geometric Gold Corners */
.qr-border-corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid #d4a359;
}
.top-left { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.top-right { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.bottom-left { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.bottom-right { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.donation-upi-qr {
    max-width: 200px;
    width: 100%;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    display: inline-block;
}

.qr-upi-id {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #e6e6e6;
}
.qr-upi-id i { color: #d4a359; margin-right: 5px; }

/* Mobile Pay Button */
.mobile-pay-intent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}
@media (min-width: 769px) { .mobile-pay-intent-btn { display: none; } }

/* Safety Tips styling */
.donation-tips-box {
    background: rgba(212, 163, 89, 0.03);
    border-left: 3px solid #d4a359;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    max-width: 450px;
}
.donation-tips-box h4 {
    margin: 0 0 10px 0;
    color: #ffe082;
    font-size: 1.05rem;
}
.donation-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.donation-tips-list li {
    font-size: 0.88rem;
    color: #cccccc;
    margin-bottom: 10px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.donation-tips-list li i { color: #d4a359; margin-top: 3px; }

/* Right Column Card & Inputs Setup */
.creative-form-box {
    background: #130f0c;
    border: 1px solid rgba(212, 163, 89, 0.15);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.form-box-title { font-size: 1.6rem; color: #fff; margin-bottom: 5px; font-family: serif; }
.form-box-subtitle { font-size: 0.88rem; color: #8c8c8c; margin-bottom: 30px; }

/* Custom File Uploader Integration */
.form-file-group { margin-bottom: 25px; }
.custom-file-upload { display: block; cursor: pointer; }
.custom-file-upload input[type="file"] { display: none; }
.file-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #070504;
    border: 1px dashed rgba(212, 163, 89, 0.4);
    color: #b3b3b3;
    padding: 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.file-upload-btn:hover {
    border-color: #d4a359;
    color: #d4a359;
    background: rgba(212, 163, 89, 0.02);
}
.file-chosen-text {
    font-size: 0.8rem;
    color: #8c8c8c;
    margin-top: 6px;
    text-align: left;
    padding-left: 5px;
}

/* Submit Action Button */
.form-submit-btn {
    width: 100%;
    background: #d4a359;
    color: #070504;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 163, 89, 0.2);
}
.form-submit-btn:hover {
    background: #ffe082;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 89, 0.4);
}

/* RESPONSIVE LAYOUT ENGINE */
@media (max-width: 991px) {
    .creative-donation-container { grid-template-columns: 1fr; gap: 40px; }
    .donation-qr-box, .donation-tips-box { max-width: 100%; }
    .creative-form-box { padding: 30px 20px; }
}