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

:root {
  --primary: #8B1538;
  --primary-dark: #5E0D25;
  --primary-light: #F5E0E5;
  --secondary: #2D6A4F;
  --secondary-light: #E8F3EF;
  --accent-gold: #C9A227;
  --accent-gold-light: #FFF8E1;
  --accent-green: #40916C;
  --accent-purple: #7B1FA2;
  --success: #2D6A4F;
  --danger: #B71C1C;
  --warning: #D97706;
  --bg: #FDF8F3;
  --card: #FFFFFF;
  --card-cream: #FFF8F0;
  --text: #3D2B2E;
  --text-light: #8C7B7D;
  --border: #E8D5C4;
  --shadow: 0 4px 12px rgba(139,21,56,0.08), 0 2px 4px rgba(139,21,56,0.04);
  --shadow-lg: 0 12px 28px -6px rgba(139,21,56,0.14), 0 6px 12px -4px rgba(139,21,56,0.08);
  --radius: 20px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Gujarati', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(139,21,56,0.05) 0%, transparent 24%),
    radial-gradient(circle at 92% 88%, rgba(45,106,79,0.06) 0%, transparent 26%),
    radial-gradient(circle at 50% 50%, rgba(201,162,39,0.03) 0%, transparent 40%);
}

.container { max-width: 800px; margin: 0 auto; padding: 20px; }

/* Logo & Branding */
.logo-container { text-align: center; margin-bottom: 24px; position: relative; }
.logo-container::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 170px; height: 170px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-gold), var(--primary-light), var(--secondary-light), var(--accent-gold));
  opacity: 0.35;
  filter: blur(8px);
  z-index: 0;
}
.logo-container img {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
  box-shadow: var(--shadow-lg); border: 4px solid var(--primary-light);
  position: relative; z-index: 1;
  
}
.logo-small { text-align: center; margin-bottom: 16px; }
.logo-small img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); border: 3px solid var(--primary-light);  }
.logo-tiny { display: inline-block; vertical-align: middle; margin-right: 8px; }
.logo-tiny img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-light);  }

.brand-name {
  font-family: 'Playfair Display', 'Noto Sans Gujarati', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.5px;
  line-height: 1.4;
}
.brand-tagline {
  font-size: 11px;
  color: var(--secondary);
  text-align: center;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Lotus Divider */
.lotus-divider { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 22px 0; }
.lotus-divider::before, .lotus-divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); }
.lotus-divider .lotus { font-size: 22px; color: var(--accent-gold); }

/* Language Selector */
.lang-selector { display: flex; justify-content: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.lang-btn { padding: 10px 22px; border: 2px solid var(--border); background: var(--card); border-radius: 50px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; color: var(--text); }
.lang-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.lang-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-color: var(--primary); box-shadow: 0 4px 12px rgba(139,21,56,0.25); }
.lang-btn .flag { font-size: 18px; }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin-bottom: 20px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--primary), var(--accent-gold), var(--secondary)); }
.card-title { font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif; font-size: 24px; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.card-subtitle { color: var(--text-light); margin-bottom: 24px; font-size: 14px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: var(--text); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 13px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; font-family: inherit; transition: all 0.3s ease; background: var(--card-cream); color: var(--text); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(139,21,56,0.08); background: var(--card); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-select { cursor: pointer; }

.radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; padding: 8px 16px; background: var(--card-cream); border-radius: 50px; border: 2px solid var(--border); transition: all 0.3s ease; }
.radio-label:hover { border-color: var(--primary); background: var(--primary-light); }
.radio-label input[type="radio"] { width: 20px; height: 20px; accent-color: var(--primary); }

/* Buttons */
.btn { padding: 13px 28px; border: none; border-radius: 50px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; box-shadow: 0 4px 14px rgba(139,21,56,0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139,21,56,0.42); }
.btn-secondary { background: linear-gradient(135deg, var(--secondary), #1B4D3E); color: white; box-shadow: 0 4px 12px rgba(45,106,79,0.25); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(45,106,79,0.35); }
.btn-success { background: linear-gradient(135deg, var(--success), #1B4D3E); color: white; box-shadow: 0 4px 12px rgba(45,106,79,0.25); }
.btn-danger { background: linear-gradient(135deg, var(--danger), #7F1D1D); color: white; box-shadow: 0 4px 12px rgba(183,28,28,0.25); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(139,21,56,0.2); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.pin-input { width: 60px; height: 60px; text-align: center; font-size: 24px; font-weight: 700; border: 2px solid var(--border); border-radius: var(--radius-sm); margin: 0 6px; background: var(--card-cream); color: var(--text); }
.pin-input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(139,21,56,0.08); }

.qr-container { text-align: center; padding: 20px; }
.qr-code { width: 200px; height: 200px; margin: 0 auto 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.qr-user-id { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }

.file-upload { border: 2px dashed var(--primary); border-radius: var(--radius-sm); padding: 30px; text-align: center; cursor: pointer; transition: all 0.3s ease; background: var(--primary-light); }
.file-upload:hover { border-color: var(--primary-dark); background: rgba(139,21,56,0.08); transform: translateY(-2px); }
.file-upload input { display: none; }
.file-upload-icon { font-size: 40px; margin-bottom: 12px; }
.file-upload-text { color: var(--primary); font-size: 14px; font-weight: 500; }
.preview-image { max-width: 200px; max-height: 200px; border-radius: var(--radius-sm); margin-top: 12px; object-fit: cover; }
#profileImagePreview { width: 150px; height: 150px; border-radius: 50%; border: 3px solid var(--primary-light); box-shadow: var(--shadow); }
.file-upload-options { display: flex; gap: 16px; justify-content: center; align-items: stretch; width: 100%; }
.file-upload-option { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; padding: 20px; border-radius: var(--radius-sm); background: var(--card-cream); border: 2px solid var(--border); transition: all 0.3s ease; flex: 1; }
.file-upload-option:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }

.image-preview-wrapper { margin-top: 12px; text-align: center; }
.image-preview-wrapper img { max-width: 200px; max-height: 200px; border-radius: var(--radius-sm); box-shadow: var(--shadow); object-fit: cover; }

.size-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.children-container { background: var(--card-cream); border-radius: var(--radius-sm); padding: 20px; margin-top: 12px; border: 1px solid var(--border); }
.child-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; padding: 12px; background: var(--card); border-radius: var(--radius-sm); border: 1px solid var(--border); }

/* Dashboard */
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.dashboard-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 2px solid var(--border); padding-bottom: 12px; flex-wrap: wrap; }
.tab-btn { padding: 10px 20px; border: 2px solid var(--primary); background: var(--card); font-size: 14px; font-weight: 500; cursor: pointer; color: var(--primary); border-radius: 50px; transition: all 0.3s ease; font-family: inherit; }
.tab-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; box-shadow: 0 4px 12px rgba(139,21,56,0.25); border-color: var(--primary); }
.tab-btn:hover:not(.active) { background: var(--primary-light); color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.message-list { display: flex; flex-direction: column; gap: 12px; }
.message-card { background: var(--card-cream); border-radius: var(--radius-sm); padding: 16px; border-left: 4px solid var(--primary); border: 1px solid var(--border); border-left-width: 4px; }
.message-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; color: var(--text-light); }
.message-text { font-size: 15px; color: var(--text); }
.voice-player { display: flex; align-items: center; gap: 12px; margin-top: 8px; }

.history-table { width: 100%; border-collapse: collapse; }
.history-table th, .history-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); }
.history-table th { font-weight: 600; color: var(--primary); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.history-table tr:hover { background: var(--card-cream); }

.admin-table-wrapper { width: 100%; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { background: linear-gradient(135deg, var(--primary-light), var(--accent-gold-light)); color: var(--primary-dark); padding: 12px 16px; text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--border); white-space: nowrap; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(139,21,56,0.04); }
.admin-table .avatar-cell { width: 44px; padding-right: 8px; }
.admin-table .avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.admin-table .name-cell { font-weight: 600; color: var(--text); }
.admin-table .id-cell { font-size: 12px; color: var(--text-light); }
.admin-table .actions-cell { white-space: nowrap; }
.admin-table .actions-cell .btn { padding: 6px 14px; font-size: 12px; }

.pagination-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.pagination-info { font-size: 13px; color: var(--text-light); }
.pagination-controls { display: flex; gap: 6px; align-items: center; }
.pagination-btn { padding: 6px 14px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; color: var(--text); transition: all 0.2s; }
.pagination-btn:hover { border-color: var(--primary); color: var(--primary); }
.pagination-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-color: var(--primary); }
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(61,43,46,0.6); display: flex; align-items: center; justify-content: center; z-index: 4000; padding: 20px; backdrop-filter: blur(4px); }
.modal { background: var(--card); border-radius: var(--radius); max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.modal-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 18px; font-weight: 600; color: var(--primary-dark); }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-light); }
.modal-body { padding: 20px; }
.modal-footer { padding: 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 12px; }

.detail-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.detail-label { font-weight: 600; color: var(--primary); font-size: 14px; }
.detail-value { font-weight: 500; color: var(--text); font-size: 14px; text-align: right; }
.detail-image-section { text-align: center; margin: 16px 0; padding: 16px; background: var(--card-cream); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.detail-image-section p { font-size: 14px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.detail-image { max-width: 250px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }

.admin-message-box { margin-top: 20px; padding: 20px; background: var(--card-cream); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.message-input { width: 100%; padding: 12px; border: 2px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; font-family: inherit; font-size: 14px; background: var(--card); }
.message-input:focus { outline: none; border-color: var(--primary); }
.record-btn { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: linear-gradient(135deg, var(--danger), #7F1D1D); color: white; border: none; border-radius: 50px; cursor: pointer; font-family: inherit; font-weight: 500; }
.record-btn.recording { animation: pulse 1s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

.toast { position: fixed; bottom: 20px; right: 20px; padding: 16px 24px; border-radius: var(--radius-sm); color: white; font-weight: 500; z-index: 2000; animation: slideIn 0.3s ease; box-shadow: var(--shadow-lg); }
.toast-success { background: linear-gradient(135deg, var(--success), #1B4D3E); }
.toast-error { background: linear-gradient(135deg, var(--danger), #7F1D1D); }
.toast-warning { background: linear-gradient(135deg, var(--warning), #92400E); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.hidden { display: none !important; }

.spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Brand Footer / Value Pillars */
.brand-footer { margin-top: 30px; padding: 22px 18px; background: linear-gradient(135deg, var(--primary-light), var(--secondary-light)); border-radius: var(--radius); text-align: center; border: 1px solid var(--border); position: relative; overflow: hidden; }
.brand-footer::before { content: '🪷'; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-size: 14px; opacity: 0.35; }
.brand-footer-icons { display: flex; justify-content: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.brand-footer-icon { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 62px; }
.brand-footer-icon .icon { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.brand-footer-icon .icon-pink { background: var(--primary-light); color: var(--primary); }
.brand-footer-icon .icon-green { background: #E8F5E9; color: var(--accent-green); }
.brand-footer-icon .icon-teal { background: var(--secondary-light); color: var(--secondary); }
.brand-footer-icon .icon-purple { background: #F3E5F5; color: var(--accent-purple); }
.brand-footer-icon .icon-gold { background: var(--accent-gold-light); color: var(--accent-gold); }
.brand-footer-icon .label { font-size: 10px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.brand-footer-tagline { font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: 1px; }

@media (max-width: 600px) {
  .container { padding: 12px; }
  .card { padding: 16px; }
  .card-title { font-size: 20px; }
  .dashboard-header { flex-direction: column; align-items: flex-start; }
  .child-row { grid-template-columns: 1fr; }
  .size-row { grid-template-columns: 1fr; }
  .pin-input { width: 46px; height: 46px; font-size: 20px; margin: 0 4px; }
  .form-section { padding: 16px; }
  .image-preview-wrapper img { max-width: 150px; max-height: 150px; }
  .logo-container img { width: 110px; height: 110px; }
  .logo-container::before { width: 135px; height: 135px; }
  .brand-name { font-size: 14px; }
  .brand-footer-icons { gap: 10px; }
  .hero-image { height: 150px; }
  .hero-invite { font-size: 13px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card { aspect-ratio: 16 / 9; }
  .gallery-caption { font-size: 12px; }
  .youth-banner { flex-direction: column; text-align: center; }
  .admin-stats-row { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .admin-stats-row .stat-card { padding: 12px 4px; min-width: 0; }
  .admin-stats-row .stat-value { font-size: 22px; }
  .admin-stats-row .stat-label { font-size: 10px; word-break: break-word; }
  .admin-stats-row .stat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .admin-modal-overlay { padding: 0; align-items: flex-end; }
  .admin-modal { border-radius: 16px 16px 0 0; max-height: 95vh; }
  .admin-modal-body { padding: 16px; }
  .admin-modal-header { padding: 14px 16px; }
  .admin-modal-header h2 { font-size: 16px; }
  .tab-btn { padding: 8px 14px; font-size: 12px; flex: 1 1 auto; min-width: 110px; max-width: 100%; white-space: normal; line-height: 1.3; }
  .dashboard-tabs { gap: 8px; flex-wrap: wrap; justify-content: center; overflow-x: visible; }
  .admin-table { font-size: 12px; }
  .admin-table th, .admin-table td { padding: 8px 10px; }
  .btn-sm { padding: 6px 12px; font-size: 12px; }
  .admin-mobile-header { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
  .admin-mobile-tabs { display: flex; gap: 4px; flex: 1; }
  .admin-logout-btn { flex-shrink: 0; padding: 5px 10px; font-size: 11px; }
  .admin-action-bar { display: flex; gap: 8px; margin-bottom: 12px; }
  .admin-action-bar .btn { flex: 1; justify-content: center; padding: 8px; font-size: 12px; }
}
@media (max-width: 400px) {
  .pin-input { width: 36px; height: 36px; font-size: 16px; margin: 0 2px; }
  .admin-modal-overlay { padding: 0; }
  .admin-modal-body { padding: 12px; }
  .admin-stats-row { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .stat-card { padding: 10px 4px; min-width: 0; }
  .stat-value { font-size: 20px; }
  .stat-label { font-size: 9px; word-break: break-word; }
  .tab-btn { padding: 7px 12px; font-size: 11px; min-width: 90px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .child-row { grid-template-columns: repeat(2, 1fr); }
}

@media print {
  body {  }
  .no-print { display: none !important; }
  .print-only { display: block !important; }
  .print-table { width: 100%; border-collapse: collapse; }
  .print-table th, .print-table td { border: 1px solid #333; padding: 8px; text-align: left; }
  .print-table th { background: #f0f0f0; font-weight: bold; }
}

.search-box, .admin-search, .search-users { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 50px; font-size: 15px; margin-bottom: 20px; font-family: inherit; background: var(--card-cream); transition: all 0.3s ease; }
.search-box:focus, .admin-search:focus, .search-users:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(139,21,56,0.08); background: var(--card); }

.stats-row, .admin-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card); border-radius: var(--radius-sm); padding: 16px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent-gold)); }
.stat-value { font-size: 28px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 12px; color: var(--text-light); margin-top: 4px; font-weight: 500; }

/* Welcome Screen */
.welcome-screen { text-align: center; padding: 12px 12px 32px; position: relative; }
.welcome-icon { font-size: 64px; margin-bottom: 20px; }
.welcome-title { font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif; font-size: 30px; font-weight: 700; margin-bottom: 10px; color: var(--primary-dark); }
.welcome-subtitle { color: var(--text-light); margin-bottom: 26px; font-size: 15px; }

/* Hero Image */
.hero-image-wrapper { position: relative; margin: -6px -6px 18px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.hero-image { width: 100%; height: 180px; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(94,13,37,0.85) 0%, rgba(94,13,37,0.25) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 16px; text-align: center; }
.hero-badge { display: inline-block; padding: 4px 12px; background: var(--accent-gold); color: var(--primary-dark); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 50px; margin-bottom: 8px; }
.hero-invite { color: white; font-size: 14px; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,0.3); max-width: 320px; }

/* Community Banner */
.community-banner { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -8px 0 14px; padding: 14px 10px; background: linear-gradient(135deg, var(--primary-light), var(--accent-gold-light)); border-radius: var(--radius-sm); border: 1px solid var(--border); position: relative; overflow: hidden; }
.community-banner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(139,21,56,0.06) 0%, transparent 25%), radial-gradient(circle at 80% 70%, rgba(201,162,39,0.08) 0%, transparent 25%); }
.banner-motif { width: 48px; height: 48px; color: var(--primary); opacity: 0.85; position: relative; z-index: 1; }
.banner-center { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; z-index: 1; }
.women-illustration { width: 80px; height: 54px; color: var(--primary); filter: drop-shadow(0 2px 4px rgba(139,21,56,0.15)); }
.banner-tagline { font-size: 10px; font-weight: 700; color: var(--primary-dark); text-transform: uppercase; letter-spacing: 1.5px; }

/* Mission Card */
.mission-card { margin-top: 24px; padding: 18px; background: linear-gradient(135deg, var(--secondary-light), var(--card)); border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: left; box-shadow: var(--shadow); }
.mission-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.mission-icon { font-size: 32px; line-height: 1; flex-shrink: 0; }
.mission-title { font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif; font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.mission-text { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.mission-pillars { display: flex; gap: 10px; flex-wrap: wrap; }
.mission-pillar { flex: 1; min-width: 90px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 6px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; font-size: 11px; font-weight: 600; color: var(--text-light); text-align: center; }
.mission-pillar span:first-child { font-size: 20px; }

/* Image Gallery */
.gallery-section { margin-top: 24px; text-align: left; }
.gallery-title { font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif; font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 14px; text-align: center; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-card { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); aspect-ratio: 1 / 1; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-card:hover img { transform: scale(1.08); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 6px; background: linear-gradient(to top, rgba(94,13,37,0.9), transparent); color: white; font-size: 10px; font-weight: 600; text-align: center; }

/* Youth Banner */
.youth-banner { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px 18px; background: linear-gradient(135deg, var(--primary-light), #FFF8E1); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); text-align: left; }
.youth-icon { font-size: 34px; line-height: 1; flex-shrink: 0; }
.youth-title { font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif; font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 3px; }
.youth-text { font-size: 13px; color: var(--text-light); line-height: 1.4; }

/* Community Pride Strip */
.community-pride { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; padding: 14px 16px; background: linear-gradient(90deg, var(--primary-light), var(--accent-gold-light), var(--primary-light)); border-radius: 50px; border: 1px dashed var(--border); }
.pride-icon { font-size: 22px; line-height: 1; }
.pride-text { font-size: 13px; font-weight: 600; color: var(--primary-dark); text-align: center; }

.welcome-hero { position: relative; padding-top: 8px; }
.welcome-hero::before {
  content: '';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(201,162,39,0.25), rgba(139,21,56,0.15), rgba(45,106,79,0.2), rgba(201,162,39,0.25));
  filter: blur(16px);
  z-index: 0;
}
.welcome-hero > * { position: relative; z-index: 1; }

.welcome-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.welcome-actions .btn-primary { padding: 16px 28px; font-size: 16px; }
.welcome-login-link { color: var(--text-light); font-size: 14px; }
.welcome-login-link a { color: var(--primary); font-weight: 600; cursor: pointer; text-decoration: none; border-bottom: 1px dashed var(--primary); }
.welcome-login-link a:hover { color: var(--primary-dark); border-bottom-style: solid; }

.section-divider { height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); margin: 24px 0; }

.form-section {
  background: var(--card-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
}
.form-section-header {
  font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}
.form-section-subheader {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.required { color: var(--danger); }

/* Form Wizard Stepper */
.form-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0;
  padding: 0 8px;
}
.form-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
  flex: 1;
  max-width: 100px;
}
.form-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background: var(--card);
  color: var(--text-light);
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}
.form-step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  line-height: 1.2;
}
.form-step-item.active .form-step-number {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: var(--primary);
}
.form-step-item.active .form-step-label {
  color: var(--primary);
}
.form-step-item.completed .form-step-number {
  background: var(--success);
  color: white;
  border-color: var(--success);
}
.form-step-item.completed .form-step-label {
  color: var(--success);
}
.form-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  max-width: 60px;
  transition: all 0.3s ease;
}
.form-step-line.completed {
  background: var(--success);
}
.form-step {
  display: none;
  animation: fadeIn 0.3s ease;
}
.form-step.active {
  display: block;
}
.form-step-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .form-stepper { gap: 4px; }
  .form-step-number { width: 30px; height: 30px; font-size: 12px; }
  .form-step-label { font-size: 10px; }
  .form-step-line { max-width: 30px; }
  .form-step-actions { flex-direction: column; }
}
.adult-member-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}
.adult-member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.adult-member-row .adult-member-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.adult-member-row .adult-member-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.adult-member-row .adult-member-photo .file-upload {
  padding: 12px;
  min-width: 80px;
}
.adult-member-row .adult-member-photo .file-upload-icon {
  font-size: 24px;
  margin-bottom: 4px;
}
.adult-member-row .adult-member-photo .file-upload-text {
  font-size: 11px;
}
.adult-member-row .form-input[readonly] {
  background: var(--bg);
  color: var(--text-light);
  cursor: not-allowed;
}
.adult-member-actions {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .adult-member-grid { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .adult-member-grid { grid-template-columns: repeat(2, 1fr); }
}
.payment-amount {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}

.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #E8F5E9; color: var(--success); }
.badge-warning { background: #FFF3E0; color: var(--warning); }

.user-list-container { max-height: 300px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card-cream); }
.user-list-item { padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--border); transition: all 0.2s ease; display: flex; align-items: center; gap: 12px; }
.user-list-item:hover { background: var(--primary-light); }
.user-list-item.selected { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-radius: var(--radius-sm); margin: 4px; border: none; }
.user-list-item .user-avatar-small { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.user-list-item.selected .user-avatar-small {  color: var(--primary); }
.no-users-msg { text-align: center; padding: 20px; color: var(--text-light); font-size: 14px; }

.divider-text { display: flex; align-items: center; text-align: center; margin: 18px 0; color: var(--text-light); font-size: 13px; font-weight: 500; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; border-bottom: 1px solid var(--border); }
.divider-text::before { margin-right: 12px; }
.divider-text::after { margin-left: 12px; }

.back-link { display: inline-block; margin-top: 16px; color: var(--primary); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; }
.back-link:hover { color: var(--primary-dark); transform: translateX(-4px); }

.admin-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(61,43,46,0.6); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px); }
.admin-modal-overlay.hidden { display: none !important; }
.admin-modal { background: var(--card); border-radius: var(--radius); max-width: 900px; width: 100%; max-height: 95vh; overflow-y: auto; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.admin-modal-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-radius: var(--radius) var(--radius) 0 0; }
.admin-modal-header h2 { margin: 0; font-size: 20px; }
.admin-close-btn { background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.admin-modal-body { padding: 24px; }
.admin-login-box { display: flex; flex-direction: column; align-items: center; }
.admin-login-box .pin-input { flex-shrink: 0; }

.delete-confirm { background: #FFEBEE; border: 1px solid #EF9A9A; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.delete-confirm p { color: var(--danger); font-weight: 600; margin-bottom: 8px; }
.delete-confirm p:last-child { color: var(--text-light); font-weight: 400; font-size: 14px; }

.file-upload-area { border: 2px dashed var(--primary); border-radius: 12px; padding: 30px; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--primary-light); }
.file-upload-area:hover { border-color: var(--primary-dark); background: rgba(139,21,56,0.08); }
.file-upload-area input { display: none; }

/* Global Language Selector */
.lang-selector.hidden { display: none !important; }
#globalLangSelector { margin-bottom: 16px; }

/* Screen spacing consistency */
.screen { width: 100%; }
.screen > .card:first-child { margin-top: 0; }

/* Dashboard header spacing fix */
.dashboard-header .card-title { margin-bottom: 4px; }
.dashboard-header .card-subtitle { margin-bottom: 0; }

.lucky-draw-promo-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 1000; width: 320px; max-width: calc(100% - 48px); margin: 0; padding: 0; animation: lucky-float 3s ease-in-out infinite; }
@keyframes lucky-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.lucky-draw-promo {
  background: linear-gradient(135deg, #FFF8E1, #FFD699);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 0;
  box-shadow: 0 8px 24px rgba(201,162,39,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: lucky-glow 2s ease-in-out infinite;
}
@keyframes lucky-glow {
  0%, 100% { box-shadow: 0 8px 24px rgba(201,162,39,0.3); border-color: var(--accent-gold); }
  50% { box-shadow: 0 8px 32px rgba(201,162,39,0.55), 0 0 0 4px rgba(201,162,39,0.15); border-color: #D4A017; }
}
.lucky-draw-promo:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(201,162,39,0.35);
}
.lucky-draw-promo.winner-announced {
  background: linear-gradient(135deg, var(--accent-gold-light), #FFF3E0);
  border-color: var(--accent-gold);
}
.lucky-draw-promo-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lucky-draw-promo-icon {
  font-size: 32px;
  flex-shrink: 0;
  animation: lucky-wave 2.5s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes lucky-wave {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(16deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(16deg); }
  40% { transform: rotate(-6deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
.lucky-draw-promo-content {
  flex: 1;
}
.lucky-draw-promo-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.lucky-draw-promo-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 600px) {
  .lucky-draw-promo-wrap { bottom: 90px; right: 12px; left: auto; width: 200px; max-width: calc(100% - 24px); }
  .lucky-draw-promo { padding: 9px; }
  .lucky-draw-promo-inner { gap: 8px; }
  .lucky-draw-promo-icon { font-size: 20px; }
  .lucky-draw-promo-title { font-size: 11px; }
  .lucky-draw-promo-text { font-size: 10px; }
}

/* Form section spacing */
.form-section:last-of-type { margin-bottom: 16px; }

/* Event Float Card positioning override (safety) */
#eventBadgeContainer.event-float-card {
  position: relative !important;
  right: auto !important;
  top: auto !important;
  margin: 20px auto 0 !important;
  text-align: left !important;
}
@media (max-width: 700px) {
  #eventBadgeContainer.event-float-card {
    margin: 16px 16px 0 !important;
  }
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(139,21,56,0.06);
  flex-wrap: wrap;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-brand img {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  box-shadow: var(--shadow);
  
}
.header-brand-text {
  text-align: left;
}
.header-brand-name {
  font-family: 'Playfair Display', 'Noto Sans Gujarati', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.header-brand-tagline {
  font-size: 10px;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lang-selector.compact {
  margin: 0;
  gap: 6px;
}
.lang-selector.compact .lang-btn {
  padding: 7px 14px;
  font-size: 12px;
  border-width: 1.5px;
}
.btn-download-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--accent-gold), #D97706);
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(217,119,6,0.32);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-download-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217,119,6,0.45);
}

/* Hero */
.landing-hero {
  position: relative;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(94,13,37,0.92) 0%, rgba(94,13,37,0.6) 45%, rgba(94,13,37,0.25) 100%);
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  color: white;
}
.hero-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.hero-title {
  font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 6px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.35);
  max-width: 520px;
}
.hero-subtitle {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0;
  opacity: 0.95;
  max-width: 420px;
}
.btn-lg {
  padding: 12px 26px;
  font-size: 14px;
}

/* Event Highlight */
.event-highlight-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -32px;
  padding: 0 24px;
}
.event-highlight {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  background: linear-gradient(135deg, #D4AF37 0%, #F59E0B 30%, var(--primary) 70%, var(--primary-dark) 100%);
  color: white;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(139,21,56,0.35), 0 0 0 4px rgba(212,175,55,0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-wrap: wrap;
  overflow: hidden;
}
.event-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.18) 45%, transparent 55%);
  transform: translateX(-100%);
  animation: eventShine 4s ease-in-out infinite;
}
@keyframes eventShine {
  0%, 65% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.event-highlight:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 48px rgba(139,21,56,0.48), 0 0 0 5px rgba(212,175,55,0.25);
}
.event-highlight-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.event-highlight-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.7);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}
.event-highlight:hover .event-highlight-thumb {
  transform: scale(1.05);
}
.event-highlight-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  animation: eventIconPulse 2s ease-in-out infinite;
}
@keyframes eventIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.event-highlight-body {
  text-align: left;
}
.event-highlight-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #FFF8E7;
  margin-bottom: 4px;
}
.event-highlight-label::after {
  content: "";
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.3);
  animation: liveDot 1.5s ease-in-out infinite;
}
@keyframes liveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
.event-highlight-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 3px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.event-highlight-date {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
}
.event-highlight-action {
  position: relative;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 20px;
  
  color: var(--primary);
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.event-highlight:hover .event-highlight-action {
  background: var(--primary-dark);
  color: white;
  transform: translateX(3px);
}

/* Register & Mission Split */
.register-mission-split {
  padding: 40px 24px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--card) 100%);
}
.register-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.register-box {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.register-title {
  font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.register-subtitle {
  color: var(--text-light);
  margin-bottom: 18px;
  font-size: 14px;
}
.register-form {
  display: flex;
  gap: 12px;
  flex-direction: column;
}
.register-form .form-input {
  text-align: center;
  font-size: 15px;
  padding: 13px 18px;
}
.register-login {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-light);
}
.register-login a {
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px dashed var(--primary);
}
.register-login a:hover {
  border-bottom-style: solid;
}

.mission-box {
  padding: 28px;
  background: linear-gradient(135deg, var(--secondary-light), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mission-box .section-title {
  text-align: left;
  margin-bottom: 10px;
  font-size: 24px;
}
.mission-text {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mission-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
}
.mission-pillar span:first-child { font-size: 22px; }

/* Impact Section */
.impact-section {
  padding: 40px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--card) 0%, #FFF8F0 100%);
  border-top: 1px solid var(--border);
}
.section-title {
  font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.5;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.impact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.impact-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.impact-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.impact-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Gallery */
.gallery-section {
  padding: 40px 24px;
  text-align: center;
  background: var(--card);
  border-top: 1px solid var(--border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-card:hover img {
  transform: scale(1.08);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 10px;
  background: linear-gradient(to top, rgba(94,13,37,0.92), transparent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* Youth Banner */
.youth-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-gold-light));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}
.youth-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}
.youth-content {
  flex: 1;
}
.youth-title {
  font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}
.youth-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Legacy event float card (hidden - replaced by full-width event highlight) */
#eventBadgeContainer { display: none !important; }

/* Floating Download App Button */
.download-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent-gold), #D97706);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(217,119,6,0.45), 0 0 0 4px rgba(217,119,6,0.15);
  transition: all 0.3s ease;
  animation: fabPulse 2s infinite;
}
.download-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(217,119,6,0.55), 0 0 0 6px rgba(217,119,6,0.2);
}
.download-fab::before {
  content: '\1F4E5';
  font-size: 18px;
}
@keyframes fabPulse {
  0% { box-shadow: 0 6px 20px rgba(217,119,6,0.45), 0 0 0 4px rgba(217,119,6,0.15); }
  70% { box-shadow: 0 6px 24px rgba(217,119,6,0.35), 0 0 0 12px rgba(217,119,6,0); }
  100% { box-shadow: 0 6px 20px rgba(217,119,6,0.45), 0 0 0 4px rgba(217,119,6,0.15); }
}

/* Footer */
.landing-footer {
  padding: 30px 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  text-align: center;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.footer-brand img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
  
}
.footer-brand-name {
  font-family: 'Playfair Display', 'Noto Sans Gujarati', serif;
  font-size: 16px;
  font-weight: 700;
}
.footer-brand-tagline {
  font-size: 10px;
  opacity: 0.9;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}
.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-links .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: white;
  padding: 8px 16px;
  font-size: 12px;
}
.footer-links .btn-outline:hover {
  
  color: var(--primary);
}
.footer-copy {
  font-size: 12px;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 900px) {
  .register-mission-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
}
@media (max-width: 700px) {
  .landing-header { padding: 10px 14px; }
  .header-brand-name { font-size: 13px; }
  .header-brand-tagline { font-size: 8px; }
  .header-brand img { width: 40px; height: 40px; }
  .btn-download-header { padding: 7px 12px; font-size: 11px; }
  .hero-image-wrapper { height: 220px; }
  .hero-content { padding: 18px 14px; }
  .hero-title { font-size: 22px; margin-bottom: 6px; }
  .hero-subtitle { font-size: 12px; }
  .hero-badge { margin-bottom: 6px; }
  .btn-lg { padding: 10px 20px; font-size: 13px; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 13px; margin-bottom: 20px; }
  .event-highlight-wrapper { padding: 0 14px; margin-top: -26px; }
  .event-highlight { padding: 14px 18px; }
  .event-highlight-thumb { width: 52px; height: 52px; border-radius: 10px; }
  .event-highlight-icon { width: 44px; height: 44px; font-size: 22px; }
  .event-highlight-main { gap: 12px; }
  .event-highlight-name { font-size: 15px; }
  .event-highlight-action { padding: 8px 14px; font-size: 12px; }
  .register-mission-split { padding: 28px 14px; }
  .register-box, .mission-box { padding: 20px; }
  .register-title { font-size: 22px; }
  .mission-box .section-title { font-size: 22px; }
  .mission-pillars { grid-template-columns: repeat(3, 1fr); }
  .impact-section { padding: 32px 14px; }
  .impact-grid { grid-template-columns: 1fr; gap: 12px; }
  .impact-card { padding: 18px 14px; }
  .gallery-section { padding: 32px 14px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .youth-banner { margin: 0 14px 28px; padding: 14px 18px; flex-direction: column; text-align: center; }
  .youth-title { font-size: 17px; }
  .landing-footer { padding: 24px 14px; }
  .footer-top { flex-direction: column; text-align: center; gap: 14px; }
  .footer-brand { flex-direction: column; text-align: center; }
  .download-fab { bottom: 14px; right: 14px; padding: 10px 16px; font-size: 12px; }
}
@media (max-width: 400px) {
  .hero-image-wrapper { height: 190px; }
  .hero-title { font-size: 18px; }
  .hero-content { padding: 14px 12px; }
  .header-brand img { width: 34px; height: 34px; }
  .header-brand-name { font-size: 11px; }
  .lang-selector.compact .lang-btn { padding: 5px 10px; font-size: 10px; }
  .mission-pillars { grid-template-columns: 1fr; }
}

/* ===== Top Event Announcement Bar ===== */
.event-announcement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(90deg, #D97706, #F59E0B, #D97706);
  color: white;
  position: relative;
  z-index: 100;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(217,119,6,0.35);
  flex-wrap: wrap;
  border-bottom: 2px solid rgba(255,255,255,0.2);
}
.event-announcement:hover {
  background: linear-gradient(90deg, #B45309, #D97706, #B45309);
}
.event-announcement-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}
.event-announcement-pulse {
  width: 10px;
  height: 10px;
  
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: announcementPulse 1.8s infinite;
  flex-shrink: 0;
}
@keyframes announcementPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.event-announcement-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0,0,0,0.2);
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.event-announcement-name {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.event-announcement-separator {
  opacity: 0.6;
}
.event-announcement-date {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
  white-space: nowrap;
}
.event-announcement-action {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.event-announcement:hover .event-announcement-action {
  
  color: #D97706;
}

@media (max-width: 700px) {
  .event-announcement { padding: 12px 16px; }
  .event-announcement-content { gap: 8px; }
  .event-announcement-name { font-size: 13px; }
  .event-announcement-date { font-size: 12px; }
  .event-announcement-action { margin: 0 auto; }
}
@media (max-width: 480px) {
  .event-announcement-separator { display: none; }
  .event-announcement-name { width: 100%; text-align: center; }
  .event-announcement-date { width: 100%; text-align: center; }
}

/* ===== Floating Event Card in Empty Space ===== */
.event-float-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 640px;
  margin: 20px auto 0;
  padding: 18px 22px;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(201,162,39,0.35), 0 0 0 4px rgba(201,162,39,0.1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-wrap: wrap;
}
.event-float-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(201,162,39,0.45), 0 0 0 6px rgba(201,162,39,0.15);
}
.event-float-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(201,162,39,0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.event-float-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(139,21,56,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.event-float-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--accent-gold), #D97706);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 0 0 12px 0;
  z-index: 2;
}
.event-float-body {
  padding-top: 18px;
  text-align: left;
  flex: 1;
  min-width: 200px;
  position: relative;
  z-index: 1;
}
.event-float-name {
  font-family: 'Playfair Display', 'Noto Sans Devanagari', 'Noto Sans Gujarati', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.event-float-date {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}
.event-float-date::before {
  content: '\1F4C5';
  margin-right: 6px;
}
.event-float-action {
  position: relative;
  z-index: 1;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(139,21,56,0.25);
  transition: all 0.2s ease;
}
.event-float-card:hover .event-float-action {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(139,21,56,0.35);
}

@media (max-width: 700px) {
  .event-float-card { margin: 16px 16px 0; padding: 16px; }
  .event-float-name { font-size: 16px; }
  .event-float-date { font-size: 13px; }
  .event-float-action { margin: 0 auto; }
}
@media (max-width: 480px) {
  .event-float-card { flex-direction: column; text-align: center; }
  .event-float-body { text-align: center; padding-top: 22px; }
}


/* ===== Shared Site Header / Footer / Hero (Redesign) ===== */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(253,248,243,0.96); border-bottom: 1px solid rgba(232,213,196,0.5); box-shadow: 0 2px 12px rgba(139,21,56,0.06); padding-top: env(safe-area-inset-top); }
.site-header-inner { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.site-brand img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-light);  box-shadow: var(--shadow); }
.site-brand-text { text-align: left; }
.site-brand-name { font-family: 'Playfair Display', 'Noto Sans Gujarati', serif; font-size: 18px; font-weight: 700; color: var(--primary-dark); line-height: 1.1; }
.site-brand-name span { display: block; font-size: 13px; color: var(--primary); }
.site-brand-tagline { font-size: 10px; font-weight: 700; color: var(--secondary); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; margin-left: auto; margin-right: auto; }
.site-nav a { text-decoration: none; color: var(--text); font-size: 12px; font-weight: 600; padding: 7px 9px; border-radius: 50px; transition: all 0.25s; white-space: nowrap; }
.site-nav a:hover { color: var(--primary); background: var(--primary-light); }
.site-nav a.active { color: var(--primary); background: transparent; border-bottom: 2px solid var(--primary); border-radius: 0; padding-bottom: 4px; }
.site-header-actions { display: flex; align-items: center; gap: 12px; }
.lang-select { appearance: none; -webkit-appearance: none; background: rgba(255,255,255,0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%235E0D25' d='M0 1l5 4 5-4z'/%3E%3C/svg%3E") no-repeat right 8px center; border: 1px solid var(--border); border-radius: 50px; padding: 6px 22px 6px 12px; font-size: 12px; font-weight: 700; color: var(--primary-dark); cursor: pointer; }
.header-admin { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-size: 12px; font-weight: 700; color: var(--primary-dark); padding: 6px 12px; border-radius: 50px; background: rgba(255,255,255,0.9); border: 1px solid var(--border); transition: all 0.25s; }
.header-admin:hover { background: var(--primary-light); }
.header-admin-icon { font-size: 13px; }
body.home-page .lang-select,
body.home-page .header-admin { background: rgba(255,255,255,0.85); }
.btn-join { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 50px; box-shadow: 0 4px 14px rgba(139,21,56,0.32); transition: all 0.3s; }
.btn-join:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139,21,56,0.42); }
.btn-gold { background: linear-gradient(135deg, var(--accent-gold), #D97706); color: white; box-shadow: 0 4px 14px rgba(217,119,6,0.32); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(217,119,6,0.42); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--primary); cursor: pointer; }

#homeSection:not(.hidden) ~ .container #globalLangSelector { display: none !important; }

.hero-section { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--primary-dark); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(255,250,245,0.96) 0%, rgba(255,250,245,0.78) 30%, rgba(255,250,245,0.45) 55%, rgba(94,13,37,0.45) 78%, rgba(94,13,37,0.82) 100%); z-index: 1; }
.hero-main { position: relative; z-index: 2; width: 100%; max-width: 1100px; margin: 0 auto; padding: 100px 24px 140px; text-align: center; }
.hero-content { color: var(--primary-dark); }
.hero-lotus { font-size: 50px; margin-bottom: 10px; }
.hero-tagline { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-gold); margin-bottom: 14px; }
.hero-title-large { font-family: 'Playfair Display', 'Noto Sans Gujarati', serif; font-size: 68px; font-weight: 700; line-height: 1.05; margin-bottom: 10px; color: var(--primary-dark); }
.hero-title-large span { display: block; font-size: 42px; color: var(--primary); letter-spacing: 1px; }
.hero-subtitle-line { font-size: 20px; font-weight: 600; margin-bottom: 22px; color: var(--primary); letter-spacing: 1px; }
.hero-desc { font-size: 16px; line-height: 1.7; max-width: 720px; margin: 0 auto 32px; color: var(--text); }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-actions .btn { padding: 15px 34px; font-size: 16px; border-radius: 50px; font-weight: 700; text-decoration: none; }
.hero-pillars { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.pillar-card { background: transparent; border-radius: 0; padding: 10px; text-align: center; box-shadow: none; border: none; transition: transform 0.3s; width: 150px; }
.pillar-card:hover { transform: translateY(-6px); }
.pillar-icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.pillar-card h3 { font-size: 13px; font-weight: 800; color: var(--primary-dark); margin-bottom: 5px; letter-spacing: 0.5px; }
.pillar-card p { font-size: 12px; color: var(--text); line-height: 1.5; }

.trust-banner { position: relative; z-index: 3; margin-top: -80px; padding: 0 24px 50px; }
.trust-banner-inner { max-width: 1200px; margin: 0 auto; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); border-radius: 24px; padding: 28px 36px; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; color: white; }
.trust-intro { display: flex; align-items: center; gap: 16px; }
.trust-intro img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.3);  }
.trust-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.85; }
.trust-intro h2 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: white; margin: 0; }
.trust-items { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; flex: 1; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 90px; text-align: center; }
.trust-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); }
.trust-item span { font-size: 11px; font-weight: 600; opacity: 0.95; line-height: 1.3; }

.site-footer { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; padding: 40px 24px 24px; }
.site-footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.site-footer-brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.site-footer-brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.3);  }
.site-footer-name { font-family: 'Playfair Display', 'Noto Sans Gujarati', serif; font-size: 18px; font-weight: 700; }
.site-footer-tagline { font-size: 10px; opacity: 0.9; letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.site-footer-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.site-footer-links a { color: white; text-decoration: none; font-size: 13px; font-weight: 600; padding: 8px 16px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; transition: all 0.3s; }
.site-footer-links a:hover {  color: var(--primary); }
.site-footer-copy { font-size: 12px; opacity: 0.7; }

.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-section { padding: 60px 24px; }
.page-title { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 700; color: var(--primary-dark); text-align: center; margin-bottom: 12px; }
.page-subtitle { color: var(--text-light); text-align: center; max-width: 600px; margin: 0 auto 30px; font-size: 15px; line-height: 1.6; }
.content-card { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--border); max-width: 900px; margin: 0 auto; }

/* Inner page hero */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 30px;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
}
.page-hero-title {
  font-family: 'Playfair Display', 'Noto Sans Gujarati', serif;
  font-size: 42px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.values-section { margin-top: 60px; text-align: center; }
.values-section .section-title {
  font-family: 'Playfair Display', 'Noto Sans Gujarati', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 36px;
}
.about-card p { font-size: 17px; line-height: 1.85; color: var(--text); margin-bottom: 18px; }
.about-card p:last-child { margin-bottom: 0; }

/* Public events list */
.events-list { max-width: 900px; margin: 0 auto; }
.event-public-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; margin-bottom: 24px; display: flex; gap: 20px; align-items: stretch; }
.event-public-image { width: 140px; height: 140px; flex-shrink: 0; background: var(--bg); border-radius: var(--radius-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.event-public-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-public-image-placeholder { background: var(--primary-light); color: var(--primary); font-size: 36px; }
.event-public-body { padding: 20px; flex: 1; }
.event-public-title { font-family: 'Playfair Display', 'Noto Sans Gujarati', serif; font-size: 22px; color: var(--primary-dark); margin-bottom: 8px; }
.event-public-meta { font-size: 14px; color: var(--text-light); margin-bottom: 6px; }
.event-public-links { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.event-public-link { display: inline-block; padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; text-decoration: none; }
.event-public-link.image { background: #FFF8E1; color: #C9A227; }
.event-public-link.video { background: var(--primary-light); color: var(--primary); }
.event-public-link.pdf { background: var(--secondary-light); color: var(--secondary); }
@media (max-width: 700px) {
  .event-public-card { gap: 12px; align-items: flex-start; }
  .event-public-image { width: 100px; height: 100px; border-radius: 10px; }
  .event-public-body { padding: 14px; }
  .event-public-title { font-size: 18px; }
  .event-public-links { justify-content: flex-start; }
  .event-public-link { padding: 6px 14px; font-size: 12px; }
}

/* Event media lightbox */
.event-media-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.event-media-back { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.15); color: #fff; border: none; border-radius: 50px; padding: 10px 20px; font-size: 14px; font-weight: 600; cursor: pointer; backdrop-filter: blur(4px); }
.event-media-back:active { background: rgba(255,255,255,0.25); }
.event-media-content { width: 100%; max-width: 900px; text-align: center; }
.event-media-content img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius-sm); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.event-media-content video { max-width: 90vw; max-height: 70vh; border-radius: var(--radius-sm); }
.event-media-content iframe { width: 90vw; height: 80vh; border: none; border-radius: var(--radius-sm); background: #fff; }

/* Contact card */
.contact-card p { font-size: 17px; line-height: 1.8; margin-bottom: 12px; word-wrap: break-word; overflow-wrap: break-word; }
.contact-card a { color: var(--primary); font-weight: 600; text-decoration: none; word-wrap: break-word; overflow-wrap: break-word; }

/* Public gallery */
.public-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.public-gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: var(--card); }
.public-gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.public-gallery-caption { padding: 12px; font-size: 13px; color: var(--text-light); text-align: center; }

/* Public testimonials */
.public-testimonials-list { max-width: 900px; margin: 0 auto; display: grid; gap: 20px; }
.public-testimonial-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 24px; position: relative; }
.public-testimonial-card::before { content: '“'; position: absolute; top: 10px; left: 16px; font-size: 60px; color: var(--primary-light); font-family: serif; line-height: 1; }
.public-testimonial-card p { font-size: 16px; line-height: 1.7; color: var(--text); margin-bottom: 14px; position: relative; z-index: 1; }
.public-testimonial-card .author { font-weight: 700; color: var(--primary-dark); }
.testimonial-form-card { max-width: 600px; margin: 0 auto 30px; }

@media (max-width: 1020px) {
  .page-hero { min-height: 140px; padding: 80px 24px 24px; }
  .page-hero-title { font-size: 36px; }
  .page-hero-subtitle { font-size: 16px; }
  .values-section { margin-top: 50px; }
  .values-section .section-title { font-size: 30px; margin-bottom: 28px; }
}
@media (max-width: 600px) {
  .page-hero { min-height: 120px; padding: 120px 20px 20px; }
  .page-hero-title { font-size: 30px; }
  .page-hero-subtitle { font-size: 14px; }
  .about-card p { font-size: 15px; line-height: 1.75; }
  .values-section { margin-top: 40px; }
  .values-section .section-title { font-size: 26px; margin-bottom: 22px; }
}

@media (max-width: 1020px) {
  .site-header-inner { flex-wrap: wrap; justify-content: flex-end; }
  body.home-page .site-nav a { text-shadow: none; }
  .site-header-actions { order: 1; }
  .site-nav { order: 2; display: flex; position: static; width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px 8px; background: rgba(253,248,243,0.98); border-top: 1px solid rgba(232,213,196,0.5); border-bottom: none; box-shadow: none; }
  .site-nav.open { display: flex; }
  .site-nav a { width: auto; padding: 7px 12px; border-radius: 50px; font-size: 12px; background: rgba(255,255,255,0.9); border: 1px solid var(--border); color: var(--text); white-space: nowrap; text-align: center; }
  .site-nav a:hover { background: var(--primary-light); color: var(--primary); }
  .site-nav a.active { color: #fff; background: var(--primary); border-color: var(--primary); border-bottom: none; border-radius: 50px; padding-bottom: 7px; }
  .nav-toggle { display: none; }
  .page-hero { padding-top: 120px; }
  .hero-title-large { font-size: 48px; }
  .hero-title-large span { font-size: 30px; }
  .hero-main { padding: 80px 24px 120px; }
  .trust-banner-inner { flex-direction: column; text-align: center; padding: 24px; }
  .trust-intro { flex-direction: column; }
  .trust-items { gap: 16px; }
}
@media (max-width: 600px) {
  .site-brand-name { font-size: 15px; }
  .site-brand-name span { font-size: 12px; }
  .site-brand img { width: 64px; height: 64px; }
  .site-header-actions { gap: 8px; }
  .btn-join { padding: 8px 14px; font-size: 12px; }
  .lang-select { padding: 5px 18px 5px 10px; font-size: 11px; }
  .header-admin { padding: 5px; }
  .header-admin-text { display: none; }
  .hero-title-large { font-size: 36px; }
  .hero-title-large span { font-size: 24px; }
  .hero-desc { font-size: 14px; }
  .pillar-card { width: 140px; padding: 20px 12px; }
  .pillar-icon { width: 50px; height: 50px; font-size: 22px; }
  .trust-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-actions .btn { padding: 12px 24px; font-size: 14px; }
}
@media (max-width: 400px) {
  .hero-pillars { gap: 12px; }
  .pillar-card { width: 120px; }
}

body { overflow-x: hidden; }

/* Hide default Google Translate UI when using custom switcher */
.goog-te-banner-frame,
.goog-te-menu-value,
#goog-gt-tt,
.goog-te-balloon-frame,
.skiptranslate,
.goog-logo-link,
.goog-te-gadget { display: none !important; }
body { top: 0 !important; }

/* Home page hero */
.hero-section.hero-home {
  background: url('/images/hero-bg.png?v=102') center top / cover no-repeat;
  width: 100%;
  min-height: 100vh;
  max-height: min(900px, 100vh);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 320px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.hero-mobile-image {
  display: none;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-mobile-logo {
  display: none;
}
.hero-content-wrap {
  width: 100%;
  max-width: 900px;
  padding: 0;
}
.hero-logo-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  
}
.hero-main-title {
  font-family: 'Playfair Display', 'Noto Sans Gujarati', serif;
  font-size: 68px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 0.95;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.hero-main-title span {
  display: block;
  font-size: 44px;
  letter-spacing: 3px;
  margin-top: 4px;
}
.hero-faith-tagline {
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-lotus-symbol {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-sub-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 14px;
}
.hero-description {
  font-size: 17px;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.hero-cta-btn {
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(139,21,56,0.32);
  transition: all 0.3s;
}
.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,21,56,0.42);
}
.hero-cta-btn {
  margin-bottom: 60px;
}
.home-trust-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 24px;
  margin: 10px 24px 40px;
  padding: 24px 32px;
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 30px rgba(94,13,37,0.25);
}
.home-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.home-trust-brand { display: flex; align-items: center; gap: 16px; text-align: left; }
.home-trust-brand img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover;  }
.home-trust-label { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; opacity: 0.95; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.home-trust-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; line-height: 1.15; text-shadow: 0 2px 3px rgba(0,0,0,0.25); }
.home-trust-items { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; flex: 1; }
.home-trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 800; min-width: 82px; line-height: 1.35; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.home-trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
body.home-page .site-header {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}
body.home-page .site-nav a,
body.home-page .nav-toggle { text-shadow: 0 1px 2px rgba(255,255,255,0.95); }
@media (max-width: 1020px) {
  .hero-section.hero-home { padding: 280px 24px 60px; }
  .hero-logo-img { width: 140px; height: 140px; }
  .hero-main-title { font-size: 52px; }
  .hero-main-title span { font-size: 34px; }
  .hero-sub-tagline { font-size: 18px; }
  .home-trust-banner { margin: 10px 20px 30px; padding: 20px 24px; }
  .home-trust-brand img { width: 56px; height: 56px; }
  .home-trust-title { font-size: 22px; }
  .home-trust-items { gap: 18px; }
  .home-trust-item { font-size: 11px; min-width: 76px; }
  .home-trust-icon { width: 42px; height: 42px; font-size: 19px; }
}
@media (max-width: 600px) {
  body.home-page .site-header { background: rgba(253,248,243,0.98); border-bottom: 1px solid rgba(232,213,196,0.5); box-shadow: 0 2px 12px rgba(139,21,56,0.06); }
  body.home-page .site-nav a,
  body.home-page .nav-toggle { text-shadow: none; }
  .site-header-inner { flex-wrap: wrap; justify-content: flex-end; padding: 10px 12px; padding-right: max(12px, env(safe-area-inset-right)); padding-left: max(12px, env(safe-area-inset-left)); }
  .site-header-actions { order: 1; }
  .site-nav { order: 2; display: flex; position: static; width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 8px 6px; background: rgba(253,248,243,0.98); border-top: 1px solid rgba(232,213,196,0.5); border-bottom: none; box-shadow: none; }
  .site-nav.open { display: flex; }
  .site-nav a { width: auto; padding: 6px 10px; border-radius: 50px; font-size: 11px; background: rgba(255,255,255,0.9); border: 1px solid var(--border); color: var(--text); white-space: nowrap; text-align: center; }
  .site-nav a:hover { background: var(--primary-light); color: var(--primary); }
  .site-nav a.active { color: #fff; background: var(--primary); border-color: var(--primary); border-bottom: none; border-radius: 50px; padding-bottom: 6px; }
  .nav-toggle { display: none; }
  .site-header-actions { gap: 8px; margin-left: auto; }
  .header-admin { padding: 6px 10px; }
  .header-admin-text { display: inline; font-size: 11px; }
  .btn-join { padding: 8px 12px; font-size: 12px; }
  .hero-section.hero-home { background: none; min-height: auto; max-height: none; padding: 0; overflow: visible; flex-direction: column; position: relative; align-items: center; }
  .hero-mobile-image { display: block; width: 100%; max-width: 100%; max-height: 42vh; object-fit: contain; object-position: center top; margin: 0 auto; position: relative; z-index: 1; }
  .hero-content-wrap { padding: 14px 16px 22px; position: static; text-align: center; }
  .hero-main-title { display: block; font-size: 28px; margin-bottom: 0; position: absolute; top: 165px; left: 50%; transform: translateX(-50%); z-index: 2; text-shadow: 0 2px 5px rgba(255,255,255,0.95); }
  .hero-main-title span { font-size: 17px; letter-spacing: 1px; display: block; }
  .hero-faith-tagline { display: block; font-size: 11px; letter-spacing: 1px; margin-bottom: 0; position: absolute; top: 240px; left: 50%; transform: translateX(-50%); z-index: 2; text-shadow: 0 2px 5px rgba(255,255,255,0.95); white-space: nowrap; }
  .hero-mobile-logo { display: block; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 83px; height: 83px; object-fit: cover; border-radius: 50%; z-index: 3; box-shadow: 0 4px 12px rgba(139,21,56,0.25); }
  .hero-lotus-symbol { display: block; font-size: 26px; margin-bottom: 0; position: absolute; top: 125px; left: 50%; transform: translateX(-50%); z-index: 2; text-shadow: 0 2px 5px rgba(255,255,255,0.95); }
  .hero-main-title { top: 180px; }
  .hero-sub-tagline { font-size: 14px; margin-bottom: 8px; }
  .hero-description { font-size: 12px; margin-bottom: 16px; }
  .hero-cta-btn { padding: 11px 22px; font-size: 12px; margin-bottom: 0; }
  .home-trust-banner { margin: 0 10px 12px; padding: 10px 12px; border-radius: 16px; }
  .home-trust-inner { flex-direction: column; text-align: center; gap: 8px; }
  .home-trust-brand { text-align: center; flex-direction: column; gap: 6px; }
  .home-trust-brand img { width: 36px; height: 36px; }
  .home-trust-label { font-size: 8px; letter-spacing: 0.5px; }
  .home-trust-title { font-size: 16px; }
  .home-trust-items { gap: 4px; flex-wrap: nowrap; }
  .home-trust-item { flex: 1 1 0; min-width: 0; font-size: 8px; gap: 3px; line-height: 1.2; }
  .home-trust-icon { width: 24px; height: 24px; font-size: 12px; border-width: 1px; }
}
