/* ==========================================================
   Chethan Gowda — Official Portfolio
   Stylesheet (cleaned & deduplicated)
   ========================================================== */

:root {
  /* Indian flag palette */
  --saffron: #FF9933;
  --saffron-deep: #E07B1F;
  --saffron-soft: #FFF4E6;
  --white: #FFFFFF;
  --green: #138808;
  --green-deep: #0E6606;
  --green-soft: #E8F5E8;
  --navy: #000080;
  --navy-soft: #E6E6F5;

  /* Neutrals */
  --ink: #0A0A0A;
  --ink-soft: #4A4A4A;
  --ink-mute: #8A8A8A;
  --line: #EAEAEA;
  --line-soft: #F5F5F5;
  --bg: #FFFFFF;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-saffron: 0 16px 40px rgba(255, 153, 51, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.kannada { font-family: 'Noto Sans Kannada', sans-serif; }

/* Kannada mode font swap */
body.kannada-mode,
body.kannada-mode h1,
body.kannada-mode h2,
body.kannada-mode h3,
body.kannada-mode h4,
body.kannada-mode p,
body.kannada-mode a,
body.kannada-mode span,
body.kannada-mode div,
body.kannada-mode button,
body.kannada-mode label,
body.kannada-mode input,
body.kannada-mode textarea,
body.kannada-mode select,
body.kannada-mode option {
  font-family: 'Noto Sans Kannada', 'Poppins', sans-serif;
}
body.kannada-mode .stat-num,
body.kannada-mode .hero-stat-num,
body.kannada-mode .event-day,
body.kannada-mode .em-num,
body.kannada-mode .timeline-year:not([data-en="Today"]),
body.kannada-mode .nav-logo .emblem-text,
body.kannada-mode .testimonial-avatar,
body.kannada-mode .work-meta {
  font-family: 'Poppins', sans-serif;
}
body.kannada-mode em { font-style: normal; font-weight: 700; }

/* ===== Tricolor accent bar ===== */
.tricolor-bar {
  display: flex;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  width: 60px;
  flex-shrink: 0;
}
.tricolor-bar > div:nth-child(1) { background: var(--saffron); flex: 1; }
.tricolor-bar > div:nth-child(2) {
  background: var(--white); flex: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tricolor-bar > div:nth-child(3) { background: var(--green); flex: 1; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.nav.scrolled {
  padding: 12px 5vw;
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo .emblem {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  background: linear-gradient(180deg,
    var(--saffron) 0%, var(--saffron) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--green) 66%, var(--green) 100%);
  position: relative;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.nav-logo .emblem::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.nav-logo .emblem-text {
  position: relative;
  z-index: 1;
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--saffron-deep); }
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--saffron-deep);
  transform: translateY(-1px);
}
.lang-toggle {
  background: transparent;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  transition: all 0.2s;
}
.lang-toggle:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5vw 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('./img/chethan03.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero-stripe {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 12px;
  z-index: -1;
  background: linear-gradient(180deg,
    var(--saffron) 0%, var(--saffron) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--green) 66%, var(--green) 100%);
}
.hero-stripe::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--navy);
}

@keyframes spin { to { transform: rotate(360deg); } }
.hero-content-wrap { width: 100%; }
.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
  color: var(--white);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Marquee strip ===== */
.marquee {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
  border-top: 4px solid var(--saffron);
  border-bottom: 4px solid var(--green);
}
.marquee-inner { padding: 18px 0; }
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  font-style: italic;
  font-size: 1.1rem;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 60px;
}
.marquee-track span::after {
  content: '✦';
  color: var(--saffron);
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Section base ===== */
section { position: relative; z-index: 2; }
.section {
  padding: 110px 5vw;
  background: var(--white);
}
.section.alt { background: var(--line-soft); }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 20px;
  max-width: 820px;
}
.section-title em {
  font-style: italic;
  color: var(--saffron-deep);
}
.section-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 60px;
  line-height: 1.6;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--saffron), var(--white) 50%, var(--green));
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px; top: 6px;
  width: 14px; height: 14px;
  background: var(--saffron);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--saffron);
}
.timeline-item:nth-child(3n+2)::before {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}
.timeline-item:nth-child(3n)::before {
  background: var(--navy);
  box-shadow: 0 0 0 2px var(--navy);
}
.timeline-year {
  font-weight: 800;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--saffron-deep);
}
.timeline-title {
  font-weight: 600;
  font-size: 1.15rem;
  margin: 4px 0;
}
.timeline-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.value-card {
  background: var(--white);
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.value-card:nth-child(1)::before { background: var(--saffron); }
.value-card:nth-child(2)::before { background: var(--green); }
.value-card:nth-child(3)::before { background: var(--navy); }
.value-card:nth-child(4)::before { background: var(--saffron); }
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.value-icon {
  width: 44px; height: 44px;
  background: var(--line-soft);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 1.4rem;
}
.value-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ===== Stats ===== */
.stats {
  background: var(--white);
  padding: 80px 5vw;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-block { position: relative; }
.stat-block::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 3px;
  border-radius: 2px;
}
.stat-block:nth-child(1)::before { background: var(--saffron); }
.stat-block:nth-child(2)::before { background: var(--green); }
.stat-block:nth-child(3)::before { background: var(--navy); }
.stat-block:nth-child(4)::before { background: var(--saffron); }
.stat-num {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--ink);
  line-height: 1;
  margin: 24px 0 8px;
}
.stat-num::after {
  content: '+';
  color: var(--saffron);
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ===== Development Works ===== */
/* .works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid var(--line);
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.work-image {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--line-soft);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 800;
}
.work-card:nth-child(1) .work-image { background-image: url('./1.jpg'); }
.work-card:nth-child(2) .work-image { background-image: url('./5.jpg'); }
.work-card:nth-child(3) .work-image { background-image: url('./9.jpg'); }
.work-card:nth-child(4) .work-image { background-image: url('./6.jpg'); }
.work-card:nth-child(5) .work-image { background-image: url('./3.jpg'); }
.work-card:nth-child(6) .work-image { background-image: url('./7.jpg'); }
.work-status {
  position: absolute;
  bottom: 14px; right: 14px;
  background: var(--green);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.work-status.work-status-ongoing { background: #c2410c; }
.work-body { padding: 26px; }
.work-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.work-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.work-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--saffron-deep);
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
} */

/* ===== Development Works ===== */
    .works-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
 
    .work-card {
        background: var(--white);
        border-radius: 18px;
        overflow: hidden;
        transition: all 0.3s;
        border: 1px solid var(--line);
    }
 
    .work-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: transparent;
    }
 
    /* Slideshow image area */
    .work-image {
        aspect-ratio: 4/3;
        position: relative;
        overflow: hidden;
        background-color: var(--line-soft);
    }
 
    .work-image .slide {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 0.6s ease;
    }
 
    .work-image .slide.active {
        opacity: 1;
    }
 
    /* Slideshow dots indicator */
    .work-dots {
        position: absolute;
        bottom: 12px;
        left: 14px;
        display: flex;
        gap: 5px;
        z-index: 2;
    }
 
    .work-dots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: all 0.3s;
    }
 
    .work-dots span.active {
        background: #fff;
        width: 18px;
        border-radius: 3px;
    }
 
    .work-status {
        position: absolute;
        bottom: 14px;
        right: 14px;
        background: var(--green);
        color: white;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        z-index: 2;
    }
 
    .work-status.ongoing {
        background: #c2410c;
    }
 
    .work-body {
        padding: 26px;
    }
 
    .work-body h3 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }
 
    .work-body p {
        color: var(--ink-soft);
        font-size: 0.95rem;
        margin-bottom: 14px;
    }
 
    .work-meta {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        font-size: 0.85rem;
        color: var(--saffron-deep);
        font-weight: 600;
        padding-top: 14px;
        border-top: 1px dashed var(--line);
    }
 
    /* View More button */
    .works-cta {
        display: flex;
        justify-content: center;
        margin-top: 56px;
    }
 
    .view-more-btn {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 16px 36px;
        background: var(--ink);
        color: var(--white);
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.25s;
        position: relative;
        overflow: hidden;
    }
 
    .view-more-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,
                var(--saffron) 0%, var(--saffron) 33%,
                var(--white) 33%, var(--white) 66%,
                var(--green) 66%, var(--green) 100%);
        opacity: 0;
        transition: opacity 0.3s;
        z-index: 0;
    }
 
    .view-more-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
 
    .view-more-btn:hover::before {
        opacity: 0.15;
    }
 
    .view-more-btn span,
    .view-more-btn svg {
        position: relative;
        z-index: 1;
    }
 
    .view-more-btn .arrow {
        transition: transform 0.25s;
    }
 
    .view-more-btn:hover .arrow {
        transform: translateX(4px);
    }
 
    @media (max-width: 980px) {
        .works-grid {
            grid-template-columns: 1fr 1fr;
        }
    }
 
    @media (max-width: 580px) {
        .works-grid {
            grid-template-columns: 1fr;
        }
    }
/* ===== MLA Achievements Section ===== */
/* .achievements-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.achievements-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--saffron) 0%, var(--saffron) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--green) 66%, var(--green) 100%);
}
.mla-hero {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding: 40px;
  background: linear-gradient(135deg, var(--saffron-soft) 0%, var(--white) 50%, var(--green-soft) 100%);
  border-radius: 24px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.mla-hero::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 51, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.mla-photo-frame {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.mla-photo-frame::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, var(--saffron), var(--green));
  z-index: -1;
  border-radius: 20px;
}
.mla-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mla-photo-frame .photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 4rem;
}
.mla-intro h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  line-height: 1.15;
}
.mla-intro h3 em {
  font-style: italic;
  color: var(--saffron-deep);
}
.mla-intro p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.mla-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mla-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.mla-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--saffron);
}
.mla-badge:nth-child(2) .mla-badge-dot { background: var(--green); }
.mla-badge:nth-child(3) .mla-badge-dot { background: var(--navy); }
.mla-badge:nth-child(4) .mla-badge-dot { background: var(--saffron-deep); } */

/* Achievement cards grid */
/* .achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.achievement-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.achievement-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--saffron);
  z-index: 2;
}
.achievement-card:nth-child(3n+2)::before { background: var(--green); }
.achievement-card:nth-child(3n)::before { background: var(--navy); }
.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.achievement-image {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--line-soft);
}
.achievement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.achievement-card:hover .achievement-image img {
  transform: scale(1.05);
}
.achievement-image .img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 800;
  font-size: 1.5rem;
}
.achievement-card:nth-child(3n+2) .img-placeholder {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
}
.achievement-card:nth-child(3n) .img-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, #1a1a99 100%);
}
.achievement-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}
.achievement-body {
  padding: 24px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.achievement-body h4 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--ink);
}
.achievement-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.achievement-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--saffron-deep);
  font-weight: 600;
}
.achievement-meta .meta-icon { font-size: 1rem; } */


/* ===== MLA Achievements Section ===== */
    .achievements-section {
        background: var(--white);
        position: relative;
        overflow: hidden;
    }
 
    .achievements-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg,
                var(--saffron) 0%, var(--saffron) 33%,
                var(--white) 33%, var(--white) 66%,
                var(--green) 66%, var(--green) 100%);
    }
 
    /* ====== MLA Hero (your existing block — unchanged) ====== */
    .mla-hero {
        display: grid;
        grid-template-columns: 380px 1fr;
        gap: 60px;
        align-items: center;
        margin-bottom: 80px;
        padding: 40px;
        background: linear-gradient(135deg, var(--saffron-soft) 0%, var(--white) 50%, var(--green-soft) 100%);
        border-radius: 24px;
        border: 1px solid var(--line);
        position: relative;
        overflow: hidden;
    }
    .mla-hero::after {
        content: '';
        position: absolute;
        top: -100px; right: -100px;
        width: 300px; height: 300px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 153, 51, 0.08) 0%, transparent 70%);
        pointer-events: none;
    }
    .mla-photo-frame {
        position: relative;
        aspect-ratio: 3/4;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        border: 4px solid var(--white);
    }
    .mla-photo-frame::before {
        content: '';
        position: absolute;
        inset: -4px;
        background: linear-gradient(135deg, var(--saffron), var(--green));
        z-index: -1;
        border-radius: 20px;
    }
    .mla-photo-frame img {
        width: 100%; height: 100%;
        object-fit: cover;
        display: block;
    }
    .mla-photo-frame .photo-placeholder {
        width: 100%; height: 100%;
        background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
        display: grid; place-items: center;
        color: var(--white);
        font-weight: 800;
        font-size: 4rem;
    }
    .mla-intro h3 {
        font-size: clamp(1.8rem, 3vw, 2.4rem);
        margin-bottom: 16px;
        line-height: 1.15;
    }
    .mla-intro h3 em { font-style: italic; color: var(--saffron-deep); }
    .mla-intro p {
        color: var(--ink-soft);
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 24px;
    }
    .mla-badges { display: flex; flex-wrap: wrap; gap: 10px; }
    .mla-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 30px;
        font-size: 0.88rem;
        font-weight: 500;
        color: var(--ink);
    }
    .mla-badge-dot {
        width: 8px; height: 8px;
        border-radius: 50%;
        background: var(--saffron);
    }
    .mla-badge:nth-child(2) .mla-badge-dot { background: var(--green); }
    .mla-badge:nth-child(3) .mla-badge-dot { background: var(--navy); }
    .mla-badge:nth-child(4) .mla-badge-dot { background: var(--saffron-deep); }
 
    /* ====== MLA Achievement Cards Grid ====== */
    .ach-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-bottom: 50px;
    }
 
    .ach-card {
        background: var(--white);
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid var(--line);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        position: relative;
    }
 
    .ach-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: transparent;
    }
 
    /* Top colored accent strip — changes per category */
    .ach-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--saffron);
        z-index: 3;
    }
    .ach-card[data-category="education"]::before     { background: var(--green); }
    .ach-card[data-category="infrastructure"]::before { background: var(--navy); }
    .ach-card[data-category="welfare"]::before        { background: #7C3AED; }
    .ach-card[data-category="sports"]::before         { background: #c2410c; }
    .ach-card[data-category="women"]::before          { background: #d4377e; }
 
    /* Image area */
    .ach-img {
        aspect-ratio: 16/10;
        position: relative;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
 
    /* Default gradient fallback when image is missing */
    .ach-card[data-category="healthcare"] .ach-img {
        background-image: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
    }
    .ach-card[data-category="education"] .ach-img {
        background-image: linear-gradient(135deg, var(--green), var(--green-deep));
    }
    .ach-card[data-category="infrastructure"] .ach-img {
        background-image: linear-gradient(135deg, var(--navy), #1a1a99);
    }
    .ach-card[data-category="welfare"] .ach-img {
        background-image: linear-gradient(135deg, #7C3AED, #5B21B6);
    }
    .ach-card[data-category="sports"] .ach-img {
        background-image: linear-gradient(135deg, #c2410c, #9a3412);
    }
    .ach-card[data-category="women"] .ach-img {
        background-image: linear-gradient(135deg, #d4377e, #99355c);
    }
 
    /* Category tag (top-left overlay on image) */
    .ach-tag {
        position: absolute;
        top: 14px;
        left: 14px;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(8px);
        color: white;
        padding: 6px 13px;
        border-radius: 20px;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        z-index: 2;
    }
 
    /* Body content below image */
    .ach-body {
        padding: 22px 24px 24px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
 
    .ach-title {
        font-family: 'Poppins', sans-serif;
        font-size: 1.15rem;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 10px;
        color: var(--ink);
    }
 
    .ach-desc {
        color: var(--ink-soft);
        font-size: 0.92rem;
        line-height: 1.6;
        flex: 1;
        margin-bottom: 14px;
    }
 
    .ach-meta {
        font-size: 0.83rem;
        color: var(--saffron-deep);
        font-weight: 600;
        padding-top: 12px;
        border-top: 1px dashed var(--line);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: auto;
    }
 
    .ach-meta::before {
        content: '📍';
        font-size: 0.9rem;
    }
 
    /* ====== View All Button ====== */
    .achievements-cta {
        display: flex;
        justify-content: center;
        margin-top: 50px;
    }
 
    .view-all-achievements {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 16px 36px;
        background: var(--ink);
        color: var(--white);
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.25s ease;
    }
 
    .view-all-achievements:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        background: var(--saffron-deep);
    }
 
    .view-all-achievements .arrow {
        transition: transform 0.25s;
    }
 
    .view-all-achievements:hover .arrow {
        transform: translateX(4px);
    }
 
    /* ====== Tablet (≤980px) ====== */
    @media (max-width: 980px) {
        .ach-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
    }
 
    /* ====== Mobile (≤580px) ====== */
    @media (max-width: 580px) {
        .ach-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }
        .ach-body { padding: 18px 20px 20px; }
        .ach-title { font-size: 1.05rem; }
        .ach-desc { font-size: 0.88rem; }
        .view-all-achievements {
            padding: 14px 28px;
            font-size: 0.92rem;
        }
    }

/* ===== Map ===== */
.map-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.custom-map {
  width: 100%;
  max-width: 1400px;
  height: auto;
  display: block;
  border-radius: 20px;
}
.map-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}
.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.05);
}

/* Map markers */
.marker {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
}
.marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.green .marker-dot { background: #138808; }
.orange .marker-dot { background: #FF9933; }
.red .marker-dot { background: #b91c1c; }
.blue .marker-dot { background: #000080; }
.pulse {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: pulseAnim 2s infinite;
  opacity: 0.4;
}
.green .pulse { background: #138808; }
.orange .pulse { background: #FF9933; }
.red .pulse { background: #b91c1c; }
.blue .pulse { background: #000080; }
@keyframes pulseAnim {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}
.marker-card {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 220px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 10;
}
.marker-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.marker-card h4 {
  font-size: 16px;
  padding: 12px 14px 4px;
  margin: 0;
  font-weight: 600;
}
.marker-card p {
  font-size: 13px;
  line-height: 1.5;
  padding: 0 14px 14px;
  margin: 0;
  color: #666;
}
.marker:hover .marker-card,
.marker.active .marker-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.marker-tooltip {
  position: absolute;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  transform: translate(-50%, -130%);
  white-space: nowrap;
  z-index: 10;
}
.marker-tooltip.show { opacity: 1; }

/* ===== Complaint Section ===== */
.complaint-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.complaint-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--saffron) 0%, var(--saffron) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--green) 66%, var(--green) 100%);
}
.complaint-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.complaint-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.cat-pill {
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.2s;
}
.cat-pill:hover {
  border-color: var(--saffron);
  background: var(--saffron-soft);
}

/* Form card */
.form-card {
  background: var(--white);
  padding: 36px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--saffron) 0%, var(--saffron) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--green) 66%, var(--green) 100%);
}
.form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  padding-top: 8px;
}
.form-card > p {
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  transition: all 0.2s;
  color: var(--ink);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--ink-mute); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px var(--saffron-soft);
}
.form-row textarea {
  resize: vertical;
  min-height: 100px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

/* Button base */
.btn-primary,
.btn-secondary {
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--saffron);
  color: var(--white);
  box-shadow: var(--shadow-saffron);
}
.btn-primary:hover {
  background: var(--saffron-deep);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255, 153, 51, 0.35);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: var(--white);
  transform: translateY(-2px);
}
.btn-wa {
  background: #25d366 !important;
  color: white !important;
}
.btn-wa:hover { background: #128c7e !important; }

/* Image upload */
.upload-area {
  display: block;
  border: 2px dashed var(--line);
  border-radius: 12px;
  background: var(--line-soft);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.upload-area:hover {
  border-color: var(--saffron);
  background: var(--saffron-soft);
}
.upload-area input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.upload-prompt {
  padding: 28px 20px;
  text-align: center;
}
.upload-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
  line-height: 1;
}
.upload-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.upload-hint {
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.upload-preview {
  position: relative;
  padding: 12px;
  background: var(--white);
}
.upload-preview img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.upload-filename {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  font-weight: 500;
  word-break: break-all;
}
.upload-remove-btn {
  margin-top: 10px;
  width: 100%;
  padding: 11px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.upload-remove-btn:hover {
  background: #b91c1c;
  color: white;
}

/* Location capture */
.location-box {
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.location-btn {
  width: 100%;
  padding: 14px 20px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}
.location-btn:hover {
  border-color: var(--saffron);
  background: var(--saffron-soft);
}
.location-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.location-icon { font-size: 1.2rem; }
.location-result {
  background: var(--green-soft);
  border: 1px solid var(--green);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.location-success {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-deep);
}
.location-check {
  width: 22px; height: 22px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
}
.location-coords {
  font-size: 0.85rem;
  color: var(--ink-soft);
  word-break: break-all;
}
.location-coords a {
  color: var(--saffron-deep);
  font-weight: 600;
  text-decoration: none;
}
.location-clear {
  position: absolute;
  top: 12px; right: 12px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--ink-soft);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.location-clear:hover { color: #b91c1c; }
.location-error {
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: #b91c1c;
  margin-top: 10px;
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  position: relative;
  border: 1px solid var(--line);
  border-left: 4px solid var(--saffron);
  transition: all 0.25s;
}
.testimonial:nth-child(2) { border-left-color: var(--green); }
.testimonial:nth-child(3) { border-left-color: var(--navy); }
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px; right: 24px;
  font-size: 5rem;
  color: var(--saffron);
  line-height: 1;
  opacity: 0.25;
  font-weight: 900;
}
.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--ink-soft);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial:nth-child(2) .testimonial-avatar {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
}
.testimonial:nth-child(3) .testimonial-avatar {
  background: linear-gradient(135deg, var(--navy), #1a1a99);
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.98rem;
}
.testimonial-meta {
  font-size: 0.82rem;
  color: var(--ink-mute);
}

/* ===== Events ===== */
.events-list {
  display: grid;
  gap: 16px;
}
.event-card {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--white);
  padding: 24px 28px;
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.event-card:hover {
  border-color: var(--saffron);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.event-date {
  text-align: center;
  border-right: 1px dashed var(--line);
  padding-right: 24px;
}
.event-day {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--saffron-deep);
  line-height: 1.2;
  text-transform: capitalize;
}
.event-card:nth-child(3n+2) .event-day { color: var(--green-deep); }
.event-card:nth-child(3n) .event-day { color: var(--navy); }
.event-month {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  color: var(--ink-soft);
  font-weight: 600;
}
.event-body h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.event-body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.event-time {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--saffron-deep);
  padding: 6px 14px;
  background: var(--saffron-soft);
  border-radius: 20px;
  white-space: nowrap;
}

/* ===== Emergency ===== */
.emergency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.emergency-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all 0.25s;
  text-decoration: none;
  color: var(--ink);
  display: block;
  position: relative;
  overflow: hidden;
}
.emergency-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--saffron);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.emergency-card:nth-child(3n+2)::before { background: var(--green); }
.emergency-card:nth-child(3n)::before { background: var(--navy); }
.emergency-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.emergency-card:hover::before { transform: scaleX(1); }
.em-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.em-label {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.em-num {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink);
}

/* ===== Volunteer ===== */
.volunteer-section {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.volunteer-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--saffron) 0%, var(--saffron) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--green) 66%, var(--green) 100%);
}
.volunteer-section::after {
  content: 'JOIN';
  position: absolute;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(180px, 30vw, 420px);
  color: rgba(255, 153, 51, 0.06);
  top: 50%; right: -3%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}
.volunteer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}
.volunteer-info .section-tag { color: var(--saffron); }
.volunteer-info .section-title { color: var(--white); }
.volunteer-info .section-sub { color: rgba(255, 255, 255, 0.75); }
.volunteer-perks {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.perk-check {
  width: 28px; height: 28px;
  background: var(--saffron);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--line-soft);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  transition: transform 0.3s;
}
.gallery-item:nth-child(3n+2) { background-image: url('./1.jpg'); }
.gallery-item:nth-child(3n) { background-image: url('./4.jpg'); }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.tall {
  grid-row: span 2;
  background-image: url('./5.jpg');
}
.gallery-item.wide {
  grid-column: span 2;
  background-image: url('./7.jpg');
}



/* ===== Contact / Footer ===== */
.contact-section {
  background: var(--ink);
  color: var(--white);
  padding: 80px 5vw 40px;
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--saffron) 0%, var(--saffron) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--green) 66%, var(--green) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.contact-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--white);
}
.contact-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  font-size: 0.95rem;
  max-width: 540px;
}
.social-row {
  display: flex;
  gap: 12px;
}
.social-row a {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 700;
}
.social-row a:hover { background: var(--saffron); }
.contact-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  color: var(--saffron);
  font-weight: 700;
}
.contact-col ul { list-style: none; }
.contact-col li { margin-bottom: 10px; }
.contact-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.contact-col a:hover { color: var(--saffron); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
  color: var(--saffron);
  text-decoration: none;
}
.footer-bottom a:hover { text-decoration: underline; }

/* ===== Floating Complaint Button ===== */
.float-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 99;
    animation: pulse-wa 2.5s infinite;
}

@keyframes pulse-wa {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0);
    }
}

/* Tooltip label — sits above the button */
.float-wa-tooltip {
    position: absolute;
    bottom: 72px;
    right: 0;
    background: var(--ink);
    color: white;
    padding: 9px 16px;
    border-radius: 22px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    animation: tooltipBounce 2.5s ease-in-out infinite;
    pointer-events: none;
}

/* Little arrow pointing down from tooltip */
.float-wa-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 24px;
    width: 10px;
    height: 10px;
    background: var(--ink);
    transform: rotate(45deg);
    border-radius: 2px;
}

@keyframes tooltipBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Mobile: smaller tooltip */
@media (max-width: 580px) {
    .float-wa-tooltip {
        font-size: 0.72rem;
        padding: 7px 12px;
        bottom: 68px;
    }
}
/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Page Loader ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}
.page-loader::before,
.page-loader::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--saffron) 0%, var(--saffron) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--green) 66%, var(--green) 100%);
}
.page-loader::before { top: 0; }
.page-loader::after { bottom: 0; }
.loader-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 153, 51, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 70%, rgba(19, 136, 8, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.loader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: loaderEnter 0.8s ease;
}
@keyframes loaderEnter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.loader-chakra-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 36px;
}
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--saffron);
  opacity: 0;
  animation: ringPulse 2.5s ease-out infinite;
}
.loader-ring:nth-child(2) {
  animation-delay: 0.6s;
  border-color: var(--green);
}
.loader-ring:nth-child(3) {
  animation-delay: 1.2s;
  border-color: var(--navy);
}
@keyframes ringPulse {
  0% { transform: scale(0.85); opacity: 0; }
  20% { opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.loader-chakra {
  position: absolute;
  inset: 20px;
  animation: chakraSpin 4s linear infinite;
}
@keyframes chakraSpin { to { transform: rotate(360deg); } }
.loader-emblem {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 150px; height: 150px;
  border-radius: 50%;
  background: linear-gradient(180deg,
    var(--saffron) 0%, var(--saffron) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--green) 66%, var(--green) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: grid;
  place-items: center;
  z-index: 2;
}
.loader-emblem::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.loader-emblem-text {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.loader-name {
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-align: center;
  animation: fadeUpLoader 1s ease 0.3s both;
}
.loader-tagline {
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  text-align: center;
  animation: fadeUpLoader 1s ease 0.5s both;
}
.loader-tagline em {
  color: var(--saffron-deep);
  font-style: italic;
  font-weight: 600;
}
@keyframes fadeUpLoader {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.loader-progress {
  width: 260px;
  max-width: 80vw;
  height: 4px;
  background: var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  animation: fadeUpLoader 1s ease 0.7s both;
}
.loader-progress-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: linear-gradient(90deg,
    var(--saffron) 0%, var(--saffron) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--green) 66%, var(--green) 100%);
  animation: progressFill 3.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes progressFill {
  0% { right: 100%; }
  100% { right: 0%; }
}
.loader-progress-text {
  margin-top: 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-align: center;
  font-weight: 500;
  animation: fadeUpLoader 1s ease 0.9s both;
}
body.loading { overflow: hidden; }


/* ============================================================
   RESPONSIVE — TABLET (max-width: 980px)
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }

  .hero {
    min-height: 100vh;
    padding: 100px 5vw 60px;
  }
  .hero-bg {
    background-size: cover;
    background-position: center;
  }

  .about-grid,
  .complaint-grid,
  .volunteer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .works-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid,
  .emergency-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .event-card { grid-template-columns: 100px 1fr; }
  .event-time { grid-column: 2; justify-self: start; }

  /* MLA Hero */
  .mla-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px;
    text-align: center;
  }
  .mla-photo-frame {
    max-width: 300px;
    margin: 0 auto;
  }
  .mla-badges { justify-content: center; }
  .ach-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 580px)
   ============================================================ */
@media (max-width: 580px) {
  .section { padding: 70px 5vw; }
  .stats { padding: 60px 5vw; }


    .hero{
    min-height: auto;
    padding: 80px 0px 10px;
    background: green;
  }

  .hero-bg{
  background-image: url('./img/chethan-img.png');
    position: relative;
    width: 100%;
    height: 220px;
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    margin-top: 1px;
  }

  .hero-content{
    margin-top: 20px;
    position: relative;
    z-index: 2;
  }

  .hero-stripe{
    display: none;
  }

  .works-grid,
  .testimonial-grid,
  .stats-grid,
  .emergency-grid,
  .gallery-grid,
  .ach-grid  {
    grid-template-columns: 1fr;
  }

  .stats-grid { gap: 30px; }

  .gallery-grid { grid-auto-rows: 200px; }
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .form-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .complaint-categories { grid-template-columns: 1fr; }

  .nav-cta,
  .lang-toggle { display: none; }

  .form-card { padding: 24px; }

  .mla-hero { padding: 20px; }

  .event-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .event-date {
    border-right: none;
    border-bottom: 1px dashed var(--line);
    padding-right: 0;
    padding-bottom: 14px;
  }
  .event-time { justify-self: center; grid-column: auto; }

  .map-legend { padding: 16px; gap: 14px; }
  .legend-item { font-size: 0.85rem; }

  .marker-card { width: 180px; }

  .contact-section { padding: 60px 5vw 30px; }
  .footer-bottom { text-align: center; justify-content: center; }
}

/* Remove link styling from work cards */
.work-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.work-card-link:hover,
.work-card-link:visited,
.work-card-link:active {
    text-decoration: none;
    color: inherit;
}

.work-card-link h3,
.work-card-link p,
.work-card-link span,
.work-card-link .work-meta {
    text-decoration: none !important;
    color: inherit;
}

/* Title color stays dark */
.work-card-link h3 {
    color: var(--ink);
}

/* Description stays soft gray */
.work-card-link p {
    color: var(--ink-soft);
}

/* Date stays saffron */
.work-card-link .work-meta span {
    color: var(--saffron-deep);
}

/* Force MLA section visible on mobile (fix for iPhone) */
@media (max-width: 580px) {
    #achievements,
    #achievements.reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .achievements-section {
        background: var(--white);
        padding: 70px 5vw;
        display: block !important;
    }

    .ach-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .ach-card {
        display: flex !important;
        flex-direction: column;
        width: 100%;
    }

    .mla-hero {
        display: grid !important;
        grid-template-columns: 1fr;
    }
}


  .scroll-top-btn {
  position: fixed;
  bottom: 140px;   /* sits above the WhatsApp button */
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: var(--saffron, #FF9933);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  display: none;              /* hidden until user scrolls down */
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity 0.3s, transform 0.2s;
}
.scroll-top-btn:hover {
  transform: translateY(-3px);
}
.scroll-top-btn.show {
  display: flex;
}