/* =========================================================
   BETA — Bengaluru Telugu Association
   Design system: "Civic Charter" — navy & gold institutional
   warmth, paired with Telugu heritage colour and a Vidhana
   Soudha skyline motif carried through as the signature mark.
   ========================================================= */

:root{
  /* --- colour --- */
  --navy:        #0E2A47;
  --navy-deep:   #081A2E;
  --navy-tint:   #16385C;
  --saffron:     #F0921C;
  --saffron-2:   #FFB65C;
  --teal:        #157A68;
  --leaf:        #5B9A34;
  --maroon:      #9C3B23;
  --parchment:   #FBF3E1;
  --parchment-2: #F5E9CE;
  --card:        #FFFDF8;
  --ink:         #1C2430;
  --ink-muted:   #5B6472;
  --line:        rgba(14,42,71,0.14);
  --line-soft:   rgba(14,42,71,0.08);
  --on-navy:     #F3E9D6;
  --on-navy-muted: #B7C4D6;
  --shadow-card: 0 18px 40px rgba(14,42,71,0.10);
  --shadow-lift: 0 24px 60px rgba(14,42,71,0.16);
  --radius-lg:   28px;
  --radius-md:   18px;
  --radius-sm:   12px;
  --container:   1180px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:'Manrope', sans-serif;
  background:var(--parchment);
  color:var(--ink);
  overflow-x:hidden;
  min-height:100vh;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
button{ font-family:inherit; }

h1,h2,h3,h4{
  font-family:'Fraunces', serif;
  font-weight:600;
  letter-spacing:-0.01em;
  color:var(--navy);
}

.container{
  width:min(100% - 40px, var(--container));
  margin-inline:auto;
}

.section{
  position:relative;
  padding:100px 0;
}
@media (max-width:820px){
  .section{ padding:70px 0; }
}

.section-head{
  max-width:760px;
  margin-bottom:44px;
}
.section-head.center{
  margin-inline:auto;
  text-align:center;
}
.section-head h2{
  font-size:clamp(1.9rem, 3.6vw, 2.9rem);
  line-height:1.12;
  margin-bottom:14px;
}
.section-head p{
  color:var(--ink-muted);
  font-size:1.05rem;
  line-height:1.75;
}

/* --- eyebrow / "article" label: a charter's own numbering, not decoration --- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:'IBM Plex Mono', monospace;
  font-size:.74rem;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--saffron);
  margin-bottom:16px;
}
.eyebrow::before{
  content:"";
  width:26px;
  height:1px;
  background:var(--saffron);
  display:inline-block;
}
.eyebrow.on-navy{ color:var(--saffron-2); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.header{
  position:fixed;
  top:0; left:0; width:100%;
  z-index:1000;
  transition:.3s ease;
  background:rgba(11,31,53,0);
}
.header.scrolled{
  background:rgba(9,26,46,.92);
  backdrop-filter:blur(10px) saturate(140%);
  box-shadow:0 6px 24px rgba(0,0,0,.18);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:86px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height:48px; width:auto; }
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}
.brand-text strong{
  font-family:'Fraunces', serif;
  font-size:1.05rem;
  color:#fff;
  letter-spacing:.01em;
}
.brand-text span{
  font-family:'IBM Plex Mono', monospace;
  font-size:.62rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--on-navy-muted);
}
.nav{
  display:flex;
  align-items:center;
  gap:28px;
}
.nav a{
  color:var(--on-navy);
  font-weight:500;
  font-size:.94rem;
  transition:.2s ease;
  position:relative;
}
.nav a:hover{ color:var(--saffron-2); }
.nav .btn{ margin-left:6px; }

.menu-toggle{
  display:none;
  background:none;
  border:none;
  width:40px;
  height:40px;
  cursor:pointer;
}
.menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  margin:5px auto;
  background:#fff;
  transition:.25s ease;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:700;
  font-size:.94rem;
  transition:.25s ease;
  border:1px solid transparent;
  cursor:pointer;
}
.btn-primary{
  background:var(--saffron);
  color:#241202;
  box-shadow:0 10px 26px rgba(240,146,28,.30);
}
.btn-primary:hover{
  background:var(--saffron-2);
  transform:translateY(-2px);
}
.btn-outline{
  border-color:rgba(243,233,214,.35);
  color:var(--on-navy);
}
.btn-outline:hover{
  background:rgba(243,233,214,.1);
  transform:translateY(-2px);
}
.btn-ink{
  border-color:var(--navy);
  color:var(--navy);
}
.btn-ink:hover{
  background:var(--navy);
  color:#fff;
  transform:translateY(-2px);
}

/* =========================================================
   HERO — navy civic sky with the Vidhana Soudha skyline
   ========================================================= */
.hero{
  position:relative;
  padding:170px 0 120px;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(240,146,28,.16), transparent 55%),
    radial-gradient(ellipse at 85% 0%, rgba(21,122,104,.18), transparent 50%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy) 100%);
  color:var(--on-navy);
  overflow:hidden;
}
.hero-inner{
  position:relative;
  z-index:3;
  max-width:880px;
  margin-inline:auto;
  text-align:center;
}
.hero-badges{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:26px;
}
.hero-badges span{
  border:1px solid rgba(243,233,214,.28);
  background:rgba(243,233,214,.06);
  color:var(--on-navy);
  padding:8px 16px;
  border-radius:999px;
  font-size:.78rem;
  letter-spacing:.04em;
}
.hero h1{
  color:#fff;
  font-size:clamp(2.1rem, 4.6vw, 3.6rem);
  line-height:1.18;
  font-weight:500;
  margin-bottom:26px;
}
.hero h1 .line{
  display:block;
}
.hero h1 .line--accent{
  color:var(--saffron-2);
  font-style:italic;
}
.hero-text{
  font-size:1.1rem;
  line-height:1.85;
  color:var(--on-navy-muted);
  max-width:700px;
  margin:0 auto 36px;
}
.hero-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
}

/* skyline silhouette, drawn in SVG, glowing beneath the headline */
.hero-skyline{
  position:absolute;
  left:0; right:0; bottom:-2px;
  z-index:1;
  opacity:.9;
  pointer-events:none;
}
.hero-skyline svg{ width:100%; height:auto; display:block; }
.hero-glow{
  position:absolute;
  left:50%; bottom:20px;
  transform:translateX(-50%);
  width:640px; height:220px;
  background:radial-gradient(ellipse, rgba(255,182,92,.35), transparent 70%);
  filter:blur(10px);
  z-index:0;
  pointer-events:none;
}

/* recurring hairline "skyline rule" — the signature divider used
   between major charter articles, echoing the logo's monument */
.skyline-rule{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 0 0;
}
.skyline-rule svg{
  width:120px;
  height:auto;
  opacity:.55;
}
.skyline-rule.on-light svg path,
.skyline-rule.on-light svg rect{ stroke:var(--navy); }
.skyline-rule.on-navy svg path,
.skyline-rule.on-navy svg rect{ stroke:var(--saffron-2); }

/* =========================================================
   GUIDING PRINCIPLE — pull quote strip
   ========================================================= */
.principle{
  background:var(--navy-deep);
  color:var(--on-navy);
  padding:64px 0 76px;
  text-align:center;
}
.principle .eyebrow{ justify-content:center; }
.principle blockquote{
  font-family:'Fraunces', serif;
  font-style:italic;
  font-weight:500;
  font-size:clamp(1.3rem, 2.6vw, 1.9rem);
  line-height:1.55;
  max-width:780px;
  margin:0 auto;
  color:#fff;
}
.principle cite{
  display:block;
  margin-top:18px;
  font-style:normal;
  font-family:'IBM Plex Mono', monospace;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--on-navy-muted);
}

/* =========================================================
   PURPOSE / VISION
   ========================================================= */
.purpose-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:56px;
  align-items:start;
}
.purpose-copy p{
  color:var(--ink-muted);
  line-height:1.85;
  font-size:1.05rem;
  margin-bottom:18px;
}
.vision-card{
  background:var(--navy);
  color:var(--on-navy);
  border-radius:var(--radius-lg);
  padding:38px;
  position:relative;
  overflow:hidden;
  box-shadow:var(--shadow-lift);
}
.vision-card::after{
  content:"";
  position:absolute;
  right:-60px; top:-60px;
  width:180px; height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(240,146,28,.25), transparent 70%);
}
.vision-card .eyebrow{ position:relative; z-index:1; }
.vision-card h3{
  color:#fff;
  font-size:1.5rem;
  line-height:1.4;
  position:relative;
  z-index:1;
  font-weight:500;
}

/* =========================================================
   MISSION — checklist
   ========================================================= */
.mission-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 32px;
}
.mission-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px 0;
  border-bottom:1px solid var(--line-soft);
}
.mission-item .mark{
  flex:none;
  width:26px; height:26px;
  border-radius:50%;
  border:1.5px solid var(--teal);
  display:grid;
  place-items:center;
  margin-top:2px;
}
.mission-item .mark::after{
  content:"";
  width:8px; height:8px;
  border-radius:50%;
  background:var(--teal);
}
.mission-item p{
  color:var(--ink);
  line-height:1.6;
  font-size:.98rem;
}

/* =========================================================
   CORE VALUES — pill cloud
   ========================================================= */
.values-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
}
.value-chip{
  padding:12px 22px;
  border-radius:999px;
  font-weight:600;
  font-size:.92rem;
  border:1.5px solid;
  background:var(--card);
}
.value-chip.c1{ border-color:var(--navy); color:var(--navy); }
.value-chip.c2{ border-color:var(--saffron); color:#8a5308; background:#FFF6E9; }
.value-chip.c3{ border-color:var(--teal); color:var(--teal); }
.value-chip.c4{ border-color:var(--leaf); color:#3f6d24; }
.value-chip.c5{ border-color:var(--maroon); color:var(--maroon); }

/* =========================================================
   STRATEGIC PILLARS — bento grid
   ========================================================= */
.pillars-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.pillar-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:30px 26px;
  box-shadow:var(--shadow-card);
  transition:transform .25s ease, box-shadow .25s ease;
}
.pillar-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lift);
}
.pillar-icon{
  width:48px; height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  color:#fff;
}
.pillar-card h3{
  font-size:1.12rem;
  font-weight:600;
  margin-bottom:10px;
  color:var(--navy);
  line-height:1.35;
}
.pillar-card p{
  color:var(--ink-muted);
  font-size:.92rem;
  line-height:1.7;
}
.pillar-card.wide{ grid-column:span 1; }

.p-bg1{ background:var(--navy); }
.p-bg2{ background:var(--saffron); }
.p-bg3{ background:var(--teal); }
.p-bg4{ background:var(--maroon); }
.p-bg5{ background:var(--leaf); }
.p-bg6{ background:var(--navy-tint); }
.p-bg7{ background:#B9791A; }

/* =========================================================
   HOW WE WORK — partner chip cloud
   ========================================================= */
.partners-band{
  background:var(--parchment-2);
  border-radius:var(--radius-lg);
  padding:48px;
}
.partners-flex{
  display:flex;
  gap:44px;
  align-items:center;
}
.partners-statement{
  flex:0 0 300px;
}
.partners-statement h3{
  font-size:1.5rem;
  line-height:1.4;
  font-weight:500;
}
.partners-cloud{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  flex:1;
}
.partners-cloud span{
  padding:10px 16px;
  border-radius:10px;
  background:var(--card);
  border:1px solid var(--line);
  font-size:.86rem;
  color:var(--ink);
  font-weight:600;
}

/* =========================================================
   MEMBERSHIP + PUBLIC COMMITMENT — navy band
   ========================================================= */
.commit{
  background:linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:var(--on-navy);
  position:relative;
  overflow:hidden;
}
.commit-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}
.commit-card{
  background:rgba(243,233,214,.05);
  border:1px solid rgba(243,233,214,.16);
  border-radius:var(--radius-md);
  padding:34px;
}
.commit-card h3{
  color:#fff;
  font-size:1.3rem;
  margin-bottom:14px;
  font-weight:500;
}
.commit-card p{
  color:var(--on-navy-muted);
  line-height:1.8;
  font-size:.98rem;
  margin-bottom:10px;
}
.commit-card .btn{ margin-top:12px; }

/* =========================================================
   MOTTO CLOSING BAND
   ========================================================= */
.motto{
  background:var(--navy-deep);
  text-align:center;
  padding:70px 0 90px;
}
.motto h2{
  color:#fff;
  font-size:clamp(2rem, 5vw, 3.4rem);
  font-weight:500;
  letter-spacing:.01em;
}
.motto h2 span{ color:var(--saffron-2); }
.motto h2 .dot{
  color:rgba(243,233,214,.35);
  margin:0 14px;
  font-style:normal;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  background:var(--navy-deep);
  color:var(--on-navy-muted);
  padding:52px 0 30px;
  border-top:1px solid rgba(243,233,214,.1);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr .8fr;
  gap:40px;
  margin-bottom:40px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}
.footer-brand img{ height:44px; }
.footer-brand strong{
  font-family:'Fraunces', serif;
  color:#fff;
  font-size:1.05rem;
}
.footer p{ line-height:1.75; font-size:.92rem; }
.footer h4{
  color:#fff;
  font-family:'IBM Plex Mono', monospace;
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:16px;
  font-weight:500;
}
.footer ul li{ margin-bottom:10px; }
.footer ul a{ font-size:.92rem; transition:.2s ease; }
.footer ul a:hover{ color:var(--saffron-2); }
.footer-bottom{
  border-top:1px solid rgba(243,233,214,.1);
  padding-top:24px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:.82rem;
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.active{ opacity:1; transform:translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:980px){
  .purpose-grid{ grid-template-columns:1fr; }
  .pillars-grid{ grid-template-columns:repeat(2, 1fr); }
  .commit-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .partners-flex{ flex-direction:column; align-items:flex-start; }
  .partners-statement{ flex:none; }
}

@media (max-width:820px){
  .nav{
    position:absolute;
    top:78px; left:16px; right:16px;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    background:rgba(9,26,46,.98);
    border:1px solid rgba(243,233,214,.14);
    border-radius:18px;
    padding:18px;
    display:none;
  }
  .nav.active{ display:flex; }
  .nav a{ padding:10px 6px; }
  .nav .btn{ margin:8px 6px 0; text-align:center; }
  .menu-toggle{ display:block; }

  .mission-grid{ grid-template-columns:1fr; }
  .pillars-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .partners-band{ padding:30px; }
}

@media (max-width:540px){
  .hero{ padding:150px 0 90px; }
  .hero-badges span{ font-size:.72rem; padding:7px 12px; }
  .motto h2 .dot{ display:block; height:0; margin:6px 0; }
}
