/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  color: #2c2c2c;
  background: #fffcf7;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 5rem 0; }

/* ===== COLORS ===== */
:root {
  --saffron: #f28c28;
  --saffron-dark: #d97710;
  --maroon: #8b1a1a;
  --maroon-dark: #5c1010;
  --gold: #c9a84c;
  --cream: #fdf5e6;
  --dark: #1a1a2e;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 1rem 0;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(26,26,46,0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.logo i {
  font-size: 1.8rem;
  color: var(--saffron);
}
.logo small { font-weight: 400; font-size: 0.7rem; opacity: 0.8; }
.nav-list { display: flex; gap: 2rem; }
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--saffron);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--saffron); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1621871930117-5e8c3f1e8d6c?w=1920&q=80') center/cover no-repeat fixed;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(139,26,26,0.7) 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  color: var(--saffron);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.9);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--saffron);
  color: var(--white);
}
.btn-primary:hover { background: var(--saffron-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(242,140,40,0.4); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}
.hero-scroll a {
  color: rgba(255,255,255,0.6);
  font-size: 1.3rem;
  transition: var(--transition);
}
.hero-scroll a:hover { color: var(--saffron); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== QUOTE STRIP ===== */
.quote-strip {
  background: var(--maroon);
  padding: 2.5rem 0;
  text-align: center;
}
.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--cream);
  font-style: italic;
  max-width: 750px;
  margin: 0 auto 0.5rem;
}
.quote-source { color: var(--gold); font-size: 0.9rem; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  background: rgba(242,140,40,0.1);
  color: var(--saffron-dark);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark);
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}
.divider span {
  display: block;
  width: 50px; height: 1.5px;
  background: var(--gold);
}
.divider i { color: var(--saffron); font-size: 1.2rem; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  transform: translate(12px, 12px);
  pointer-events: none;
}
.about-image img { transition: transform 0.5s ease; }
.about-image:hover img { transform: scale(1.05); }
.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--maroon);
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}
.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--saffron);
}
.stat-label { font-size: 0.82rem; color: var(--text-light); }

/* ===== SERVICES ===== */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--saffron);
}
.service-icon {
  width: 65px; height: 65px;
  background: rgba(242,140,40,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: var(--saffron);
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--saffron); color: var(--white); }
.service-card h4 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--dark); }
.service-card p { font-size: 0.92rem; color: var(--text-light); }

/* ===== EVENTS ===== */
.events-grid { display: flex; flex-direction: column; gap: 1.2rem; }
.event-card {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--saffron);
}
.event-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.event-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  background: var(--maroon);
  color: var(--white);
  border-radius: 10px;
  padding: 0.8rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.event-day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.event-month { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.event-info h4 { font-size: 1.1rem; color: var(--dark); margin-bottom: 0.3rem; }
.event-info p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 0.2rem; }
.event-info p i { width: 18px; color: var(--saffron); }
.event-desc { margin-top: 0.5rem; font-size: 0.92rem !important; color: var(--text) !important; }
.events-cta { text-align: center; margin-top: 2.5rem; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 5;
}
.gallery-item::after {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  background: rgba(26,26,46,0.4);
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: var(--cream);
  margin-top: 1rem;
  font-size: 1rem;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { color: var(--saffron); transform: rotate(90deg); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--maroon); margin-bottom: 1.5rem; }
.contact-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.contact-info p i { width: 20px; color: var(--saffron); font-size: 1.1rem; }
.contact-hours { margin: 1.5rem 0; padding: 1.5rem; background: var(--cream); border-radius: var(--radius); }
.contact-hours h4 { color: var(--dark); margin-bottom: 0.8rem; }
.contact-hours p { font-size: 0.9rem !important; margin-bottom: 0.3rem !important; }
.contact-social { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
.contact-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.contact-social a:hover { background: var(--saffron); transform: translateY(-3px); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 1rem 1.2rem;
  border: 1.5px solid #e0d6c8;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(242,140,40,0.15);
}
.contact-form button { align-self: flex-start; }

/* ===== DONATE STRIP ===== */
.donate-strip {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}
.donate-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.donate-strip p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto 1.8rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; opacity: 0.7; }
.footer-links h4,
.footer-newsletter h4 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.footer-links ul li { margin-bottom: 0.6rem; }
.footer-links ul li a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: var(--transition);
}
.footer-links ul li a:hover { opacity: 1; color: var(--saffron); }
.footer-newsletter p { font-size: 0.88rem; opacity: 0.6; margin-bottom: 1rem; }
.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
}
.footer-newsletter input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  outline: none;
  font-family: 'Poppins', sans-serif;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter button {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--saffron);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.footer-newsletter button:hover { background: var(--saffron-dark); }
.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: 0.4s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }
  .nav.open { right: 0; }
  .nav-list { flex-direction: column; gap: 1.5rem; }
  .nav-link { font-size: 1.1rem; }
  .hero { background-attachment: scroll; }
  .about-stats { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
  .event-card { flex-direction: column; align-items: flex-start; }
  .event-date { flex-direction: row; width: auto; gap: 0.5rem; padding: 0.5rem 1rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== AUTH PAGES ===== */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 3rem;
  background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
}
.auth-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 460px;
  position: relative;
}
.auth-header { text-align: center; margin-bottom: 1.5rem; }
.auth-header i {
  font-size: 2.2rem;
  color: var(--saffron);
  margin-bottom: 0.5rem;
}
.auth-header h2 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  font-size: 1.6rem;
}
.auth-header p { color: var(--text-light); font-size: 0.92rem; }
.auth-tabs {
  display: flex;
  background: var(--cream);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 1.5rem;
}
.auth-tab {
  flex: 1;
  padding: 0.6rem;
  border: none;
  background: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  color: var(--text-light);
}
.auth-tab.active { background: var(--white); color: var(--saffron); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-group label i { color: var(--saffron); font-size: 0.8rem; width: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0d6c8;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(242,140,40,0.12); }
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.form-options label { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; color: var(--text-light); }
.form-options input[type="checkbox"] { accent-color: var(--saffron); width: 16px; height: 16px; }
.forgot-link { color: var(--saffron); font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }
.auth-btn { width: 100%; justify-content: center; padding: 0.9rem; }
.auth-footer { text-align: center; margin-top: 1.2rem; font-size: 0.9rem; color: var(--text-light); }
.auth-footer a { color: var(--saffron); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }
.auth-msg {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}
.auth-msg.error { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.auth-msg.success { display: block; background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.small-input { max-width: 120px; }

/* ===== DASHBOARD ===== */
.dashboard-section {
  min-height: 100vh;
  padding: 8rem 0 4rem;
  background: #f8f6f3;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.dashboard-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--dark);
}
.dashboard-header p { color: var(--text-light); font-size: 0.95rem; }
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.dash-stat {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 3px solid var(--saffron);
}
.dash-stat i { font-size: 1.6rem; color: var(--saffron); }
.dash-stat span { font-size: 1.8rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--maroon); }
.dash-stat small { color: var(--text-light); font-size: 0.82rem; }
.dash-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.dash-tab {
  padding: 0.6rem 1.4rem;
  border: 1.5px solid #e0d6c8;
  background: var(--white);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
}
.dash-tab.active { border-color: var(--saffron); background: var(--saffron); color: var(--white); }
.dash-tab:hover:not(.active) { border-color: var(--saffron); color: var(--saffron); }
.dash-panel { display: none; }
.dash-panel.active { display: block; }
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.panel-header h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--maroon); }
.panel-form {
  background: var(--cream);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: none;
}
.panel-form.open { display: block; }
.panel-form .form-row { margin-bottom: 1rem; }
.panel-form textarea,
.panel-form input { background: var(--white); }
.form-actions { display: flex; gap: 0.8rem; margin-top: 1rem; }
.form-actions .btn-secondary {
  color: var(--text-light);
  border-color: #ccc;
  background: var(--white);
}
.form-actions .btn-secondary:hover {
  border-color: var(--text-light);
  background: #f5f5f5;
  color: var(--text);
  transform: none;
}
.dash-list { display: flex; flex-direction: column; gap: 0.8rem; }
.dash-list-item {
  background: var(--white);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-left: 3px solid var(--saffron);
}
.dash-list-item .item-info h4 { font-size: 1rem; color: var(--dark); }
.dash-list-item .item-info p { font-size: 0.85rem; color: var(--text-light); }
.dash-list-item .item-actions { display: flex; gap: 0.5rem; }
.dash-list-item .item-actions button {
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.staff-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--saffron);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.staff-card h4 { font-size: 1rem; color: var(--dark); display: flex; align-items: center; gap: 0.5rem; }
.staff-card .staff-role {
  font-size: 0.78rem;
  color: var(--saffron-dark);
  background: rgba(242,140,40,0.1);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  display: inline-block;
  width: fit-content;
}
.staff-card p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.notice-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.notice-card .notice-date {
  font-size: 0.75rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.notice-card h4 { font-size: 1rem; color: var(--maroon); font-family: 'Playfair Display', serif; }
.notice-card .notice-desc { font-size: 0.88rem; color: var(--text); }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.acc-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--saffron);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.acc-card h4 { font-size: 1rem; color: var(--dark); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.acc-type {
  font-size: 0.75rem;
  color: var(--saffron-dark);
  background: rgba(242,140,40,0.1);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
}
.acc-card p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.acc-desc { font-size: 0.88rem; color: var(--text); }
.acc-book-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  align-items: center;
}
.acc-book-form input {
  flex: 1;
  min-width: 120px;
  padding: 0.4rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: 'Poppins', sans-serif;
}
.acc-book-form .btn { flex: 0 0 auto; }
.upi-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--dark);
}
.upi-info i { font-size: 1.3rem; color: #2563eb; }
.upi-info strong { font-family: 'Courier New', monospace; letter-spacing: 0.5px; color: #2563eb; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.shop-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.shop-img { height: 180px; background: var(--cream); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-img-placeholder { display: flex; align-items: center; justify-content: center; }
.shop-info { padding: 1rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.shop-info h4 { font-size: 1rem; color: var(--dark); }
.shop-price { font-size: 1.1rem; font-weight: 700; color: var(--maroon); }
.shop-desc { font-size: 0.85rem; color: var(--text-light); }
.shop-buy { display: flex; gap: 0.5rem; margin-top: auto; align-items: center; }
.shop-buy input { width: 60px; padding: 0.4rem; border: 1px solid #ddd; border-radius: 6px; font-size: 0.85rem; text-align: center; }
.shop-buy .btn { flex: 1; }
.staff-status { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.7rem; border-radius: 50px; letter-spacing: 0.3px; }
.staff-status.on-duty { background: rgba(34,197,94,0.15); color: #16a34a; border: 1px solid rgba(34,197,94,0.25); }
.staff-status.off-duty { background: rgba(220,38,38,0.1); color: #dc2626; border: 1px solid rgba(220,38,38,0.2); }
.btn-edit { background: rgba(242,140,40,0.12); color: var(--saffron-dark); }
.btn-edit:hover { background: var(--saffron); color: var(--white); }
.btn-delete { background: rgba(139,26,26,0.1); color: var(--maroon); }
.btn-delete:hover { background: var(--maroon); color: var(--white); }
.btn-approve { background: rgba(22,163,74,0.12); color: #15803d; }
.btn-approve:hover { background: #15803d; color: var(--white); }

.empty-msg { color: var(--text-light); font-style: italic; padding: 2rem; text-align: center; }
.profile-form { max-width: 500px; }
.profile-form .form-group { margin-bottom: 1rem; }

/* ===== PROFILE AVATAR ===== */
.profile-layout { display: flex; gap: 2.5rem; align-items: flex-start; flex-wrap: wrap; }
.profile-avatar-section { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.profile-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.profile-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
}
.profile-avatar img.show { display: block; }
.profile-avatar span {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--maroon);
  font-family: 'Playfair Display', serif;
}
.profile-avatar img.show + span { display: none; }
.avatar-upload-btn {
  font-size: 0.82rem !important;
  padding: 0.5rem 1.2rem !important;
  color: var(--text) !important;
  border-color: #ccc !important;
  background: var(--white) !important;
}
.avatar-upload-btn:hover {
  background: #f5f5f5 !important;
  color: var(--text) !important;
  border-color: #999 !important;
}
#avatar-input { display: none; }
.avatar-hint { font-size: 0.75rem; color: var(--text-light); margin: 0; }
.mc-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
  position: absolute;
  inset: 0;
}
.mc-avatar img.show { display: block; }
.mc-avatar img.show + span { display: none; }
.mc-avatar { position: relative; overflow: hidden; }

/* ===== MEMBERSHIP CARD ===== */
.membership-wrapper { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.membership-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(145deg, var(--maroon), var(--maroon-dark));
  border-radius: 18px;
  padding: 2rem 1.8rem;
  color: var(--white);
  box-shadow: 0 12px 40px rgba(139,26,26,0.3);
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}
.mc-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(242,140,40,0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(201,168,76,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.mc-bg::before {
  content: '\f04b';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -30px;
  bottom: -30px;
  font-size: 12rem;
  opacity: 0.04;
  transform: rotate(-15deg);
}
.mc-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.mc-header i { font-size: 2rem; color: var(--saffron); }
.mc-header h4 { font-size: 1rem; font-weight: 600; line-height: 1.2; }
.mc-header span { font-size: 0.78rem; opacity: 0.7; }
.mc-body {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1.2rem;
}
.mc-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(242,140,40,0.4);
}
.mc-avatar span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Playfair Display', serif;
}
.mc-info { flex: 1; }
.mc-name { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.2rem; font-family: 'Playfair Display', serif; }
.mc-id {
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  opacity: 0.85;
  background: rgba(255,255,255,0.1);
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.2rem;
}
.mc-since { font-size: 0.75rem; opacity: 0.65; }
.mc-meta {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
  margin-bottom: 0.8rem;
}
.mc-category, .mc-expiry {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  flex: 1;
  text-align: center;
}
.mc-category span, .mc-expiry span {
  display: block;
  font-size: 0.65rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mc-category strong, .mc-expiry strong {
  font-size: 0.85rem;
  font-weight: 600;
}
.mc-status {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}
.mc-badge {
  display: inline-block;
  background: rgba(34,197,94,0.2);
  color: #86efac;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(34,197,94,0.3);
}
.mc-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.5;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: 'Playfair Display', serif;
}
.mc-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.mc-actions .btn-secondary {
  color: var(--text-light);
  border-color: #ccc;
  background: var(--white);
}
.mc-actions .btn-secondary:hover {
  border-color: var(--text-light);
  background: #f5f5f5;
  color: var(--text);
  transform: translateY(-2px);
}

/* ===== NAV AUTH BUTTONS ===== */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.nav-auth .nav-link { font-size: 0.85rem; }
.nav-register {
  background: var(--saffron);
  color: var(--white) !important;
  padding: 0.35rem 1rem;
  border-radius: 50px;
}
.nav-register::after { display: none !important; }
.nav-register:hover { background: var(--saffron-dark) !important; }
.nav-dashboard-link {
  background: var(--saffron);
  color: var(--white) !important;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
}
.nav-dashboard-link::after { display: none !important; }
.nav-dashboard-link:hover { background: var(--saffron-dark) !important; }
.nav-logout-btn {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  padding: 0.35rem 1.1rem !important;
  border-radius: 50px !important;
  font-size: 0.85rem !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
}
.nav-logout-btn::after { display: none !important; }
.nav-logout-btn:hover { background: #b91c1c !important; border-color: #b91c1c !important; color: #fff !important; }

@media (max-width: 768px) {
  .nav-auth {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .nav-auth .nav-link { font-size: 1.1rem; }
  .nav-register,
  .nav-dashboard-link {
    padding: 0;
    background: none;
    color: rgba(255,255,255,0.85) !important;
  }
  .nav-register:hover { background: none !important; }
  .nav-logout-btn {
    padding: 0 !important;
    background: none !important;
    border: none !important;
    color: rgba(255,255,255,0.85) !important;
  }
  .nav-logout-btn:hover { background: none !important; color: var(--saffron) !important; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .container { width: 92%; }
  .hero-title { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .auth-card { padding: 1.8rem; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
}
