@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800&family=Cinzel+Decorative:wght@400;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Noto+Sans+Telugu:wght@300;400;600&display=swap');

:root {
    --primary: #d84315; /* Saffron */
    --primary-dark: #bf360c;
    --primary-light: #ff7043;
    --gold: #ffb300;
    --gold-light: #ffecb3;
    --gold-grad: linear-gradient(135deg, #FFDF73, #D4AF37, #AA7C11);
    
    --bg-main: #FAFAFA; /* Soft white/Ivory base */
    --bg-card: #FFFFFF;
    --bg-dark: #1a0f0a; /* Very deep brown/black for contrast */
    
    --text-main: #2c211b; /* Deep earthy text */
    --text-light: #5f4d45;
    --text-muted: #8d7b73;
    
    --font-head: 'Cinzel', serif;
    --font-script: 'Cinzel Decorative', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-te: 'Noto Sans Telugu', sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(216, 67, 21, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.4);
    
    --trans: 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hidden elements */
.hidden { display: none !important; }

/* Telugu Typography Reset */
.te { font-family: var(--font-te); line-height: 1.8; }
.telugu-name { font-family: var(--font-te); font-weight: 600; color: var(--primary-dark); }
.telugu-text { font-family: var(--font-te); }

h1, h2, h3, h4, .sec-title, .hero-title {
    font-family: var(--font-head);
    color: var(--primary-dark);
    font-weight: 700;
}

.gold-grad {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }

.section-head { text-align: center; margin-bottom: 60px; }
.sec-label { font-size: 14px; text-transform: uppercase; letter-spacing: 3px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.sec-title { font-size: 3rem; margin-bottom: 15px; }
.sec-subtitle { font-size: 1.2rem; color: var(--text-light); }

/* Buttons */
button { font-family: var(--font-body); cursor: pointer; border: none; transition: var(--trans); font-size: 16px; }

.btn-gold {
    background: var(--gold-grad);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }

.btn-ghost {
    background: transparent;
    color: var(--white);
    padding: 13px 35px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-ghost:hover { background: #fff; color: var(--primary-dark); }

.btn-ghost-sm {
    background: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}
.btn-ghost-sm:hover { background: var(--primary-dark); color: #fff; }

.full-w { width: 100%; }

/* LOADER */
#loader {
    position: fixed; inset: 0; background: var(--bg-dark); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.loader-inner { text-align: center; }
.om-pulse { font-size: 80px; color: var(--gold); animation: pulse 2s infinite ease-in-out; margin-bottom: 20px; }
.loader-bar-wrap { width: 200px; height: 3px; background: rgba(255,255,255,0.1); margin: 0 auto 15px; border-radius: 5px; overflow: hidden; }
.loader-bar-fill { width: 0%; height: 100%; background: var(--gold-grad); }
.loader-msg { color: #fff; font-family: var(--font-head); letter-spacing: 2px; }

@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.1); opacity: 1; text-shadow: 0 0 20px var(--gold); } 100% { transform: scale(0.9); opacity: 0.7; } }

/* NAVBAR */
#navbar { position: fixed; top: 0; width: 100%; z-index: 1000; transition: var(--trans); padding: 20px 0; background: transparent; }
#navbar.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 15px 0; box-shadow: var(--shadow-sm); }
#navbar.scrolled .nav-logo-text, #navbar.scrolled .nav-links a { color: var(--text-main); }
#navbar.scrolled .nav-om { color: var(--primary); }
#navbar.scrolled .lang-btn { border-color: rgba(0,0,0,0.2); color: var(--text-main); }

.nav-inner { max-width: 1350px; margin: 0 auto; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.nav-om { font-size: 28px; color: var(--gold); }
.nav-logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: 1px; }

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 500; font-family: var(--font-head); font-size: 15px; transition: var(--trans); text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 15px; }
.lang-btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); padding: 6px 15px; border-radius: 20px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.btn-donate-nav { background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 50px; font-family: var(--font-head); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.btn-donate-nav:hover { background: var(--primary-dark); transform: scale(1.05); }

.hamburger-btn { display: none; background: transparent; width: 30px; height: 20px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburger-btn span { display: block; height: 2px; width: 100%; background: var(--gold); transition: var(--trans); }

.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: var(--bg-card); z-index: 999; box-shadow: -10px 0 30px rgba(0,0,0,0.1); padding: 100px 30px 40px; display: flex; flex-direction: column; gap: 30px; transition: 0.4s ease-out; }
.mobile-menu.active { right: 0; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a { color: var(--text-main); text-decoration: none; font-size: 1.2rem; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; }

/* AUDIO BTN */
.audio-btn { position: fixed; bottom: 30px; left: 30px; z-index: 100; width: 50px; height: 50px; border-radius: 50%; background: var(--bg-card); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.05); transition: 0.3s; }
.audio-btn:hover { background: var(--primary); color: #fff; }
.audio-btn.muted i::after { content: ''; position: absolute; width: 25px; height: 2px; background: red; transform: rotate(-45deg); display: block; }

/* TICKER */
.ticker-strip { background: var(--primary-dark); color: #fff; display: flex; align-items: center; font-family: var(--font-body); font-size: 15px; overflow: hidden; padding: 5px 0; border-bottom: 2px solid var(--gold); }
.ticker-label { background: var(--primary-dark); padding: 5px 20px; font-weight: 600; white-space: nowrap; z-index: 2; position: relative; display: flex; align-items: center; gap: 8px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; }
.ticker-label i { color: var(--gold); }
.ticker-outer { overflow: hidden; flex: 1; position: relative; }
.ticker-inner { display: flex; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker-inner span { color: rgba(255,255,255,0.9); }

@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at center, #3e1f0e 0%, #150904 100%); overflow: hidden; }
#particleCanvas { position: absolute; inset: 0; z-index: 1; opacity: 0.6; }

.hero-mandala { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; z-index: 2; opacity: 0.15; pointer-events: none; }
.m-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); }
.r1 { animation: spin 60s linear infinite; border: 2px dashed var(--gold); }
.r2 { margin: 100px; animation: spin-rev 40s linear infinite; }
.r3 { margin: 200px; border: 4px dotted var(--gold); animation: spin 80s linear infinite; }
.r4 { margin: 300px; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-rev { 100% { transform: rotate(-360deg); } }

.hero-content { position: relative; z-index: 10; max-width: 900px; padding: 0 20px; color: #fff; }
.hero-ornament { font-family: var(--font-script); color: var(--gold); font-size: 24px; margin-bottom: 20px; }
.bottom-orn { margin-top: 50px; margin-bottom: 0; }
.hero-title { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 5px 20px rgba(0,0,0,0.8); }
.hero-subtitle { font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 3px; color: var(--gold-light); margin-bottom: 10px; }
.hero-biruda { font-family: var(--font-script); font-size: 1.8rem; color: var(--primary); margin: 25px 0; }
.hero-tagline { font-size: 1.3rem; font-style: italic; opacity: 0.8; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 20px; justify-content: center; }

.scroll-cue { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; color: #fff; display: flex; flex-direction: column; align-items: center; font-family: var(--font-head); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.7; }
.scroll-arrow-anim { width: 1px; height: 40px; background: rgba(255,255,255,0.2); margin-top: 10px; position: relative; overflow: hidden; }
.scroll-arrow-anim::before { content:''; position: absolute; top:0; left:-1px; width:3px; height:15px; background:var(--gold); animation: scrollDown 2s infinite; }
@keyframes scrollDown { 0%{ top:-20px; } 100%{ top: 100%; } }

/* EVENT BAR */
.event-bar { background: var(--bg-card); padding: 15px 0; box-shadow: var(--shadow-sm); border-bottom: 1px solid rgba(0,0,0,0.05); position: relative; z-index: 20; }
.event-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-body); font-size: 17px; }
.event-bar-icon { font-size: 20px; animation: ring 2s infinite; transform-origin: top center; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(10deg); } 20%, 40% { transform: rotate(-10deg); } }
.event-bar-text { flex: 1; margin: 0 20px; }
.event-bar-text strong { color: var(--primary-dark); font-family: var(--font-head); font-size: 18px; }
.event-bar-countdown { background: var(--bg-main); padding: 5px 15px; border-radius: 5px; font-family: var(--font-head); font-weight: 700; color: var(--primary); display: flex; gap: 8px; border: 1px solid rgba(0,0,0,0.05); }
.event-bar-countdown span { font-size: 20px; }
.event-bar-link { font-family: var(--font-head); font-weight: 600; color: var(--primary); text-decoration: none; padding-left: 20px; }
.event-bar-link:hover { text-decoration: underline; }

/* DIVIDER */
.section-divider { display: flex; align-items: center; justify-content: center; gap: 15px; padding-bottom: 60px; opacity: 0.5; }
.div-line { height: 1px; width: 100px; background: var(--text-muted); }
.div-icon { color: var(--gold); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 80px; align-items: center; }
.swami-frame { position: relative; padding: 15px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-md); margin-bottom: -30px; z-index: 2; }
.swami-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 5px; filter: contrast(1.05) sepia(0.1); }
.swami-name-card { background: var(--primary-dark); color: #fff; padding: 40px 20px 20px; text-align: center; border-radius: 0 0 10px 10px; position: relative; z-index: 1; }
.biruda-badge { display: inline-block; background: rgba(216, 67, 21, 0.1); color: var(--primary-dark); padding: 5px 15px; border-radius: 20px; font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.swami-full-title { font-size: 2.2rem; margin-bottom: 30px; line-height: 1.3; }
.info-rows { margin-bottom: 30px; display: flex; flex-direction: column; gap: 10px; }
.info-row { display: flex; gap: 15px; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 10px; }
.info-label { font-weight: 600; font-family: var(--font-head); width: 160px; display: flex; align-items: center; gap: 10px; color: var(--primary); }
.taniyan-box { background: rgba(255,213,79,0.1); border-left: 4px solid var(--gold); padding: 25px; margin-bottom: 30px; border-radius: 0 10px 10px 0; }
.taniyan-label { font-family: var(--font-head); font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; text-align: center; }
.taniyan-text { text-align: center; font-size: 1.1rem; color: var(--text-main); font-style: italic; }
.about-desc { font-size: 1.2rem; color: var(--text-light); margin-bottom: 30px; }
.about-action-btns { display: flex; gap: 15px; align-items: center; }

/* MISSION */
.mission-section { background-color: var(--primary-dark); color: #fff; position: relative; }
.mission-bg-pattern { position: absolute; inset: 0; background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 20l20-20v40L20 20zM0 0l20 20L0 40V0z" fill="rgba(255,255,255,0.02)"/></svg>'); }
.mission-section .sec-title, .mission-section .sec-label, .mission-section .sec-subtitle { color: #fff; }
.mission-section .sec-label { color: var(--gold); }
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; position: relative; z-index: 2; }
.mission-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 40px 30px; border-radius: 10px; text-align: center; transition: var(--trans); backdrop-filter: blur(5px); }
.mission-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.1); border-color: var(--gold); }
.mission-icon-wrap { width: 80px; height: 80px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 35px; border: 1px solid rgba(255,255,255,0.2); }
.mission-card h3 { color: var(--gold); font-size: 1.8rem; margin-bottom: 15px; }
.mission-card p { opacity: 0.8; font-size: 1.1rem; line-height: 1.5; }

/* SASTI POORTHI */
.sasti-section { background: var(--bg-card); }
.sasti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 50px; }
.iframe-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; box-shadow: var(--shadow-lg); }
.iframe-wrap iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:none; }
.video-cap { text-align: center; margin-top: 15px; font-family: var(--font-head); font-weight: 600; color: var(--text-light); }
.sasti-badge-box { border: 1px solid var(--gold); color: var(--gold); display: inline-block; padding: 5px 20px; font-family: var(--font-script); font-size: 20px; margin-bottom: 20px; }
.sasti-info h3 { font-size: 2.5rem; margin-bottom: 20px; }
.sasti-info p { font-size: 1.2rem; margin-bottom: 30px; color: var(--text-light); }
.sasti-stats { display: flex; gap: 30px; margin-bottom: 40px; }
.s-stat { display: flex; flex-direction: column; }
.s-num { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 5px; }
.s-lbl { font-weight: 600; color: var(--primary-dark); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* EVENTS */
.countdown-card { background: linear-gradient(135deg, var(--primary-dark), #5d0000); padding: 50px; border-radius: 20px; text-align: center; color: #fff; margin-bottom: 60px; box-shadow: 0 20px 40px rgba(93, 0, 0, 0.3); border: 2px solid rgba(255,213,79,0.2); }
.cd-title { font-family: var(--font-head); font-size: 2rem; margin-bottom: 30px; color: var(--gold); font-weight: 700; }
.cd-grid { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 30px; }
.cd-unit { background: rgba(0,0,0,0.3); padding: 20px; border-radius: 10px; min-width: 120px; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); }
.cd-num { font-size: 4rem; font-family: var(--font-head); font-weight: 800; line-height: 1; }
.cd-lbl { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; opacity: 0.8; }
.cd-colon { font-size: 3rem; font-weight: bold; opacity: 0.5; margin-top: -20px; }
.cd-date { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.event-card { background: var(--bg-card); border-radius: 15px; padding: 40px 30px; position: relative; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05); transition: var(--trans); }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.featured-ev { background: var(--bg-main); border: 2px solid var(--primary); transform: scale(1.02); }
.featured-ev:hover { transform: scale(1.02) translateY(-5px); }
.ev-ribbon { position: absolute; top: -12px; left: 30px; background: var(--gold-grad); color: #000; padding: 5px 15px; font-family: var(--font-head); font-weight: 700; font-size: 12px; text-transform: uppercase; border-radius: 3px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.ev-date-badge { display: flex; flex-direction: column; align-items: center; width: 70px; background: rgba(216, 67, 21, 0.1); border-radius: 8px; padding: 10px 0; margin-bottom: 25px; color: var(--primary-dark); }
.past-ev { background: var(--bg-main); color: var(--text-muted); border: 1px solid rgba(0,0,0,0.1); }
.ev-month { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.ev-day { font-size: 24px; font-weight: 800; font-family: var(--font-head); line-height: 1; margin: 3px 0; }
.ev-year { font-size: 12px; opacity: 0.8; }
.event-card h3 { font-size: 1.8rem; margin-bottom: 5px; }
.ev-subtitle { font-family: var(--font-head); color: var(--text-light); margin-bottom: 25px; font-style: italic; }
.ev-details { list-style: none; margin-bottom: 30px; }
.ev-details li { margin-bottom: 10px; display: flex; align-items: center; gap: 12px; color: var(--text-main); font-size: 1.05rem; }
.ev-details i { color: var(--primary); width: 20px; text-align: center; }
.ev-purpose { background: rgba(216, 67, 21, 0.05); padding: 15px; border-radius: 8px; font-weight: 600; text-align: center; color: var(--primary-dark); margin-bottom: 25px; }
.ev-status-done { font-family: var(--font-head); font-weight: 700; color: #388e3c; text-align: center; padding: 10px; background: rgba(56, 142, 60, 0.1); border-radius: 5px; }

/* GALLERY */
.gallery-section { background: var(--bg-dark); color: #fff; }
.gallery-section .sec-title { color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 15px; margin-bottom: 80px; }
.g-item { position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; }
.g-item.tall { grid-row: span 2; grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; filter: brightness(0.8); }
.g-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; opacity: 0; transition: var(--trans); }
.g-overlay i { font-size: 24px; color: var(--gold); margin-bottom: 10px; align-self: flex-end; margin-top: auto; }
.g-overlay span { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: #fff; }
.g-item:hover img { transform: scale(1.05); filter: brightness(1); }
.g-item:hover .g-overlay { opacity: 1; }

.videos-header { text-align: center; margin-bottom: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 60px; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.v-item { background: rgba(255,255,255,0.05); padding: 15px; border-radius: 10px; }
.v-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 5px; margin-bottom: 15px; }
.v-wrap iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:none; }
.v-cap { text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.3s; }
.lightbox.active { opacity: 1; pointer-events: all; }
.lb-inner { max-width: 90vw; max-height: 90vh; text-align: center; }
.lb-inner img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 5px; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.lb-cap { color: #fff; font-family: var(--font-head); font-size: 1.2rem; margin-top: 20px; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: transparent; color: #fff; font-size: 30px; padding: 20px; transition: 0.2s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--gold); transform: scale(1.1); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* FUNDRAISER */
.fundraiser-section { background: var(--bg-main); border-bottom: 1px solid rgba(0,0,0,0.05); }
.fundraiser-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fund-stats { display: flex; align-items: center; gap: 30px; margin-bottom: 30px; }
.fund-stat { display: flex; flex-direction: column; }
.fund-num { font-size: 3.5rem; font-weight: 800; font-family: var(--font-head); color: var(--primary-dark); line-height: 1; }
.fund-lbl { font-size: 1.1rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; font-weight: 600; }
.fund-divider { font-family: var(--font-script); font-size: 24px; color: var(--gold); }
.progress-bar-wrap { margin-bottom: 30px; position: relative; }
.progress-bar-bg { width: 100%; height: 20px; background: rgba(0,0,0,0.05); border-radius: 20px; overflow: hidden; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05); }
.progress-bar-fill { height: 100%; background: var(--gold-grad); border-radius: 20px; position: relative; transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.progress-bar-fill::after { content:''; position: absolute; inset:0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: shimmer 2s infinite; }
@keyframes shimmer { 0%{ transform: translateX(-100%); } 100%{ transform: translateX(100%); } }
.progress-pct { position: absolute; right: 0; top: -30px; font-weight: 700; font-family: var(--font-head); color: var(--primary); }
.donor-count-row { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; color: var(--text-light); margin-bottom: 20px; }
.donor-count-row i { color: var(--gold); }
.donor-count-row span:first-of-type { font-weight: bold; color: var(--primary-dark); font-size: 1.4rem; }
.fund-note { font-style: italic; margin-bottom: 30px; opacity: 0.8; }

.impact-box { background: var(--bg-card); padding: 50px; border-radius: 15px; box-shadow: var(--shadow-md); border-top: 5px solid var(--gold); text-align: center; }
.impact-box h3 { font-size: 2rem; margin-bottom: 10px; }
.slider-wrap { margin: 40px 0; }
input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 25px; width: 25px; border-radius: 50%; background: var(--primary); cursor: pointer; margin-top: -10px; box-shadow: 0 0 10px rgba(216,67,21,0.4); border: 3px solid #fff; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 6px; cursor: pointer; background: rgba(0,0,0,0.1); border-radius: 5px; }
.impact-amt { font-size: 3rem; font-family: var(--font-head); font-weight: 700; color: var(--primary-dark); margin-top: 20px; }
.impact-result-box { background: rgba(255,213,79,0.1); padding: 20px; border-radius: 10px; border: 1px dashed var(--gold); margin-bottom: 30px; }
.impact-emoji { font-size: 40px; margin-bottom: 10px; }
.impact-result-box p { font-size: 1.2rem; font-weight: 600; color: var(--text-main); }

/* DONATE TIERS */
.tiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 60px; }
.tier-card { background: var(--bg-card); border-radius: 15px; padding: 40px; text-align: center; box-shadow: var(--shadow-sm); border: 2px solid transparent; cursor: pointer; transition: var(--trans); position: relative; }
.tier-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: rgba(216, 67, 21, 0.2); }
.featured-tier { border-color: var(--gold); transform: scale(1.05); z-index: 2; box-shadow: var(--shadow-md); }
.featured-tier:hover { transform: scale(1.05) translateY(-10px); }
.tier-ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--gold-grad); color: #000; padding: 5px 20px; border-radius: 20px; font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.tier-emoji { font-size: 50px; margin-bottom: 20px; }
.tier-amt { font-size: 3rem; font-family: var(--font-head); font-weight: 800; color: var(--primary-dark); margin-bottom: 10px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tier-name { font-size: 1.5rem; margin-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 20px; }
.tier-perks { list-style: none; text-align: left; margin-bottom: 30px; }
.tier-perks li { margin-bottom: 12px; display: flex; gap: 10px; color: var(--text-light); }
.tier-perks i { color: #388e3c; margin-top: 5px; }
.btn-tier { background: rgba(0,0,0,0.05); color: var(--text-main); font-weight: 600; padding: 12px; border-radius: 8px; width: 100%; text-transform: uppercase; letter-spacing: 1px; }
.tier-card:hover .btn-tier { background: var(--primary); color: #fff; }
.btn-tier-gold { background: var(--primary); color: #fff; font-weight: 600; padding: 12px; border-radius: 8px; width: 100%; text-transform: uppercase; letter-spacing: 1px; }

.custom-donate { background: var(--bg-card); padding: 40px; border-radius: 15px; text-align: center; max-width: 800px; margin: 0 auto 60px; box-shadow: var(--shadow-sm); }
.custom-donate h3 { font-size: 1.8rem; margin-bottom: 20px; }
.custom-input-row { display: flex; align-items: center; max-width: 500px; margin: 0 auto 20px; background: var(--bg-main); border-radius: 50px; padding: 5px; border: 1px solid rgba(0,0,0,0.1); }
.rupee-prefix { font-size: 1.5rem; color: var(--text-muted); margin-left: 20px; font-weight: 600; }
.custom-input-row input { flex: 1; border: none; background: transparent; padding: 15px; font-size: 1.5rem; font-family: var(--font-body); font-weight: 600; color: var(--text-main); outline: none; }
.quick-amts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.quick-amts button { border: 1px solid rgba(0,0,0,0.1); background: transparent; padding: 8px 20px; border-radius: 20px; color: var(--text-main); font-weight: 600; }
.quick-amts button:hover { background: rgba(216, 67, 21, 0.1); color: var(--primary-dark); border-color: var(--primary-dark); }

.payment-box { background: var(--bg-card); border-radius: 15px; overflow: hidden; max-width: 800px; margin: 0 auto; box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.05); }
.payment-box h3 { text-align: center; padding: 30px 0 20px; font-size: 2rem; }
.pay-tabs { display: flex; border-bottom: 1px solid rgba(0,0,0,0.05); }
.pay-tab { flex: 1; padding: 20px; background: transparent; border-bottom: 3px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--text-muted); border-radius: 0; }
.pay-tab.active { background: rgba(216, 67, 21, 0.02); color: var(--primary-dark); border-bottom-color: var(--primary); }
.pay-tab i { margin-right: 8px; }
.pay-content { padding: 40px; animation: fadeIn 0.4s; }

.upi-wrap { display: flex; gap: 40px; align-items: center; }
.qr-box { text-align: center; }
.qr-label { font-weight: 600; margin: 15px 0 5px; color: var(--primary-dark); }
.qr-uid { font-family: monospace; background: rgba(0,0,0,0.05); padding: 8px 15px; border-radius: 5px; display: inline-block; font-size: 1.1rem; }
.upi-right { flex: 1; }
.upi-apps { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0 30px; }
.upi-app { background: rgba(0,0,0,0.03); padding: 8px 15px; border-radius: 5px; font-weight: 600; font-size: 0.9rem; color: var(--text-light); }
.upi-note { color: var(--text-muted); margin-bottom: 20px; font-style: italic; }
.btn-whatsapp { background: #25D366; color: #fff; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: var(--trans); }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }

.bank-table { width: 100%; border-collapse: collapse; margin-bottom: 25px; }
.bank-row { display: flex; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 15px 0; align-items: center; }
.bk-label { width: 30%; color: var(--text-muted); font-weight: 600; }
.bk-val { flex: 1; font-family: monospace; font-size: 1.2rem; font-weight: 600; color: var(--primary-dark); }
.copy-btn { background: transparent; color: var(--primary); padding: 5px 10px; font-size: 1.2rem; border-radius: 5px; }
.copy-btn:hover { background: rgba(216, 67, 21, 0.1); }
.bank-note { font-style: italic; color: var(--text-muted); }
.bank-note a { color: #25D366; font-weight: bold; text-decoration: none; }

.info-items { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.info-item-pay { text-align: center; background: rgba(0,0,0,0.02); padding: 30px; border-radius: 10px; }
.info-item-pay i { font-size: 30px; color: var(--gold); margin-bottom: 15px; }
.info-item-pay p { font-weight: 600; color: var(--text-light); }
.info-item-pay a { color: var(--primary); text-decoration: none; }

/* DONORS WALL */
.donors-section { background: var(--bg-main); text-align: center; }
.donors-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; max-width: 1000px; margin: 0 auto 50px; }
.donor-pill { background: #fff; border: 1px solid rgba(216, 67, 21, 0.2); color: var(--primary-dark); padding: 10px 20px; border-radius: 50px; font-size: 0.95rem; font-weight: 600; box-shadow: var(--shadow-sm); animation: floatPx 3s infinite ease-in-out alternate; }
.donor-pill:nth-child(even) { animation-delay: 1.5s; }
@keyframes floatPx { 0% { transform: translateY(0); } 100% { transform: translateY(-5px); } }
.join-wall-row p { font-size: 1.3rem; margin-bottom: 20px; font-style: italic; color: var(--text-light); }

/* VOLUNTEER */
.seva-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
.seva-card { background: var(--bg-card); padding: 50px; border-radius: 15px; box-shadow: var(--shadow-sm); text-align: center; }
.seva-icon { width: 70px; height: 70px; background: rgba(216, 67, 21, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 30px; color: var(--primary); }
.seva-card h3 { font-size: 2rem; margin-bottom: 15px; }
.seva-card p { color: var(--text-light); margin-bottom: 30px; }
.seva-form { display: flex; flex-direction: column; gap: 15px; }
.seva-form input, .seva-form select { padding: 15px; border: 1px solid rgba(0,0,0,0.1); border-radius: 5px; font-family: var(--font-body); font-size: 1rem; color: var(--text-main); outline: none; }
.seva-form input:focus, .seva-form select:focus { border-color: var(--primary); }

/* CONTACT */
.contact-section { background: var(--bg-dark); color: #fff; }
.contact-section .sec-title { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 50px; background: rgba(255,255,255,0.05); border-radius: 15px; overflow: hidden; }
.contact-info { padding: 50px; display: flex; flex-direction: column; gap: 30px; }
.c-item { display: flex; gap: 20px; }
.c-icon { width: 40px; height: 40px; background: rgba(255,213,79,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 18px; flex-shrink: 0; }
.c-text strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--gold); margin-bottom: 5px; }
.c-text p, .c-text a { color: rgba(255,255,255,0.8); text-decoration: none; transition: 0.3s; }
.c-text a:hover { color: #fff; }
.c-socials { display: flex; gap: 15px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.c-social-btn { width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 18px; transition: var(--trans); }
.c-social-btn:hover { background: var(--gold); color: #000; transform: translateY(-3px); }
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; filter: grayscale(1) invert(0.9) contrast(1.2); }

/* FOOTER */
.footer { background: #0a0604; color: rgba(255,255,255,0.6); padding-top: 80px; }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 60px; margin-bottom: 60px; }
.footer-brand { display: flex; gap: 20px; }
.footer-om { font-size: 40px; color: var(--gold); line-height: 1; }
.footer-brand h3 { color: #fff; font-size: 1.5rem; margin-bottom: 15px; }
.footer-links-col h4, .footer-cause h4 { color: var(--gold); font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }
.footer-links-col { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { color: rgba(255,255,255,0.6); text-decoration: none; transition: 0.3s; font-size: 1.1rem; }
.footer-links-col a:hover { color: var(--gold); padding-left: 5px; }
.footer-cause p { margin-bottom: 20px; }
.mt-1 { margin-top: 10px; }

.footer-tagline-bar { background: linear-gradient(90deg, transparent, rgba(216, 67, 21, 0.2), transparent); text-align: center; padding: 30px 20px; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-tagline-bar .telugu-text { font-size: 1.5rem; color: var(--gold); margin-bottom: 5px; }
.footer-tagline-bar .en { font-family: var(--font-head); letter-spacing: 3px; text-transform: uppercase; }

.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 25px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { color: rgba(255,255,255,0.6); transition: 0.3s; }
.footer-social a:hover { color: var(--gold); }

/* FLOATING BTNS */
.float-whatsapp { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: var(--shadow-lg); z-index: 100; transition: var(--trans); text-decoration: none; }
.float-whatsapp:hover { transform: scale(1.1); background: #128C7E; }
.float-donate { position: fixed; bottom: 110px; right: 30px; background: var(--gold-grad); color: #000; padding: 15px 25px; border-radius: 50px; font-weight: 700; font-family: var(--font-head); font-size: 16px; box-shadow: var(--shadow-lg); z-index: 100; display: flex; align-items: center; gap: 10px; text-transform: uppercase; animation: floatBtn 3s infinite alternate; }
.float-donate:hover { transform: scale(1.05); }
@keyframes floatBtn { 0% { transform: translateY(0); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3); } 100% { transform: translateY(-10px); box-shadow: 0 20px 30px rgba(212, 175, 55, 0.5); } }

/* COMMON MODAL STYLES */
.modal-overlay, .exit-overlay, .thankyou-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.4s; }
.modal-overlay.active, .exit-overlay.active, .thankyou-overlay.active { opacity: 1; pointer-events: all; }
.modal-box, .exit-box, .thankyou-box { background: var(--bg-main); width: 90%; max-width: 500px; padding: 40px; border-radius: 20px; position: relative; text-align: center; transform: translateY(30px); transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: var(--shadow-lg); border-top: 5px solid var(--primary); }
.active .modal-box, .active .exit-box, .active .thankyou-box { transform: translateY(0); }
.modal-close-btn, .exit-close-btn { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.05); width: 35px; height: 35px; border-radius: 50%; color: var(--text-main); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.modal-close-btn:hover, .exit-close-btn:hover { background: rgba(216, 67, 21, 0.1); color: var(--primary); }

.modal-om, .exit-om, .ty-om { font-size: 50px; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.modal-head h2, .exit-box h2, .thankyou-box h2 { font-size: 2rem; margin-bottom: 10px; }
.modal-head p { color: var(--text-light); margin-bottom: 30px; font-style: italic; }

/* DONATE MODAL SPECIFICS */
.modal-amounts { margin-bottom: 30px; }
.modal-amt-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 15px 0; }
.m-amt { background: #fff; border: 1px solid rgba(0,0,0,0.1); padding: 12px; border-radius: 8px; font-weight: 700; font-size: 1.1rem; color: var(--text-main); }
.m-amt.selected { background: rgba(216, 67, 21, 0.1); border-color: var(--primary); color: var(--primary-dark); }
.modal-custom-row { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1px solid rgba(0,0,0,0.1); padding: 10px; border-radius: 8px; }
.modal-custom-row input { border: none; font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; width: 100px; text-align: center; color: var(--primary-dark); outline: none; }

.modal-pay-area { display: flex; align-items: center; gap: 20px; background: rgba(0,0,0,0.02); padding: 20px; border-radius: 10px; margin-bottom: 30px; text-align: left; }
.modal-qr-small { text-align: center; flex-shrink: 0; }
.modal-qr-small svg { width: 80px; height: 80px; }
.modal-qr-small p { font-size: 12px; font-weight: bold; margin-top: 5px; color: var(--text-light); }
.modal-pay-info p { font-size: 0.95rem; margin-bottom: 5px; }
.modal-pay-info a.btn-ghost-sm { margin-top: 10px; font-size: 0.8rem; padding: 6px 15px; }

/* EXIT INTENT SPECIFICS */
.exit-quote { font-family: var(--font-head); font-size: 1.5rem; color: var(--primary); margin: 25px 0; font-style: italic; }
.exit-amt-btns { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.exit-amt-btns button { padding: 10px 20px; border-radius: 5px; border: 1px solid rgba(0,0,0,0.1); background: #fff; font-weight: 600; color: var(--text-main); }
.exit-featured-btn { background: var(--primary-dark) !important; color: #fff !important; border-color: var(--primary-dark) !important; transform: scale(1.1); }
.exit-skip-btn { background: transparent; color: var(--text-muted); text-decoration: underline; margin-top: 20px; display: block; width: 100%; }

/* THANK YOU SPECIFICS */
.thankyou-box { border-top-color: #388e3c; }
.thankyou-box .ty-om { color: #388e3c; }
.ty-btns { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; }

/* HERO SLIDESHOW BACKGROUND */
.cinematic { padding: 0; }
.hero-slideshow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; background: #150904; }
.bg-sl { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center 20%; opacity: 0; transition: opacity 2s ease-in-out, transform 10s linear; transform: scale(1); filter: brightness(0.6) contrast(1.1) sepia(0.2); }
.bg-sl.active { opacity: 1; transform: scale(1.1); }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(to top, #150904 10%, rgba(21, 9, 4, 0.6) 50%, rgba(40, 20, 10, 0.3) 100%); z-index: 1; pointer-events: none; }

/* TIMELINE */
.timeline-section { margin-top: 80px; padding: 40px; background: #fff; border-radius: 15px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05); }
.timeline-title { font-size: 2rem; text-align: center; margin-bottom: 40px; color: var(--primary-dark); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; border-left: 2px dashed var(--gold); }
.tl-item { position: relative; margin-bottom: 30px; }
.tl-dot { position: absolute; left: -39px; top: 5px; width: 16px; height: 16px; background: var(--primary-dark); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold); }
.tl-content { padding-left: 20px; }
.tl-content h4 { font-family: var(--font-head); font-size: 1.3rem; color: var(--text-main); margin-bottom: 5px; }
.tl-content p { color: var(--text-light); }

/* YATRA MAP */
.yatra-section { margin-top: 80px; text-align: center; }
.yatra-desc { color: var(--text-muted); font-size: 1.2rem; font-style: italic; margin-bottom: 30px; }
.yatra-map-box { background: var(--primary-dark); border-radius: 15px; padding: 50px; position: relative; overflow: hidden; color: #fff; box-shadow: var(--shadow-md); }
.yatra-bg-map { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.05; font-size: 400px; }
.yatra-grid { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.yatra-node { background: rgba(255,255,255,0.1); padding: 10px 20px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.2); font-family: var(--font-head); font-weight: 600; font-size: 1rem; backdrop-filter: blur(5px); }
.yatra-node i { color: var(--gold); margin-right: 5px; }

/* RSVP */
.rsvp-box { margin-top: 60px; background: var(--bg-card); padding: 50px; border-radius: 15px; box-shadow: var(--shadow-sm); border-top: 5px solid var(--primary); text-align: center; max-width: 800px; margin-inline: auto; }
.rsvp-box h3 { font-size: 2rem; margin-bottom: 10px; }
.rsvp-box p { color: var(--text-light); margin-bottom: 30px; }
.r-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.r-row input, .r-row select { padding: 15px; border: 1px solid rgba(0,0,0,0.1); border-radius: 5px; font-family: var(--font-body); font-size: 1.1rem; width: 100%; outline: none; }
.r-row input:focus, .r-row select:focus { border-color: var(--primary); }

/* UTIL CHART */
.fund-chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: #fff; padding: 50px; border-radius: 15px; box-shadow: var(--shadow-sm); margin-top: 60px; }
.chart-info h3 { font-size: 2rem; margin-bottom: 10px; }
.chart-info p { margin-bottom: 25px; color: var(--text-light); }
.chart-legend { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.chart-legend li { display: flex; align-items: center; font-weight: 600; font-size: 1.1rem; }
.c-dot { display: inline-block; width: 15px; height: 15px; border-radius: 50%; margin-right: 15px; }
.pie-chart-wrap { position: relative; width: 250px; height: 250px; margin: 0 auto; }
.pie-chart { width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(var(--primary-dark) 0% 40%, var(--gold) 40% 70%, #8bc34a 70% 90%, #0288d1 90% 100%); box-shadow: var(--shadow-md); }
.pie-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; width: 180px; height: 180px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; font-family: var(--font-head); font-weight: 700; text-align: center; color: var(--text-main); }
.pie-inner span { font-size: 3rem; color: var(--primary-dark); line-height: 1; }

/* SOCIAL PROOF */
.proof-section { background: var(--bg-dark); color: #fff; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.proof-h { font-size: 2rem; margin-bottom: 40px; color: var(--gold); }
.proof-h i { margin-right: 15px; }
.testi-card { background: rgba(255,255,255,0.05); padding: 40px; border-radius: 15px; border-left: 5px solid var(--gold); font-size: 1.4rem; font-style: italic; line-height: 1.6; position: relative; }
.testi-author { display: block; margin-top: 20px; font-family: var(--font-head); font-size: 1rem; color: var(--gold); font-style: normal; font-weight: 600; text-transform: uppercase; }
.media-grid { display: flex; flex-direction: column; gap: 20px; }
.m-card { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,0.02); padding: 20px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); }
.m-icon { font-size: 30px; color: #fff; opacity: 0.5; }
.m-card p { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }

/* EXTRA DONATE OPTS */
.donate-extra-opts { margin: 20px 0; text-align: left; }
.d-check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; color: var(--text-main); margin-bottom: 15px; }
.d-check input { width: 18px; height: 18px; cursor: pointer; }
.in-memory input { width: 100%; padding: 12px; border: 1px solid rgba(0,0,0,0.1); border-radius: 5px; font-size: 1rem; color: var(--text-main); outline: none; }
.in-memory input:focus { border-color: var(--primary); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .about-grid, .contact-grid, .sasti-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 3rem; }
    .cd-num { font-size: 3rem; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-donate-nav, .lang-btn { display: none; }
    .hamburger-btn { display: flex; }
    .nav-actions { gap: 20px; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-biruda { font-size: 1.4rem; }
    .hero-mandala { width: 400px; height: 400px; }
    .r2 { margin: 50px; } .r3 { margin: 100px; } .r4 { margin: 150px; }
    .scroll-cue { display: none; }
    
    .event-bar-inner { flex-direction: column; text-align: center; gap: 15px; }
    .event-bar-text { margin: 0; }
    .event-bar-link { padding: 0; }
    
    .sec-title { font-size: 2.2rem; }
    
    .video-cap { font-size: 1rem; }
    .sasti-stats { flex-direction: column; align-items: center; gap: 20px; }
    
    .cd-grid { gap: 10px; }
    .cd-unit { min-width: 70px; padding: 10px; }
    .cd-num { font-size: 2rem; }
    .cd-colon { font-size: 2rem; margin-top: -10px; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .g-item.tall { grid-row: span 1; grid-column: span 1; }
    
    .fundraiser-wrap { grid-template-columns: 1fr; }
    .fund-stats { justify-content: center; }
    
    .pay-tabs { flex-direction: column; }
    .upi-wrap { flex-direction: column; }
    .bank-row { flex-direction: column; align-items: flex-start; gap: 5px; }
    .bk-label { width: 100%; }
    .info-items { grid-template-columns: 1fr; }
    
    .seva-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { justify-content: center; flex-direction: column; align-items: center; }
    .footer-bottom { flex-direction: column; gap: 20px; }
    
    .modal-pay-area { flex-direction: column; text-align: center; }
    .float-donate { bottom: 30px; right: auto; left: 30px; }
    .audio-btn { top: 20px; right: 20px; bottom: auto; left: auto; transform: scale(0.8); z-index: 2000; }
}

/* Base animations for GSAP to target */
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }

/* MOBILE SPECIFIC OPTIMIZATIONS */
@media (max-width: 480px) {
    /* Better touch targets for Android */
    button, .btn-gold, .btn-ghost, .btn-ghost-sm, .btn-whatsapp, .quick-amts button, .m-amt { min-height: 48px; }
    
    .hero-title { font-size: 1.8rem; }
    .tiers-grid { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    
    .cd-grid { display: grid; grid-template-columns: 1fr auto 1fr; row-gap: 15px; column-gap: 5px; }
    .cd-colon:nth-child(4) { display: none; }
    .cd-unit { padding: 8px; min-width: 80px; }
    .cd-num { font-size: 1.8rem; }
    .cd-lbl { font-size: 11px; }

    .modal-box, .exit-box, .thankyou-box { width: 100%; height: 100vh; max-width: none; border-radius: 0; border-top: none; display: flex; flex-direction: column; justify-content: center; }
    .modal-amounts { flex: 1; display: flex; flex-direction: column; justify-content: center; }
    
    /* Move whatsapp out of the way of donate on small screens */
    .float-whatsapp { bottom: 90px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
    .float-donate { bottom: 20px; right: 20px; left: auto; padding: 12px 20px; }
    
    /* Forms to full width */
    .r-row { grid-template-columns: 1fr; gap: 15px; }
    .custom-input-row { max-width: 100%; border-radius: 8px; }
    .qr-box svg { width: 150px; height: 150px; }
    
    /* Remove hover on mobile, use active state */
    .btn-gold:active { transform: scale(0.95); }
    .tier-card:hover { transform: none; box-shadow: var(--shadow-sm); border-color: transparent; }
    .featured-tier:hover { transform: scale(1.05); }
}

/* TOAST NOTIFICATIONS */
.toast-container { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; width: 90%; max-width: 400px; }
.toast { background: var(--bg-card); color: var(--text-main); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; padding: 15px 25px; border-radius: 10px; box-shadow: var(--shadow-lg); border-left: 4px solid #388e3c; animation: toastIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; display: flex; align-items: center; gap: 15px; pointer-events: auto; }
.toast.toast-err { border-left-color: var(--primary); }
.toast.toast-err i { color: var(--primary); }
.toast i { color: #388e3c; font-size: 1.2rem; }
.toast.hide { animation: toastOut 0.3s forwards; }
@keyframes toastIn { 0% { opacity: 0; transform: translateY(30px) scale(0.9); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastOut { 0% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(30px) scale(0.9); } }

/* ========================================================================= */
/*                           MOBILE RESPONSIVENESS                           */
/* ========================================================================= */

@media (max-width: 991px) {
    .about-grid, .sasti-grid, .fundraiser-wrap, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .proof-grid, .seva-grid, .fund-chart-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sec-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navbar & Mobile Menu */
    .nav-links, .nav-actions .btn-donate-nav {
        display: none;
    }
    .hamburger-btn {
        display: flex;
    }
    .nav-logo-text {
        font-size: 1rem;
    }
    .nav-om {
        font-size: 22px;
    }
    
    /* Layouts */
    .section {
        padding: 60px 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Typography & Sizing */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .sec-title {
        font-size: 1.8rem;
    }
    
    .swami-full-title {
        font-size: 1.5rem;
    }
    
    .s-num, .cd-num, .fund-num, .tier-amt, .impact-amt {
        font-size: 2rem;
    }
    
    .cd-grid {
        flex-wrap: wrap;
    }
    
    .cd-colon {
        display: none;
    }
    
    .cd-unit {
        min-width: 80px;
        padding: 10px;
    }
    
    /* Animations & Decorative Elements */
    .hero-mandala {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        opacity: 0.1; /* Reduce opacity on mobile */
    }
    
    .r2 {
        margin: 50px;
    }
    
    .r3 {
        margin: 100px;
    }
    
    .ticker-label {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .ticker-inner {
        font-size: 13px;
    }
    
    /* Modals & Forms */
    .modal-box, .exit-box, .thankyou-box {
        padding: 20px;
    }
    
    .modal-pay-area {
        flex-direction: column;
        text-align: center;
    }
    
    .r-row {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .g-item.tall {
        grid-row: span 1;
        grid-column: span 1;
    }
    
    .fund-stats {
        flex-direction: column;
        gap: 15px;
    }

    /* Force Prevent Horizontal Scroll */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw;
        margin: 0;
        padding: 0;
    }
    
    .hero-mandala {
        display: none !important; /* Hide complex mandala rings completely on mobile to guarantee no overflow */
    }

    .event-bar-inner, .nav-inner, .hero-btns, .about-action-btns, .sasti-stats {
        flex-direction: column !important;
        text-align: center;
        gap: 15px;
    }

    .event-bar-inner {
        align-items: center;
    }

    img, iframe, video, .event-bar {
        max-width: 100vw;
    }
}
