/* Swami Vivekananda Welfare Trust - Main Stylesheet */
:root {
  --primary-saffron: #ea580c;
  --saffron-light: #fff7ed;
  --saffron-border: #fed7aa;
  --primary-navy: #0b1d3a;
  --navy-light: #1e3a8a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --success: #16a34a;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(11, 29, 58, 0.05);
  --shadow-md: 0 6px 20px rgba(11, 29, 58, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 29, 58, 0.12);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Top bar */
.top-bar {
  background-color: var(--primary-navy);
  color: #e2e8f0;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--primary-saffron);
}
.top-bar a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.top-bar a:hover {
  color: #fdba74;
}
.top-bar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-left: 6px;
  font-size: 12px;
}
.top-bar .social-icons a:hover {
  background: var(--primary-saffron);
  color: #ffffff;
}

/* Navbar */
.main-navbar {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  transition: all 0.3s ease;
}
.navbar-brand img {
  height: 54px;
  max-width: 100%;
}
.nav-link {
  font-weight: 600;
  color: var(--primary-navy) !important;
  padding: 8px 16px !important;
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-saffron) !important;
  background-color: var(--saffron-light);
}

/* Buttons */
.btn-saffron {
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all 0.25s ease;
}
.btn-saffron:hover {
  background: linear-gradient(135deg, #c2410c, #ea580c);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
}
.btn-outline-saffron {
  border: 2px solid var(--primary-saffron);
  color: var(--primary-saffron);
  font-weight: 700;
  border-radius: 50px;
  padding: 8px 22px;
  background: transparent;
  transition: all 0.2s ease;
}
.btn-outline-saffron:hover {
  background: var(--primary-saffron);
  color: #ffffff !important;
}

.btn-navy {
  background: var(--primary-navy);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  transition: all 0.2s ease;
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* Pulsing Donation Button */
.btn-pulse {
  animation: pulse-saffron 2s infinite;
}
@keyframes pulse-saffron {
  0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(234, 88, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.95), rgba(30, 58, 138, 0.9)), url('../images/vivekananda_portrait.svg') center/cover no-repeat;
  color: #ffffff;
  padding: 90px 0 80px;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 88, 12, 0.2);
  border: 1px solid rgba(251, 146, 60, 0.4);
  color: #fdba74;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}
.hero-title span {
  color: #f97316;
}
.hero-desc {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 30px;
}
.hero-quote-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 4px solid var(--primary-saffron);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 25px;
}
.hero-quote-box p {
  margin: 0;
  font-style: italic;
  color: #fed7aa;
  font-size: 15px;
}

/* Impact Stats Counter */
.stats-strip {
  margin-top: -45px;
  position: relative;
  z-index: 10;
}
.stat-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--primary-saffron);
  transition: transform 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
}
.stat-number {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

/* Section Header */
.section-tag {
  display: inline-block;
  color: var(--primary-saffron);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto;
}

/* Pillar / Feature Cards */
.pillar-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--saffron-border);
}
.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--saffron-light);
  color: var(--primary-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.pillar-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}
.pillar-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* Project / Work Card */
.work-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.work-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.work-card:hover .work-media img {
  transform: scale(1.05);
}
.work-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 29, 58, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.work-type-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-saffron);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.work-body {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.work-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-navy);
}
.work-desc {
  font-size: 14px;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 16px;
}
.work-progress {
  background: #f1f5f9;
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.work-progress-bar {
  background: linear-gradient(90deg, #ea580c, #f97316);
  height: 100%;
  border-radius: 8px;
}
.work-stats {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Gallery Grid & Lightbox */
.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.gallery-nav-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gallery-nav-btn:hover, .gallery-nav-btn.active {
  background: var(--primary-saffron);
  border-color: var(--primary-saffron);
  color: #ffffff;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-sm);
  background: #0b1d3a;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 29, 58, 0.85) 0%, rgba(11, 29, 58, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.gallery-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.gallery-item:hover .gallery-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ea580c;
}

/* Donation Box Styling */
.donation-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}
.amount-btn-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 576px) {
  .amount-btn-group {
    grid-template-columns: repeat(2, 1fr);
  }
}
.amount-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-navy);
  cursor: pointer;
  transition: all 0.2s ease;
}
.amount-btn:hover, .amount-btn.active {
  border-color: var(--primary-saffron);
  background: var(--saffron-light);
  color: var(--primary-saffron);
}
.frequency-group {
  display: flex;
  background: #f1f5f9;
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 24px;
}
.frequency-btn {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
}
.frequency-btn.active {
  background: #ffffff;
  color: var(--primary-saffron);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.badge-80g-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* Sticky Donate Banner for Every Page */
.sticky-donate-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1040;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 50px;
  padding: 6px 8px 6px 18px;
  box-shadow: 0 8px 24px rgba(11, 29, 58, 0.18);
  border: 2px solid var(--primary-saffron);
  animation: slide-up 0.5s ease-out;
}
@keyframes slide-up {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.main-footer {
  background: #081427;
  color: #94a3b8;
  padding: 64px 0 24px;
  font-size: 14px;
  border-top: 4px solid var(--primary-saffron);
}
.main-footer h5 {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 20px;
  font-weight: 700;
}
.main-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.main-footer a:hover {
  color: #f97316;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 13px;
}
