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

.nav-logo-fallback { display: none !important; }
.hidden { display: none; }
.membership-note { text-align: center; color: rgba(255,255,255,0.4); font-size: 0.85rem; margin-top: 2rem; }
.footer-kannada-sub { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }

:root {
  --red:    #8B1A1A;
  --gold:   #E8A000;
  --green:  #1B5E20;
  --dark:   #1C0A00;
  --mid:    #2E1503;
  --accent: #FFB300;
  --light:  #FFF8EE;
  --white:  #FFFFFF;
  --gray:   #6B7280;
  --border: #E8D5B0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--dark); }

.kn {
  font-family: 'Noto Sans Kannada', sans-serif;
  font-size: 1.15em;
  line-height: 1.5;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(26,26,46,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,160,23,0.2);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img {
  width: 70px; height: 70px; border-radius: 8px; object-fit: contain;
}
.nav-logo-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: white;
}
.nav-logo-text { color: white; }
.nav-logo-text .org { font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; font-family: 'Noto Sans Kannada', sans-serif; }
.nav-logo-text .sub { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.04em; font-family: 'Noto Sans Kannada', sans-serif; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: linear-gradient(135deg, var(--red), #A93226);
  color: white; border: none; padding: 0.55rem 1.4rem;
  border-radius: 6px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ── CAROUSEL / HERO ── */
.carousel {
  position: relative; width: 100%; height: 100vh; overflow: hidden;
}
.carousel-track {
  display: flex; height: 100%;
  transition: transform 0.8s cubic-bezier(0.77,0,0.175,1);
}
.carousel-slide {
  min-width: 100%; height: 100%; position: relative; flex-shrink: 0;
}
.carousel-slide:nth-child(1) { background: linear-gradient(135deg, #1C0A00 0%, #2E1503 50%, #4A1A00 100%); }
.carousel-slide:nth-child(2) { background: linear-gradient(135deg, #5C0A0A 0%, #8B1A1A 100%); }
.carousel-slide:nth-child(3) { background: linear-gradient(135deg, #0A2E0A 0%, #1B5E20 100%); }
.carousel-slide:nth-child(4) { background: linear-gradient(135deg, #4A2E00 0%, #E8A000 100%); }
.carousel-slide.has-photo { background-size: cover; background-position: center; }
.carousel-slide.has-photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 100%);
}
.carousel-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(70px + 2rem) 2rem 4rem;
}
.hero-badge {
  display: inline-block;
  background: rgba(212,160,23,0.15); border: 1px solid rgba(212,160,23,0.4);
  color: var(--gold); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4rem 1.2rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.hero-kannada {
  font-family: 'Noto Sans Kannada', sans-serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  color: var(--gold); font-weight: 800; margin-bottom: 0.6rem;
  letter-spacing: 0.02em; line-height: 1.35;
}
.carousel-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: rgba(255,255,255,0.85); line-height: 1.3; margin-bottom: 1.2rem;
  font-weight: 700; letter-spacing: 0.01em;
}
.carousel-content h1 span { color: var(--gold); }
.carousel-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--red), #A93226);
  color: white; padding: 0.85rem 2rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(192,57,43,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(192,57,43,0.5); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3); color: white;
  padding: 0.85rem 2rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(212,160,23,0.1); }
.hero-stats {
  display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.2rem; }
.carousel-prev, .carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25); color: white;
  font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; line-height: 1;
}
.carousel-prev { left: 1.5rem; }
.carousel-next { right: 1.5rem; }
.carousel-prev:hover, .carousel-next:hover { background: rgba(192,57,43,0.7); }
.carousel-dots {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 10;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 100px;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: background 0.2s, width 0.3s;
}
.carousel-dot.active { background: var(--gold); width: 24px; }

/* ── UPCOMING EVENTS ── */
.upcoming { background: var(--white); }
.upcoming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.upcoming-card {
  background: white; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.upcoming-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.upcoming-card-top {
  padding: 1.5rem; color: white; position: relative; min-height: 130px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.upcoming-card-top.ugadi   { background: linear-gradient(135deg, #E8A000, #FFB300); }
.upcoming-card-top.picnic  { background: linear-gradient(135deg, #1B5E20, #2E7D32); }
.upcoming-card-top.rajyotsava { background: linear-gradient(135deg, #8B1A1A, #B71C1C); }
.upcoming-countdown {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(0,0,0,0.3); backdrop-filter: blur(6px);
  border-radius: 8px; padding: 0.4rem 0.8rem; text-align: center;
}
.upcoming-countdown .days { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.upcoming-countdown .days-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.upcoming-date-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.2); border-radius: 100px;
  padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 0.5rem;
}
.upcoming-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; }
.upcoming-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.upcoming-meta { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.upcoming-meta-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--gray); }
.upcoming-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.6; flex: 1; margin-bottom: 1.2rem; }
.upcoming-rsvp {
  display: block; text-align: center; padding: 0.7rem;
  border-radius: 8px; font-weight: 600; font-size: 0.88rem;
  text-decoration: none; transition: opacity 0.2s;
  background: linear-gradient(135deg, var(--red), #A93226); color: white;
}
.upcoming-rsvp:hover { opacity: 0.85; }

/* ── SECTION COMMON ── */
section { padding: 6rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark); line-height: 1.2; margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; color: var(--gray); max-width: 560px; line-height: 1.7; }

/* ── ABOUT ── */
.about { background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--dark), var(--mid));
  padding: 3rem; text-align: center; min-height: 380px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px solid rgba(232,160,0,0.2);
}
.about-visual-symbol { font-size: 5rem; margin-bottom: 1rem; }
.about-visual-text { color: var(--gold); font-family: 'Noto Sans Kannada', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.about-visual-sub { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.about-visual-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--red); color: white; font-size: 0.7rem;
  font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 100px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.about-points { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.about-point { display: flex; gap: 1rem; align-items: flex-start; }
.about-point-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.about-point-text h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.about-point-text p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

/* ── EVENTS ── */
#events { background: var(--light); }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.event-card {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.event-card-header {
  padding: 2rem; color: white; position: relative;
}
.event-card-header.ugadi { background: linear-gradient(135deg, #E8A000, #FFB300); }
.event-card-header.picnic { background: linear-gradient(135deg, #1B5E20, #2E7D32); }
.event-card-header.rajyotsava { background: linear-gradient(135deg, #8B1A1A, #B71C1C); }
.event-month {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.8; margin-bottom: 0.5rem;
}
.event-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; }
.event-emoji { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; }
.event-card-body { padding: 1.5rem; }
.event-desc { font-size: 0.9rem; color: var(--gray); line-height: 1.6; margin-bottom: 1rem; }
.event-tag {
  display: inline-block; background: var(--light);
  color: var(--dark); font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.8rem; border-radius: 100px;
}

/* ── COMPETITIONS & ACTIVITIES ── */
#competitions { background: var(--white); padding-bottom: 1.5rem; }
#gallery { background: var(--light); padding-top: 1.5rem; }
.competitions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.competition-card {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
}
.competition-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.competition-card-header {
  padding: 1.5rem 2rem; color: white; position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
}
.competition-card-header.ugadi    { background: linear-gradient(135deg, #E8A000, #FFB300); }
.competition-card-header.picnic   { background: linear-gradient(135deg, #1B5E20, #2E7D32); }
.competition-card-header.rajyotsava { background: linear-gradient(135deg, #8B1A1A, #B71C1C); }
.competition-emoji { font-size: 2.2rem; }
.competition-event-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; background: rgba(255,255,255,0.25);
  padding: 0.2rem 0.6rem; border-radius: 100px;
}
.competition-card-body { padding: 1.5rem; }
.competition-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.6rem; }
.competition-desc { font-size: 0.9rem; color: var(--gray); line-height: 1.6; margin-bottom: 1rem; }
.competition-tag {
  display: inline-block; background: var(--light);
  color: var(--dark); font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.8rem; border-radius: 100px;
}
.competitions-note {
  margin-top: 2rem; text-align: center;
  font-size: 0.9rem; color: var(--gray); line-height: 1.7;
}

/* ── MEMBERSHIP ── */
.membership { background: var(--dark); }
.membership .section-title { color: white; }
.membership .section-sub { color: rgba(255,255,255,0.6); }
.membership .section-label { color: var(--gold); }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.plan-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 2rem; position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.plan-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.plan-card.featured {
  border-color: var(--gold);
  background: rgba(212,160,23,0.08);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--dark);
  font-size: 0.7rem; font-weight: 800; padding: 0.3rem 1rem;
  border-radius: 100px; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.plan-name { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.plan-price { font-size: 2.8rem; font-weight: 800; color: white; line-height: 1; }
.plan-price span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.5); }
.plan-desc { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0.8rem 0 1.5rem; line-height: 1.5; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.8rem; }
.plan-features li { font-size: 0.85rem; color: rgba(255,255,255,0.7); display: flex; gap: 0.6rem; align-items: center; }
.plan-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.plan-btn {
  display: block; text-align: center; padding: 0.75rem;
  border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: opacity 0.2s;
}
.plan-btn.gold { background: var(--gold); color: var(--dark); }
.plan-btn.outline { border: 1px solid rgba(255,255,255,0.2); color: white; }
.plan-btn:hover { opacity: 0.85; }
.plan-btn-mt { margin-top: 0.5rem; }

/* ── GET INVOLVED ── */
.involve { background: var(--light); }
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.involve-card {
  background: white; border-radius: 16px; padding: 2rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.involve-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.involve-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.involve-icon.red { background: rgba(192,57,43,0.1); }
.involve-icon.gold { background: rgba(212,160,23,0.1); }
.involve-icon.blue { background: rgba(52,152,219,0.1); }
.involve-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.involve-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* ── DONATE ── */
.donate { background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%); }
.donate .section-label { color: var(--gold); }
.donate .section-title { color: white; }
.donate .section-sub { color: rgba(255,255,255,0.65); }
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.donate-reasons { display: flex; flex-direction: column; gap: 1.2rem; }
.donate-reason { display: flex; gap: 1rem; align-items: flex-start; }
.donate-reason-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(212,160,23,0.15); border: 1px solid rgba(212,160,23,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.donate-reason-text h4 { font-size: 0.95rem; font-weight: 600; color: white; margin-bottom: 0.2rem; }
.donate-reason-text p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.donate-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(212,160,23,0.25);
  border-radius: 20px; padding: 2.5rem; text-align: center;
}
.donate-card-icon { font-size: 3rem; margin-bottom: 1rem; }
.donate-card h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: white; margin-bottom: 0.6rem; }
.donate-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 2rem; }
.donate-btn {
  display: inline-block; padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold), #B8860B);
  color: var(--dark); font-weight: 800; font-size: 1rem;
  border-radius: 10px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(212,160,23,0.35);
}
.donate-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(212,160,23,0.5); }
.donate-note { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 1rem; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-item-text h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 0.2rem; }
.contact-item-text p { font-size: 0.95rem; color: var(--dark); }
.contact-form { background: var(--light); border-radius: 20px; padding: 2.5rem; }
.contact-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group textarea, .form-group select {
  padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.9rem; font-family: inherit;
  background: white; transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; padding: 0.9rem; background: linear-gradient(135deg, var(--red), #A93226);
  color: white; border: none; border-radius: 8px; font-size: 0.95rem;
  font-weight: 600; cursor: pointer; font-family: inherit;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.85; }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(255,255,255,0.6);
  padding: 4rem 2rem 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto; }
.footer-brand .org-name { font-family: 'Noto Sans Kannada', sans-serif; font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 0.3rem; line-height: 1.4; }
.footer-brand .kannada { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-brand .tax { font-size: 0.75rem; margin-top: 1rem; color: rgba(255,255,255,0.35); }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: white; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; flex-wrap: wrap; gap: 1rem;
}
.social-links { display: flex; gap: 0.8rem; }
.social-link {
  border-radius: 8px; padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; gap: 0.4rem;
  justify-content: center; text-decoration: none; font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--red); color: white; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: rgba(28,10,0,0.98); backdrop-filter: blur(16px);
  z-index: 99; padding: 1.5rem 2rem 2rem;
  border-bottom: 1px solid rgba(232,160,0,0.2);
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 1.1rem; font-weight: 500; padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mobile-cta {
  margin-top: 1.2rem; text-align: center; padding: 0.9rem;
  background: linear-gradient(135deg, var(--red), #A93226);
  border-radius: 8px; font-weight: 700; color: white;
}

/* — GALLERY — */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.gallery-grid.gallery-carousel { display: block; }
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: var(--border);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: white; font-size: 0.78rem; padding: 1.5rem 0.75rem 0.6rem;
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-empty { text-align: center; color: var(--gray); margin-top: 2rem; font-size: 0.95rem; }
.gallery-empty.hidden { display: none; }

/* Gallery carousel mode */
.gallery-carousel { position: relative; border-radius: 16px; }
.gallery-carousel-wrapper { overflow: hidden; border-radius: 16px; width: 100%; position: relative; }
.gallery-carousel-track { display: flex; transition: transform 0.5s ease; }
.gallery-carousel-slide { min-width: 100%; width: 100%; flex-shrink: 0; position: relative; cursor: pointer; height: 500px; }
.gallery-carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-carousel-prev,
.gallery-carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); color: white; border: none;
  font-size: 1.5rem; padding: 0.6rem 1rem; cursor: pointer;
  border-radius: 6px; z-index: 2; transition: background 0.2s;
}
.gallery-carousel-prev { left: 1rem; }
.gallery-carousel-next { right: 1rem; }
.gallery-carousel-prev:hover,
.gallery-carousel-next:hover { background: rgba(0,0,0,0.7); }
.gallery-carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.gallery-carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer; transition: background 0.2s;
}
.gallery-carousel-dot.active { background: var(--red); }

/* Facebook feed */
.fb-feed { margin-top: 3rem; text-align: center; padding: 2.5rem; background: white; border-radius: 16px; border: 1px solid var(--border); }
.fb-feed-title { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.fb-feed-sub { color: var(--gray); font-size: 0.95rem; margin-bottom: 1.5rem; }
.fb-feed-btn { display: inline-block; background: #1877F2; color: white; padding: 0.75rem 2rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: background 0.2s; }
.fb-feed-btn:hover { background: #1565d8; }
.fb-feed-frame { display: flex; justify-content: center; }
.form-success { text-align: center; padding: 2rem; font-size: 1.1rem; color: var(--green); font-weight: 600; }

/* Lightbox */
.gallery-lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.92); z-index: 1000;
  align-items: center; justify-content: center;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img {
  max-width: 90vw; max-height: 88vh;
  border-radius: 8px; object-fit: contain;
}
.gallery-lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  color: white; font-size: 2rem; cursor: pointer;
  background: none; border: none; line-height: 1;
}
.gallery-lightbox-caption {
  position: absolute; bottom: 1.5rem;
  color: rgba(255,255,255,0.8); font-size: 0.9rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 2.5rem; }
  .donate-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .events-grid, .plans-grid, .involve-grid, .upcoming-grid, .competitions-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 4rem 1.5rem; }
}
@media (max-width: 600px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 1.2rem; }
  .nav-logo-text .org { font-size: 0.85rem; }
  .nav-logo-text .sub { font-size: 0.65rem; }
  .nav-logo-img { width: 56px; height: 56px; }
  .carousel { height: 100svh; min-height: 560px; }
  .carousel-content {
    padding: calc(70px + 1rem) 1.2rem 2rem;
    justify-content: center;
    overflow-y: hidden;
  }
  .carousel-content p { font-size: 0.88rem; margin-bottom: 1rem; }
  .hero-kannada { font-size: 1.8rem; margin-bottom: 0.4rem; }
  .carousel-content h1 { font-size: 1.3rem; margin-bottom: 0.8rem; }
  .hero-badge { font-size: 0.7rem; margin-bottom: 1rem; }
  .hero-btns { gap: 0.6rem; margin-bottom: 0; }
  .btn-primary, .btn-outline { padding: 0.65rem 1.2rem; font-size: 0.85rem; }
  .hero-stats { display: none; }
  .carousel-prev { left: 0.6rem; width: 38px; height: 38px; font-size: 1rem; line-height: 1; }
  .carousel-next { right: 0.6rem; width: 38px; height: 38px; font-size: 1rem; line-height: 1; }
  section { padding: 3rem 1.2rem; }
  .section-sub { font-size: 0.95rem; }
  .events-grid, .plans-grid, .involve-grid, .upcoming-grid, .competitions-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-carousel-slide { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .about-visual { min-height: 260px; }
  .about-visual-text { font-size: 1.3rem; }
  .plan-badge { font-size: 0.65rem; padding: 0.25rem 0.8rem; }
  .donate-card { padding: 1.8rem 1.2rem; }
  .donate-btn { padding: 0.9rem 1.5rem; font-size: 0.9rem; }
  .contact-form { padding: 1.5rem 1.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}
