@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --primary: #8b5cf6;
  --primary-dark: #6d28d9;
  --primary-light: #c4b5fd;
  --secondary: #2d1b69;
  --accent: #f59e0b;
  --white: #ffffff;
  --light: #fdfcff;
  --dark: #1e1b4b;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #f1f0fb;
  --success: #10b981;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  --gradient-soft: linear-gradient(135deg, #f8f7ff 0%, #f3e8ff 100%);
  --shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.15);
  --shadow-lg: 0 20px 40px -15px rgba(139, 92, 246, 0.25);
  --radius: 16px;
  --radius-lg: 32px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; font-weight: 700; }
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* Bootstrap Color Overrides */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.border-secondary { border-color: var(--secondary) !important; }
.text-warning { color: var(--accent) !important; }
.bg-warning { background-color: var(--accent) !important; }
.text-success { color: var(--success) !important; }
.bg-success { background-color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.bg-danger { background-color: var(--danger) !important; }

/* Navbar */
.navbar { background: #ffffff !important; padding: 8px 0; transition: var(--transition); position: fixed; width: 100%; top: 0; z-index: 10000; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); }
.navbar-brand { padding: 0; display: flex; align-items: center; }
.navbar-brand span { color: var(--secondary); -webkit-text-fill-color: var(--secondary); }
.nav-link { color: var(--text) !important; font-size: 0.9rem; font-weight: 600; padding: 10px 10px !important; border-radius: 10px; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; background: rgba(139, 92, 246, 0.05); }
.btn-login-nav { border: 1px solid var(--primary); color: var(--primary) !important; margin: 0 5px; padding: 6px 16px !important; font-size: 0.85rem; }
.btn-login-nav:hover { background: var(--primary) !important; color: var(--white) !important; }
.btn-donate-nav { background: var(--gradient) !important; color: var(--white) !important; border-radius: 50px !important; padding: 8px 18px !important; font-weight: 700 !important; font-size: 0.85rem !important; box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2); border: none !important; margin-left: 5px; }
.btn-donate-nav:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(139, 92, 246, 0.3); }

/* Dropdown */
.dropdown-menu { background: var(--white); border: 1px solid rgba(124,58,237,0.1) !important; padding: 10px; margin-top: 10px; }
.dropdown-menu::before { content: ''; position: absolute; top: -15px; left: 0; right: 0; height: 15px; background: transparent; }
.dropdown-item { color: var(--text); border-radius: 8px; font-weight: 500; font-size: 0.9rem; transition: var(--transition); }
.dropdown-item:hover { background: rgba(124,58,237,0.08); color: var(--primary); transform: translateX(5px); }
.dropdown-toggle::after { border-top: 0.35em solid; border-right: 0.35em solid transparent; border-left: 0.35em solid transparent; transition: var(--transition); vertical-align: middle; margin-left: 6px; }
.dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }
.dropdown:hover .dropdown-menu { display: block; animation: slideUpFade 0.3s ease forwards; }

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn-primary-custom { background: var(--gradient); color: var(--white); border: none; padding: 12px 32px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-primary-custom:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--white); }
.btn-outline-custom { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 11px 32px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-custom:hover { background: var(--gradient); color: var(--white); border-color: transparent; transform: translateY(-3px); }
.btn-white-custom { background: var(--white); color: var(--primary); border: none; padding: 12px 32px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-white-custom:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); color: var(--primary); }

/* Section Styles */
.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }
.section-badge { display: inline-block; background: rgba(124,58,237,0.1); color: var(--primary); padding: 6px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; border: 1px solid rgba(124,58,237,0.2); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--secondary); margin-bottom: 16px; line-height: 1.2; }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; max-width: 600px; }
.section-bg { background: var(--light); }
.section-dark { background: var(--gradient-light); }

/* Hero */
.hero-section { min-height: 95vh; background: var(--gradient-soft); position: relative; display: flex; align-items: center; overflow: hidden; padding-top: 120px; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66-3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-71c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm63 66c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM37 17c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm43 5c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-63 31c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM15 52c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm58 1c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-8 23c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm20 10c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-10-8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-61-28c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM56 8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-48 82c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm80-26c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm8-56c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-44 41c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-1-20c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-24 51c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%238b5cf6' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-content { position: relative; z-index: 5; }
.hero-badge { display: inline-block; background: var(--white); border: 1px solid rgba(139, 92, 246, 0.2); color: var(--primary); padding: 10px 24px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; margin-bottom: 24px; box-shadow: var(--shadow); }
.hero-title { font-size: clamp(2.8rem, 7vw, 4.8rem); color: var(--secondary); line-height: 1; margin-bottom: 30px; letter-spacing: -2px; }
.hero-title .highlight { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { color: var(--text-light); font-size: 1.25rem; margin-bottom: 48px; max-width: 620px; line-height: 1.6; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 60px; }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2.2rem; font-weight: 800; color: var(--primary); display: block; font-family: 'Inter', sans-serif; }
.hero-stat .label { color: var(--text-light); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.hero-image-card { background: var(--white); border: 1px solid rgba(124,58,237,0.1); border-radius: var(--radius-lg); padding: 15px; box-shadow: var(--shadow-lg); }
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; }
.orb-1 { width: 600px; height: 600px; background: rgba(124,58,237,0.05); top: -200px; right: -100px; animation: orbFloat 8s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: rgba(168,85,247,0.05); bottom: -100px; left: -50px; animation: orbFloat 6s ease-in-out infinite reverse; }
@keyframes orbFloat { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-20px)} }

/* Counter Section */
.counter-section { background: var(--gradient); padding: 50px 0; }
.counter-item { text-align: center; }
.counter-number { font-size: 2.6rem; font-weight: 800; color: var(--white); font-family: 'Inter', sans-serif; display: block; line-height: 1; }
.counter-label { color: rgba(255,255,255,0.8); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; }
.counter-divider { width: 1px; background: rgba(255,255,255,0.2); align-self: stretch; }

/* Cards */
.card-project { border: none; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: var(--transition); background: var(--white); height: 100%; }
.card-project:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-project .img-wrap { height: 220px; overflow: hidden; position: relative; }
.card-project .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card-project:hover .img-wrap img { transform: scale(1.08); }
.card-project .category-badge { position: absolute; top: 14px; left: 14px; background: var(--gradient); color: var(--white); font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.card-project .status-badge { position: absolute; top: 14px; right: 14px; font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.status-active { background: rgba(16,185,129,0.15); color: #059669; border: 1px solid rgba(16,185,129,0.3); }
.status-upcoming { background: rgba(245,158,11,0.15); color: #b45309; border: 1px solid rgba(245,158,11,0.3); }
.status-completed { background: rgba(124,58,237,0.15); color: var(--primary); border: 1px solid rgba(124,58,237,0.3); }
.card-project .card-body { padding: 24px; }
.card-project .progress { height: 7px; border-radius: 10px; background: #ede9fe; }
.card-project .progress-bar { background: var(--gradient); border-radius: 10px; }
.card-project .amount-row { display: flex; justify-content: space-between; font-size: 0.85rem; margin-top: 8px; }
.card-project .raised { color: var(--primary); font-weight: 700; }
.card-project .goal { color: var(--text-light); }

/* Campaign Cards */
.card-campaign { border: none; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: var(--transition); position: relative; }
.card-campaign:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.campaign-progress-wrap { padding: 24px; }
.campaign-timer { background: var(--secondary); color: var(--white); padding: 8px 16px; font-size: 0.8rem; font-weight: 500; }

/* Testimonials */
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); border: 1px solid var(--border); position: relative; transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testimonial-card::before { content: '"'; font-size: 5rem; color: var(--primary); opacity: 0.1; position: absolute; top: 10px; left: 24px; font-family: serif; line-height: 1; }
.testimonial-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }

/* Gallery */
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(124,58,237,0.75); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 2rem; }

/* Volunteer Cards */
.volunteer-feature { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid var(--border); transition: var(--transition); }
.volunteer-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.volunteer-icon { width: 72px; height: 72px; background: rgba(124,58,237,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: var(--primary); transition: var(--transition); }
.volunteer-feature:hover .volunteer-icon { background: var(--gradient); color: var(--white); }

/* Donor Wall */
.donor-wall { background: var(--gradient-light); }
.donor-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: var(--transition); box-shadow: var(--shadow); }
.donor-card:hover { border-color: var(--primary-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.donor-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1.2rem; margin: 0 auto 12px; overflow: hidden; }
.donor-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.donor-name { color: var(--secondary); font-weight: 700; font-size: 0.95rem; }
.donor-designation { color: var(--text-light); font-size: 0.78rem; font-weight: 600; margin: 2px 0 4px; }
.donor-amount { color: var(--primary); font-size: 0.85rem; font-weight: 600; }

/* Transparency */
.transparency-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-left: 4px solid var(--primary); margin-bottom: 16px; transition: var(--transition); }
.transparency-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.transparency-icon { width: 48px; height: 48px; background: rgba(124,58,237,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; }

/* Certificate Cards */
.cert-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.cert-icon { width: 70px; height: 70px; background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(168,85,247,0.1)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.8rem; color: var(--primary); }

/* Stats Cards */
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; }
.stat-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--gradient); }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-card .stat-icon { font-size: 2.2rem; margin-bottom: 12px; }
.stat-card .stat-number { font-size: 2rem; font-weight: 800; color: var(--primary); font-family: 'Inter', sans-serif; line-height: 1; }
.stat-card .stat-label { color: var(--text-light); font-size: 0.85rem; margin-top: 4px; }

/* Donate Form */
.donate-section { background: var(--light); }
.donate-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.donate-card-header { background: var(--gradient); padding: 30px; color: var(--white); }
.amount-btn { border: 2px solid var(--border); background: var(--white); color: var(--text); padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); }
.amount-btn:hover, .amount-btn.active { border-color: var(--primary); background: rgba(124,58,237,0.1); color: var(--primary); }
.payment-method-btn { border: 2px solid var(--border); background: var(--white); padding: 14px; border-radius: 10px; cursor: pointer; transition: var(--transition); text-align: center; }
.payment-method-btn:hover, .payment-method-btn.active { border-color: var(--primary); background: rgba(124,58,237,0.05); }
.donate-type-btn { border: 2px solid var(--border); background: var(--white); color: var(--text-light); padding: 10px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.donate-type-btn:hover, .donate-type-btn.active { border-color: var(--primary); background: var(--gradient); color: var(--white); }

/* Forms */
.form-control-custom { border: 2px solid var(--border); border-radius: var(--radius); padding: 12px 16px; font-size: 0.95rem; transition: var(--transition); width: 100%; font-family: 'Inter', sans-serif; }
.form-control-custom:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.form-label-custom { font-weight: 500; color: var(--text); font-size: 0.9rem; margin-bottom: 6px; display: block; }

/* Footer */
.footer { background: var(--dark); padding: 70px 0 0; }
.footer-brand { font-size: 1.8rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: 'Playfair Display', serif; }
.footer-about { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.8; margin: 16px 0; }
.footer-heading { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 20px; position: relative; font-family: 'Inter', sans-serif; }
.footer-heading::after { content: ''; display: block; width: 30px; height: 3px; background: var(--gradient); border-radius: 2px; margin-top: 8px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--primary-light); transform: translateX(4px); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-item i { color: var(--primary-light); font-size: 1rem; margin-top: 2px; }
.footer-contact-item span { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 38px; height: 38px; background: rgba(255,255,255,0.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 1rem; transition: var(--transition); border: 1px solid rgba(255,255,255,0.08); }
.social-btn:hover { background: var(--gradient); color: var(--white); border-color: transparent; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; margin-top: 50px; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* Lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition); }
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: white; font-size: 2rem; cursor: pointer; line-height: 1; }

/* Page Header */
.page-header { 
  background: linear-gradient(rgba(30, 27, 75, 0.8), rgba(30, 27, 75, 0.8)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 140px 0 60px; 
  position: relative; 
  overflow: hidden; 
  text-align: center;
}
.page-header::before { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
  pointer-events: none; 
}
.page-header h1 { 
  color: var(--white); 
  position: relative; 
  font-weight: 800; 
  font-family: 'Playfair Display', serif; 
  font-size: 3.5rem; 
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  margin-bottom: 15px;
}
.page-header .text-primary-light { color: var(--primary-light) !important; }
.page-header p { 
  position: relative; 
  font-size: 1.2rem; 
  color: rgba(255,255,255,0.95) !important;
  max-width: 700px;
  margin: 0 auto 25px;
  font-weight: 400;
}
@media (max-width: 767.98px) {
  .page-header { 
    padding: 85px 14px 35px !important; 
    background-attachment: scroll !important;
  }
  .page-header h1 { 
    font-size: 1.85rem !important; 
    margin-bottom: 10px !important;
  }
  .page-header p { 
    font-size: 0.92rem !important; 
    margin-bottom: 16px !important;
  }
}
.page-header .breadcrumb { 
  position: relative; 
  justify-content: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  display: inline-flex;
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
}
.breadcrumb-item a { color: rgba(255,255,255,0.7); font-weight: 500; }
.breadcrumb-item a:hover { color: var(--white); }
.breadcrumb-item.active { color: var(--primary-light); font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); content: "•"; padding: 0 10px; }

/* Alerts / Flash */
.flash-alert { border-radius: var(--radius); border: none; padding: 14px 20px; font-weight: 500; }
.flash-success { background: rgba(16,185,129,0.1); color: #059669; border-left: 4px solid #10b981; }
.flash-error { background: rgba(239,68,68,0.1); color: #dc2626; border-left: 4px solid #ef4444; }

/* Admin Sidebar (preview) */
.admin-sidebar { width: 260px; background: var(--secondary); min-height: 100vh; position: fixed; left: 0; top: 0; z-index: 1000; border-right: 1px solid rgba(124,58,237,0.1); }
.admin-content { margin-left: 260px; background: #f4f1ff; min-height: 100vh; }

/* Responsive */
@media (max-width: 991.98px) {
  .admin-sidebar { transform: translateX(-100%); transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 767.98px) {
  .section-padding { padding: 60px 0; }
  .hero-title { font-size: 2rem; }
  .counter-number { font-size: 2rem; }
  .hero-stat .number { font-size: 1.6rem; }
  .navbar-brand { font-size: 1.5rem; }
}

/* Project Tabs Custom Styling */
#projectTabs .nav-link {
    color: var(--text-light);
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

#projectTabs .nav-link.active {
    background: var(--gradient) !important;
    color: var(--white) !important;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

#projectTabs .nav-link:hover:not(.active) {
    background: rgba(139, 92, 246, 0.05);
    color: var(--primary);
    border-color: var(--primary-light);
}

/* Mobile First Model Icons */
@media (max-width: 767.98px) {
    .footer-social {
        justify-content: center;
        gap: 15px;
    }
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .nav-link i {
        font-size: 1.2rem;
    }
}

/* Mobile App-style Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.mobile-bottom-nav .nav-item {
    text-decoration: none;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    transition: all 0.3s;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item span {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--primary);
}

.mobile-bottom-nav .nav-item.active i {
    color: var(--primary);
}

/* Centered Donate Button */
.mobile-bottom-nav .donate-center {
    position: relative;
    top: -20px;
}

.mobile-bottom-nav .donate-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
    border: 5px solid white;
}

.mobile-bottom-nav .donate-center span {
    margin-top: 5px;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 75px; /* Prevent content overlap with bottom nav */
    }
}

/* Animations */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; pointer-events: none; }
.fade-up.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.pulse-ring { animation: pulseRing 2s ease-out infinite; }
@keyframes pulseRing { 0%{transform:scale(1);opacity:1} 100%{transform:scale(1.5);opacity:0} }

/* Misc utilities */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background: var(--gradient) !important; }
.border-primary-custom { border-color: var(--primary) !important; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.lh-1 { line-height: 1 !important; }
.bg-light-purple { background: var(--light) !important; }

/* ==========================================================================
   MOBILE-FIRST APPLICATION MODEL STYLES (Production-Ready)
   ========================================================================== */

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.mobile-app-layout {
    background-color: #f8fafc;
}

/* Desktop Hero Slider (Clean Standard Height) */
@media (min-width: 992px) {
    .hero-classic-slider .carousel-item img {
        height: 700px !important;
        min-height: 700px !important;
        object-fit: cover;
    }
    .stats-container-wrap {
        margin-top: 24px;
        z-index: 20;
    }
}

/* Mobile App Drawer */
.mobile-app-drawer {
    width: 320px !important;
    max-width: 85vw !important;
    border-radius: 0 24px 24px 0;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.15);
}

.mobile-app-drawer .drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    border-radius: 12px;
    margin-bottom: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-app-drawer .drawer-nav-item i {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
}

.mobile-app-drawer .drawer-nav-item:hover,
.mobile-app-drawer .drawer-nav-item.active {
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary);
    font-weight: 700;
}

/* Mobile App Hero Slider (Card Banner Model) */
@media (max-width: 991.98px) {
    /* Navbar Adjustment */
    .navbar {
        padding: 6px 0 !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(12px);
    }
    
    body {
        padding-top: 58px;
        padding-bottom: 82px; /* Bottom nav safe clearance */
    }

    /* Slider Container as an App Banner Card */
    .hero-classic-slider {
        padding: 12px 14px 0 !important;
        background: transparent !important;
    }

    #mainHeroSlider {
        border-radius: 20px !important;
        overflow: hidden !important;
        box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12), 0 2px 8px rgba(0,0,0,0.06) !important;
        touch-action: pan-y !important;
    }

    .hero-classic-slider .carousel-inner {
        border-radius: 20px !important;
    }

    .hero-classic-slider .carousel-item img {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
        object-fit: cover !important;
    }

    /* Mobile Caption: Clean App Style */
    .hero-classic-slider .carousel-caption {
        bottom: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        text-align: left !important;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.5) 60%, rgba(15, 23, 42, 0.1) 100%) !important;
    }

    .hero-classic-slider .carousel-caption .container,
    .hero-classic-slider .carousel-caption .row,
    .hero-classic-slider .carousel-caption .col-lg-9 {
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-classic-slider .carousel-caption h6 {
        font-size: 0.68rem !important;
        padding: 3px 10px !important;
        border-radius: 20px !important;
        background: rgba(245, 158, 11, 0.2) !important;
        display: inline-block !important;
        margin-bottom: 6px !important;
        letter-spacing: 0.5px !important;
        color: #fef08a !important;
        text-shadow: none !important;
    }

    .hero-classic-slider .carousel-caption h1 {
        font-size: 1.22rem !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
        font-family: 'Inter', sans-serif !important;
        font-weight: 800 !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
    }

    .hero-classic-slider .carousel-caption p {
        display: none !important; /* Hide long paragraphs on mobile slider */
    }

    .hero-classic-slider .carousel-caption .d-flex {
        justify-content: flex-start !important;
        gap: 8px !important;
        margin-top: 2px !important;
    }

    .hero-classic-slider .carousel-caption .btn {
        padding: 6px 14px !important;
        font-size: 0.75rem !important;
        border-radius: 50px !important;
    }

    /* Hide large desktop arrows on mobile for clean touch swipe */
    .hero-classic-slider .carousel-control-prev,
    .hero-classic-slider .carousel-control-next {
        display: none !important;
    }

    /* Slick Mobile Carousel Indicators */
    .hero-classic-slider .carousel-indicators {
        bottom: 8px !important;
        margin-bottom: 0 !important;
        gap: 5px !important;
        justify-content: flex-end !important;
        padding-right: 14px !important;
    }

    .hero-classic-slider .carousel-indicators button {
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        opacity: 0.4 !important;
        background-color: #ffffff !important;
        border: none !important;
        transition: all 0.3s ease !important;
    }

    .hero-classic-slider .carousel-indicators button.active {
        width: 20px !important;
        border-radius: 8px !important;
        opacity: 1 !important;
        background-color: var(--accent) !important;
    }

    /* Mobile Quick Categories Horizontal Scroller */
    .mobile-quick-categories {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 12px 14px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .mobile-quick-categories::-webkit-scrollbar {
        display: none;
    }

    .quick-cat-chip {
        flex: 0 0 auto;
        scroll-snap-align: start;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 14px;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
        color: #334155;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
        text-decoration: none;
        transition: all 0.2s;
    }

    .quick-cat-chip:active {
        transform: scale(0.96);
        background: var(--gradient);
        color: #ffffff !important;
    }

    .quick-cat-chip.highlight {
        border-color: rgba(16, 185, 129, 0.4);
        background: rgba(16, 185, 129, 0.06);
        color: #047857;
    }

    /* Stats Bar Mobile Card */
    .stats-container-wrap {
        margin: 6px 14px 18px !important;
        padding: 0 !important;
        z-index: 10 !important;
    }

    .stats-container-wrap .rounded-xl {
        border-radius: 18px !important;
        padding: 16px 12px !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
    }

    .stats-container-wrap .counter-number {
        font-size: 1.45rem !important;
    }

    .stats-container-wrap .counter-label {
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
        margin-top: 3px !important;
    }

    /* Section padding on mobile */
    .section-padding {
        padding: 44px 0 !important;
    }

    .section-title {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
    }

    .section-subtitle {
        font-size: 0.92rem !important;
    }

    /* Project and Campaign Cards on Mobile */
    .card-project, .card-campaign {
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
        margin-bottom: 8px !important;
    }

} /* END @media (max-width: 991.98px) */

.card-project:active, .card-campaign:active {
    transform: scale(0.99);
}

/* ===== Donor Wall (Legacy) Styles ===== */
.donor-card,
.supporter-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.donor-card:hover,
.supporter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: rgba(139, 92, 246, 0.15);
}

.donor-avatar,
.supporter-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f8fafc;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.donor-avatar img,
.supporter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
    color: #ffffff !important;
}

.donor-name,
.supporter-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: #0f172a;
    margin: 0 0 4px;
}

.donor-designation,
.supporter-designation {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0 0 8px;
}

.donor-amount,
.supporter-amount {
    font-size: 0.88rem;
    font-weight: 700;
    color: #8b5cf6;
    margin: 0 0 6px;
}

/* ===== PREMIUM SUPPORTER CARD CAROUSEL ===== */
.supporter-section {
    background: linear-gradient(160deg, #fdfcff 0%, #f3e8ff 60%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
}
.supporter-section::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.supporter-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(217,70,239,0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Carousel wrapper with padding for arrows */
.supporter-carousel-wrap {
    padding: 20px 80px 60px;
}
@media (max-width: 768px) {
    .supporter-carousel-wrap { padding: 10px 50px 50px; }
}
@media (max-width: 480px) {
    .supporter-carousel-wrap { padding: 10px 40px 50px; }
}

/* Individual Card */
.supporter-card-premium {
    background: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 28px;
    padding: 44px 40px 36px;
    text-align: center;
    width: 340px;
    max-width: 100%;
    position: relative;
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.12), 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    overflow: visible;
    margin: 0 auto;
}
.supporter-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(139, 92, 246, 0.2), 0 8px 24px rgba(0,0,0,0.06);
}

/* Glow ring behind card */
.supporter-glow-ring {
    position: absolute;
    top: -16px; left: 50%; transform: translateX(-50%);
    width: 140px; height: 140px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
}

/* Photo wrap */
.supporter-photo-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    z-index: 1;
}
.supporter-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(139,92,246,0.2);
    display: block;
}
.supporter-photo-fallback {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 2.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(139,92,246,0.25);
    font-family: 'Inter', sans-serif;
}

/* Heart badge icon on photo */
.supporter-badge-icon {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 32px; height: 32px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(139,92,246,0.3);
    z-index: 2;
}

/* Rank badge (top-right corner) */
.supporter-rank {
    position: absolute;
    top: 18px; right: 20px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 10px rgba(139,92,246,0.3);
}

/* Info block */
.supporter-info {
    position: relative;
    z-index: 1;
}
.supporter-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 4px;
    line-height: 1.3;
}
.supporter-desig {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Amount badge */
.supporter-amount-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(139,92,246,0.08) 0%, rgba(217,70,239,0.06) 100%);
    border: 1.5px solid rgba(139,92,246,0.18);
    color: #6d28d9;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 10px 22px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
}
.supporter-amount-badge i {
    font-size: 1rem;
    color: #8b5cf6;
}
.supporter-amount-badge span {
    font-size: 1.15rem;
    font-weight: 900;
}
.supporter-amount-badge small {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 2px;
    margin-top: 2px;
    align-self: flex-end;
}
.supporter-amount-badge.supporter-active {
    color: #059669;
    border-color: rgba(16,185,129,0.2);
    background: rgba(16,185,129,0.07);
}
.supporter-amount-badge.supporter-active i { color: #059669; }

/* Dot indicators */
.carousel-indicators.supporter-dots {
    bottom: 8px;
    margin-bottom: 0;
}
.carousel-indicators.supporter-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(139,92,246,0.25);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
    opacity: 1;
}
.carousel-indicators.supporter-dots button.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* Custom arrow buttons */
.supporter-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(139,92,246,0.2);
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(139,92,246,0.12);
    z-index: 10;
    padding: 0;
}
.supporter-nav-btn:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-60%) scale(1.08);
    box-shadow: 0 10px 24px rgba(139,92,246,0.3);
}
.supporter-prev { left: 8px; }
.supporter-next { right: 8px; }

/* Carousel slide animation */
.supporter-carousel-inner { overflow: hidden; }
#supporterCarousel .carousel-item,
#supporterCarouselDummy .carousel-item {
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.55s ease;
}

/* Dummy donor cards (not used but keep for backward compat) */
.dummy-donor-card {
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.dummy-donor-card:hover {
    border-style: solid;
    border-color: #8b5cf6;
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
}

/* ===== SUP-CARD: 4-Per-Slide Compact Supporter Cards ===== */
.sup-card {
    background: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 22px;
    padding: 28px 18px 22px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.10), 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sup-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 48px rgba(139, 92, 246, 0.18), 0 4px 16px rgba(0,0,0,0.06);
}

/* Rank pill in top-right */
.sup-rank {
    position: absolute;
    top: 14px; right: 16px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 3px 8px rgba(139,92,246,0.25);
    letter-spacing: 0.3px;
}

/* Photo wrap */
.sup-photo-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 14px;
}
.sup-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(139,92,246,0.18);
    display: block;
}
.sup-photo-fallback {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(139,92,246,0.2);
    font-family: 'Inter', sans-serif;
}

/* Small heart badge */
.sup-heart {
    position: absolute;
    bottom: 0; right: 0;
    width: 26px; height: 26px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 0.65rem;
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(139,92,246,0.3);
}

/* Name */
.sup-name {
    font-size: 1rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 4px;
    line-height: 1.25;
}

/* Designation */
.sup-desig {
    font-size: 0.78rem;
    color: #7c3aed;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    background: rgba(139,92,246,0.07);
    border-radius: 20px;
    padding: 3px 10px;
    display: inline-block;
}
.sup-desig i {
    font-size: 0.68rem;
}

/* Amount block */
.sup-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    background: linear-gradient(135deg, rgba(139,92,246,0.07) 0%, rgba(217,70,239,0.05) 100%);
    border: 1.5px solid rgba(139,92,246,0.15);
    border-radius: 14px;
    padding: 8px 16px;
    width: 100%;
}
.sup-amount-value {
    font-size: 1rem;
    font-weight: 900;
    color: #6d28d9;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 2px;
}
.sup-amount-value i { font-size: 0.9rem; }
.sup-amount-label {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Carousel padding for 4-card layout */
.supporter-carousel-wrap {
    padding: 10px 64px 56px;
}
@media (max-width: 991px) {
    .supporter-carousel-wrap { padding: 10px 50px 50px; }
}
@media (max-width: 576px) {
    .supporter-carousel-wrap { padding: 10px 40px 44px; }
}
