/* assets/css/styles.css - Updated to match reference design exactly */
:root {
  /* Updated color scheme to match reference design */
  --primary: #ea580c; /* orange for temple theme */
  --primary-dark: #c2410c;
  --primary-light: #fb923c;
  --accent: #2d3748; /* dark charcoal for footer */
  --dark: #1f2937; /* dark gray for headings */
  --muted: #6b7280; /* medium gray for body text */
  --muted-light: #9ca3af;
  --bg: #f9fafb; /* light off-white background */
  --card: #ffffff;
  --border: #e5e7eb;
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --container-pad: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  /* Updated font to match reference design */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  /* Orange color for section headings like reference */
  color: var(--primary);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.small {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Fixed navbar alignment - proper spacing and centering */
.navbar {
  background: var(--card);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.logo h2 {
  font-size: 1.125rem;
  margin: 0;
  /* Orange color for logo text */
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

.logo p {
  font-size: 0.75rem;
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.2;
}

/* Fixed main nav centering and spacing */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin: 0 auto;
}

.main-nav a {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Fixed donate button alignment and sizing */
.donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 24px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.donate-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.donate-btn::before {
  content: "♥";
  font-size: 1.1rem;
}

/* Fixed hero section alignment and centering */
.hero {
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  text-align: center;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Gray overlay like reference design */
  background: rgba(0, 0, 0, 0.5);
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 700;
  color: white;
  text-align: center;
}

.hero p {
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  line-height: 1.6;
  text-align: center;
}

/* Fixed hero buttons alignment */
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Updated button styles to match reference design */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary {
  /* Orange gradient button like reference */
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn.full-width {
  width: 100%;
}

/* Updated quick donate section alignment and spacing */
.quick-donate {
  padding: 100px 24px;
  margin: 0;
  background: var(--bg);
  width: 100%;
}

.quick-donate-card {
  /* Orange gradient background like reference */
  background: linear-gradient(135deg, #ea580c, #f97316);
  padding: 60px 48px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(234, 88, 12, 0.25);
  max-width: 770px;
  margin: 0 auto;
  text-align: center;
  color: white;
  width: 100%;
}

.quick-donate-card h2 {
  font-size: 2.75rem;
  margin: 0 0 20px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.quick-donate-card .small {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Updated quick donate form alignment */
.quick-donate-form {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.amount-options {
  display: none;
}

.custom-amount {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 380px;
}

.input {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  font-family: inherit;
  background: white;
  color: var(--dark);
}

.input::placeholder {
  color: var(--muted-light);
}

.input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.quick-donate-form .btn {
  /* White button on orange background */
  background: white;
  color: var(--primary);
  border: none;
  padding: 16px 32px;
  flex-shrink: 0;
  flex-grow: 0;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  white-space: nowrap;
  min-width: 140px;
}

.quick-donate-form .btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Fixed about section grid alignment */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.about .left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about .right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin: 0 0 24px;
  font-weight: 700;
}

.about p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about .btn {
  margin-top: 16px;
  /* Orange text link with arrow */
  background: none;
  color: var(--primary);
  padding: 0;
  font-weight: 600;
  border: none;
  align-self: flex-start;
}

.about .btn:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.about .btn::after {
  content: " →";
}

.about-img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Fixed sevas section alignment and spacing */
.sevas {
  padding: 80px 0;
  text-align: center;
  background: var(--bg);
}

.sevas h2 {
  font-size: 2.5rem;
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 700;
}

.sevas .small {
  margin-bottom: 48px;
  font-size: 1.125rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Fixed seva grid alignment with consistent spacing */
.seva-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
  align-items: stretch;
}

/* Updated card styles to match reference - white cards with subtle shadows */
.card {
  background: var(--card);
  padding: 40px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.card h3 {
  margin: 16px 0 12px;
  font-size: 1.25rem;
  color: var(--dark);
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.seva-icon {
  height: 64px;
  width: 64px;
  font-size: 3rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.price {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(234, 88, 12, 0.1);
  color: var(--primary);
  border-radius: 24px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 16px;
}

/* Updated button styling for sevas section */
.sevas .btn.primary {
  background: var(--primary);
  padding: 14px 32px;
  border-radius: 28px;
}

.sevas .btn.primary::after {
  content: " →";
}

/* SEVA BOOKING SYSTEM */
.sevas-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.seva-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  align-items: stretch;
}

.seva-detail-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.seva-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.seva-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.seva-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.seva-content h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--dark);
}

.seva-content p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
  flex: 1;
}

.seva-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

/* Fixed events section alignment and spacing */
.events-section {
  padding: 80px 0;
  background: var(--bg);
}

.events-section h2 {
  font-size: 2.5rem;
  margin: 0 0 12px;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
}

.events-section .small {
  text-align: center;
  margin-bottom: 48px;
  font-size: 1.125rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Fixed events grid alignment */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
  align-items: stretch;
}

/* Updated event card to match reference - vertical layout with image on top */
.event-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 20px 24px 0;
}

.event-date::before {
  content: "📅";
  font-size: 1.1rem;
}

.event-info {
  padding: 8px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-info h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: var(--dark);
  font-weight: 700;
}

.event-info p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 0.95rem;
  flex: 1;
}

.link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  align-self: flex-start;
}

.link:hover {
  color: var(--primary-dark);
}

.link::after {
  content: " →";
}

/* Updated membership section styling */
.membership-spotlight {
  background: var(--card);
  padding: 80px 0;
  margin: 80px 0 0;
  border-top: 1px solid var(--border);
}

.membership-spotlight h2 {
  text-align: center;
  font-size: 2.5rem;
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 700;
}

.membership-spotlight .small {
  text-align: center;
  margin-bottom: 48px;
  font-size: 1.125rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.membership-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.plan-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.plan-card.featured {
  background: var(--card);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.plan-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.plan-card h3 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: var(--dark);
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.plan-price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex: 1;
}

.plan-card li {
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.plan-card li:last-child {
  border-bottom: none;
}

.plan-card li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  margin-right: 8px;
}

/* Updated membership page header to match screenshot design */
.membership-page-header {
  padding: 80px 0 40px;
  text-align: center;
  background: #f5f5f5;
}

.membership-header-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #9333ea, #a855f7);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 8px 16px rgba(147, 51, 234, 0.2);
}

.membership-page-header h1 {
  font-size: 2.5rem;
  margin: 0 0 12px;
  color: #1a1a1a;
  font-weight: 700;
}

.membership-page-header .small {
  font-size: 1.125rem;
  color: #666;
  margin: 0;
}

/* Updated membership cards grid with cleaner spacing */
.membership-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}

/* Updated membership card styles to match screenshot exactly */
.membership-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Updated featured card with gold border matching screenshot */
.membership-card.featured {
  border: 3px solid #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

/* Updated badge styling to match screenshot */
.membership-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Updated icon styling with cleaner shadows */
.membership-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.membership-card h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: #1a1a1a;
  font-weight: 700;
}

/* Updated price color to orange/red matching screenshot */
.membership-price {
  font-size: 2rem;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 4px;
  line-height: 1;
}

.membership-duration {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 24px;
  font-weight: 500;
}

/* Updated benefits list with green checkmarks */
.membership-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  width: 100%;
  flex: 1;
}

.membership-benefits li {
  padding: 10px 0;
  color: #4a4a4a;
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.membership-benefits .check-icon {
  color: #22c55e;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Updated button styling to match screenshot */
.membership-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: auto;
  flex-shrink: 0;
}

.membership-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

/* Fixed footer grid alignment and spacing */
.site-footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-col h3 {
  font-size: 1.375rem;
  margin: 0 0 16px;
  color: var(--primary);
  font-weight: 700;
}

.footer-col h4 {
  font-size: 0.875rem;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

/* FORMS */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Fixed responsive breakpoints for better alignment */
@media (max-width: 1024px) {
  .seva-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .membership-plans {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .membership-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* Fixed mobile hero alignment */
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  /* Fixed mobile navigation */
  .navbar .container {
    gap: 16px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Fixed mobile about section alignment */
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Fixed mobile grids */
  .seva-grid {
    grid-template-columns: 1fr;
  }

  .seva-cards-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .membership-plans {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Fixed mobile quick donate form */
  .quick-donate {
    padding: 60px 16px;
  }

  .quick-donate-form {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    max-width: 100%;
  }

  .custom-amount {
    max-width: 100%;
    width: 100%;
  }

  .quick-donate-form .btn {
    width: 100%;
    min-width: 100%;
  }

  .quick-donate-card {
    padding: 40px 24px;
  }

  .quick-donate-card h2 {
    font-size: 2rem;
  }

  .quick-donate-card .small {
    font-size: 1rem;
  }

  .membership-page-header {
    padding: 60px 0 30px;
  }

  .membership-page-header h1 {
    font-size: 2rem;
  }

  .membership-header-icon {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 16px;
  }
}

/* Added seva page header styles to match reference design */
.seva-page-header {
  padding: 80px 0 40px;
  text-align: center;
  background: var(--bg);
}

.seva-header-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #9333ea, #a855f7);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 8px 16px rgba(147, 51, 234, 0.2);
}

.seva-page-header h1 {
  font-size: 2.5rem;
  margin: 0 0 12px;
  color: var(--dark);
  font-weight: 700;
}

.seva-page-header .small {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0;
}

/* Added seva booking grid to match reference design */
.seva-booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
  align-items: stretch;
}

/* Added seva booking card styles matching reference design */
.seva-booking-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow);
}

.seva-booking-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.seva-booking-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seva-booking-card h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: var(--dark);
  font-weight: 700;
}

.seva-booking-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.seva-booking-duration {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.seva-booking-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex: 1;
}

.seva-booking-times {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.seva-booking-times strong {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.time-slots-list {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Added events page header styles matching reference design */
.events-page-header {
  padding: 80px 0 40px;
  text-align: center;
  background: var(--bg);
}

.events-header-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.events-page-header h1 {
  font-size: 2.5rem;
  margin: 0 0 12px;
  color: var(--dark);
  font-weight: 700;
}

.events-page-header .small {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0;
}

/* Added tab navigation styles matching reference design */
.events-tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 48px;
  background: var(--card);
  border-radius: 8px;
  padding: 4px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow);
}

.tab-btn {
  flex: 1;
  padding: 12px 24px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 6px;
  font-family: inherit;
}

.tab-btn:hover {
  color: var(--dark);
  background: var(--bg);
}

.tab-btn.active {
  background: var(--bg);
  color: var(--dark);
  box-shadow: var(--shadow);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Added empty state styles matching reference design */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  max-width: 500px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  opacity: 0.3;
  filter: grayscale(100%);
}

.empty-state h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: var(--dark);
  font-weight: 700;
}

.empty-state p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}

/* Updated responsive styles for events page */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .navbar .container {
    gap: 16px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .seva-grid {
    grid-template-columns: 1fr;
  }

  .seva-cards-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .membership-plans {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quick-donate {
    padding: 60px 16px;
  }

  .quick-donate-form {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    max-width: 100%;
  }

  .custom-amount {
    max-width: 100%;
    width: 100%;
  }

  .quick-donate-form .btn {
    width: 100%;
    min-width: 100%;
  }

  .quick-donate-card {
    padding: 40px 24px;
  }

  .quick-donate-card h2 {
    font-size: 2rem;
  }

  .quick-donate-card .small {
    font-size: 1rem;
  }

  .events-page-header {
    padding: 60px 0 30px;
  }

  .events-page-header h1 {
    font-size: 2rem;
  }

  .events-header-icon {
    font-size: 3rem;
    height: 64px;
  }

  .events-tabs {
    max-width: 100%;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .empty-state {
    padding: 60px 16px;
  }
}

/* Added all events grid and card styles matching reference design */
.all-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  align-items: stretch; /* Ensures all cards have equal height */
}

.all-event-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%; /* Takes full height of grid cell */
}

.all-event-header {
  background: linear-gradient(135deg, #ea580c, #f97316);
  padding: 56px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.all-event-emoji {
  font-size: 4.5rem;
  line-height: 1;
}

.all-event-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1; /* Grows to fill available space */
  gap: 0;
}

.all-event-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.all-event-title-row h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 700;
  flex: 1;
  line-height: 1.3;
}

.all-event-category {
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.all-event-description {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.all-event-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 0;
  border-bottom: none;
  /* No flex: 1 here - we don't want this to grow */
}

.all-event-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.all-event-detail-item svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.all-event-detail-item span {
  line-height: 1.5;
  flex: 1;
}

/* Added spacer to push button to bottom */
.all-event-spacer {
  flex: 1;
}

.all-event-content .btn {
  margin-top: auto; /* Pushes button to bottom of flex container */
  width: 100%;
  flex-shrink: 0; /* Prevents button from shrinking */
}

/* Added registration modal styles matching the screenshot design */
.registration-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.registration-modal.active {
  display: flex;
}

.registration-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.registration-modal-content {
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.registration-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
  z-index: 10;
}

.registration-modal-close:hover {
  background: var(--bg);
  color: var(--dark);
}

.registration-modal-header {
  padding: 32px 32px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.registration-event-emoji {
  font-size: 2rem;
  line-height: 1;
}

.registration-modal-header h2 {
  margin: 0;
  font-size: 1.75rem;
  color: var(--dark);
  font-weight: 700;
}

.registration-event-details {
  padding: 24px 32px;
  background: #fef9f3;
  border-bottom: 1px solid var(--border);
}

.registration-event-details h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 700;
}

.registration-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.registration-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.registration-detail-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.registration-about {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}

.registration-about h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 700;
}

.registration-about p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.registration-organizer {
  font-size: 0.9rem;
  color: var(--muted);
}

.registration-organizer span {
  color: var(--dark);
  font-weight: 600;
}

.registration-form-section {
  padding: 24px 32px;
}

.registration-form-section h3 {
  margin: 0 0 20px;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 700;
}

.registration-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.registration-form-section .form-group {
  margin-bottom: 16px;
}

.registration-form-section .form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

.registration-form-section .input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s;
}

.registration-form-section .input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.registration-form-section textarea.input {
  resize: vertical;
  min-height: 80px;
}

.registration-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: #86efac;
  color: #166534;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  font-family: inherit;
}

.registration-submit-btn:hover {
  background: #6ee7b7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(134, 239, 172, 0.4);
}

.registration-submit-btn svg {
  flex-shrink: 0;
}

/* Added responsive styles for registration modal */
@media (max-width: 768px) {
  .registration-modal {
    padding: 0;
  }

  .registration-modal-content {
    max-height: 100vh;
    border-radius: 0;
    max-width: 100%;
  }

  .registration-modal-header {
    padding: 24px 20px 20px;
  }

  .registration-modal-header h2 {
    font-size: 1.5rem;
  }

  .registration-event-details {
    padding: 20px;
  }

  .registration-details-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .registration-about {
    padding: 20px;
  }

  .registration-form-section {
    padding: 20px;
  }

  .registration-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .registration-modal-close {
    top: 16px;
    right: 16px;
  }
}

/* Updated membership application form styles to match screenshot exactly */
.membership-application-form {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.form-header {
  padding: 32px 32px 24px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.form-header svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.form-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #1a1a1a;
  font-weight: 700;
}

/* Updated gradient to match screenshot blue-to-cyan gradient */
.selected-plan-banner {
  background: linear-gradient(90deg, #5b9cf5 0%, #5ec8e5 100%);
  padding: 20px 32px;
  color: white;
}

.plan-label {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.plan-fee {
  font-size: 0.95rem;
  opacity: 0.95;
}

#membership-application-form {
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.form-group .required {
  color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s;
  color: #1a1a1a;
  box-sizing: border-box;
  background: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Updated date input placeholder color */
.form-group input[type="date"] {
  color: #999;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Updated placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.file-upload-wrapper {
  position: relative;
}

.file-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

.file-upload-btn:hover {
  border-color: #3b82f6;
  background: #f8fafc;
  color: #3b82f6;
}

.file-upload-btn svg {
  width: 20px;
  height: 20px;
}

.file-name {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  color: #666;
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

.form-actions .btn-secondary {
  flex: 1;
  padding: 14px 24px;
  background: white;
  color: #1a1a1a;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.form-actions .btn-secondary:hover {
  background: #f5f5f5;
  border-color: #d4d4d4;
}

/* Updated primary button color to coral/peach to match screenshot */
.form-actions .btn-primary {
  flex: 1;
  padding: 14px 24px;
  background: #ea580c;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.form-actions .btn-primary:hover {
  background: #c2410c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

/* Added gallery page styles */
.gallery-page {
  background: #f5f5f5;
  min-height: 100vh;
}

.gallery-hero {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  margin-bottom: 48px;
}

.gallery-hero h1 {
  font-size: 3rem;
  margin: 0 0 16px;
  font-weight: 700;
}

.gallery-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Gallery filter buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 28px;
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Gallery grid layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  opacity: 1;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: white;
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.gallery-overlay p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  transition: color 0.3s;
  font-weight: 300;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--primary);
}

.lightbox-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  max-width: 600px;
}

.lightbox-caption h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.lightbox-caption p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive gallery styles */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .gallery-hero h1 {
    font-size: 2rem;
  }

  .gallery-subtitle {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* Donation Page Header */
.donation-page-header {
  background: #f5f5f5;
  padding: 60px 20px 40px;
  text-align: center;
}

.donation-page-header .container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.donation-page-header .om-icon {
  margin-bottom: 8px;
}

/* Donation Container */
.donation-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  gap: 0;
}

.progress-steps .step {
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-steps .step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e5e5e5;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.progress-steps .step.active .step-circle {
  background: #f97316;
  color: white;
}

.progress-steps .step-connector {
  width: 80px;
  height: 2px;
  background: #e5e5e5;
  margin: 0 8px;
}

/* Step Card */
.step-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  text-align: center;
}

.step-description {
  text-align: center;
  color: #666;
  margin-bottom: 32px;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Form Row - 2 column layout */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400 !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
}

.btn-back {
  background: white;
  color: #666;
  border: 1px solid #e5e5e5;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  background: #f5f5f5;
  border-color: #d4d4d4;
}

.btn-next {
  background: #f8a890;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-next:hover {
  background: #f69678;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(248, 168, 144, 0.3);
}

/* Amount Grid */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.amount-card {
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.amount-card:hover {
  border-color: #f97316;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.amount-card.selected {
  border-color: #f97316;
  background: #fff7ed;
}

.amount-card .amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f97316;
}

.amount-card .label {
  font-size: 0.875rem;
  color: #666;
}

.custom-amount-input {
  margin-bottom: 24px;
}

/* Donation Summary */
.donation-summary {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.donation-summary h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row span:first-child {
  color: #666;
}

.summary-row span:last-child {
  font-weight: 600;
  color: #1a1a1a;
}

/* Payment Methods */
.payment-methods h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-option:hover {
  border-color: #f97316;
  background: #fff7ed;
}

.payment-option input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.payment-option .option-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payment-option .option-content strong {
  color: #1a1a1a;
  font-size: 1rem;
}

.payment-option .option-content span {
  color: #666;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .donation-page-header {
    padding: 40px 20px 30px;
  }

  .donation-page-header h1 {
    font-size: 1.75rem;
  }

  .step-card {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .progress-steps .step-connector {
    width: 40px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* Updated donation page styles to match screenshots exactly */

/* Progress Steps - Updated to match screenshot with step-number and step-line */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  gap: 0;
}

.progress-steps .step {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.progress-steps .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #d1d5db;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.progress-steps .step.active .step-number {
  background: #f97316;
  color: white;
}

.progress-steps .step-line {
  width: 100px;
  height: 4px;
  background: #d1d5db;
  transition: all 0.3s ease;
}

.progress-steps .step-line.active {
  background: #f97316;
}

/* Amount Buttons - Updated to match screenshot */
.amount-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.amount-btn {
  flex: 1;
  min-width: 110px;
  padding: 14px 20px;
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.2s;
}

.amount-btn:hover {
  border-color: #f97316;
  background: #fff7ed;
}

.amount-btn.selected {
  border-color: #f97316;
  background: #fff7ed;
  color: #f97316;
}

/* Donation Summary Box - Beige background as in screenshot */
.donation-summary-box {
  background: #fef3e2;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.donation-summary-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  text-align: center;
}

.donation-summary-box .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.donation-summary-box .summary-label {
  color: #4b5563;
  font-size: 1rem;
  font-weight: 400;
}

.donation-summary-box .summary-value {
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
  text-align: right;
}

.donation-summary-box .summary-amount {
  color: #f97316;
  font-size: 1.125rem;
  font-weight: 700;
}

/* Secure Payment Box - Light blue background as in screenshot */
.secure-payment-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  margin-bottom: 32px;
}

.secure-payment-box .payment-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.secure-payment-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.secure-payment-box p {
  color: #6b7280;
  font-size: 0.9375rem;
  margin-bottom: 4px;
  line-height: 1.6;
}

.secure-payment-box .payment-methods-text {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 16px;
  font-weight: 400;
}

/* Button Styles - Updated to match screenshot */
.btn-secondary {
  background: white;
  color: #4b5563;
  border: 1.5px solid #d1d5db;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.btn-complete {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: 2px solid #22c55e;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.btn-complete:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border-color: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.btn-complete svg {
  width: 18px;
  height: 18px;
}

/* Responsive Updates */
@media (max-width: 768px) {
  .amount-buttons {
    flex-direction: column;
  }

  .amount-btn {
    width: 100%;
  }

  .donation-summary-box,
  .secure-payment-box {
    padding: 24px;
  }

  .progress-steps .step-line {
    width: 60px;
  }

  .progress-steps .step-number {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* Donation Success Page */
.donation-success-page {
  background: #f5f5f5;
  min-height: calc(100vh - 200px);
  padding: 60px 20px;
}

.success-container {
  max-width: 700px;
  margin: 0 auto;
  background: #e8f5e9;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

.success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.success-container h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.success-subtitle {
  font-size: 1.125rem;
  color: #16a34a;
  margin-bottom: 40px;
  font-weight: 500;
}

/* Receipt Card */
.receipt-card {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-top: 32px;
}

.receipt-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f3f4f6;
}

.om-icon-small {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.receipt-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.receipt-subtitle {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 400;
}

/* Receipt Details */
.receipt-details {
  margin-bottom: 32px;
}

.receipt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.receipt-row:last-child {
  margin-bottom: 0;
}

.receipt-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.receipt-item.full-width {
  grid-column: 1 / -1;
}

.receipt-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 400;
}

.receipt-value {
  font-size: 1rem;
  color: #1f2937;
  font-weight: 600;
}

.receipt-amount {
  color: #16a34a;
  font-size: 1.125rem;
  font-weight: 700;
}

/* Receipt Actions */
.receipt-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-download {
  flex: 1;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-download:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.btn-share {
  flex: 1;
  background: white;
  color: #f97316;
  border: 2px solid #f97316;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-share:hover {
  background: #fff7ed;
  transform: translateY(-1px);
}

/* Make Another Donation Link */
.make-another {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
}

.link-orange {
  color: #f97316;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}

.link-orange:hover {
  color: #ea580c;
  text-decoration: underline;
}

/* Responsive - Success Page */
@media (max-width: 768px) {
  .success-container {
    padding: 32px 24px;
  }

  .success-container h1 {
    font-size: 1.5rem;
  }

  .success-subtitle {
    font-size: 1rem;
  }

  .receipt-card {
    padding: 24px;
  }

  .receipt-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .receipt-actions {
    flex-direction: column;
  }

  .btn-download,
  .btn-share {
    width: 100%;
  }
}

/* Print Styles for Receipt */
@media print {
  .donation-success-page {
    background: white;
  }

  .success-container {
    background: white;
    box-shadow: none;
  }

  .receipt-actions,
  .make-another,
  header,
  footer {
    display: none;
  }

  .receipt-card {
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }
}
