/* =========================================================
   धनगर समाज हेल्पलाईन — Design System
   Signature motif: घोंगडी (the Dhangar wool blanket) stripes
   & fringe, used as recurring band/divider throughout.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Yatra+One&family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Noto+Sans:wght@400;500;600;700&display=swap');

:root{
  /* Deccan dusk palette */
  --navy-deep:   #101B33;
  --navy:        #1B2A4A;
  --navy-soft:   #223761;
  --gold:        #D9A441;
  --gold-light:  #F0CE85;
  --rust:        #A83E2C;
  --rust-deep:   #7E2C1F;
  --olive:       #5C6B3D;
  --wool-black:  #221D18;
  --wool-brown:  #5A4632;
  --ivory:       #F6EFDD;
  --cream:       #FBF8F0;
  --text-dark:   #241C14;
  --text-muted:  #6B5D48;

  --font-display: 'Yatra One', 'Noto Sans Devanagari', serif;
  --font-body: 'Noto Sans Devanagari', 'Noto Sans', sans-serif;

  --radius: 10px;
  --shadow-soft: 0 10px 30px rgba(16,27,51,0.12);
  --shadow-strong: 0 18px 44px rgba(16,27,51,0.22);
  --container: 1160px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight:400;
  color: var(--navy-deep);
  line-height:1.25;
  margin:0 0 .5em;
  letter-spacing:.01em;
}
p{ margin:0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }
.container{
  max-width: var(--container);
  margin:0 auto;
  padding:0 24px;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-body);
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: var(--rust);
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background: var(--gold);
  display:inline-block;
}

/* ---------- Ghongadi stripe band (signature element) ---------- */
.ghongadi-band{
  height:16px;
  width:100%;
  background:
    repeating-linear-gradient(90deg,
      var(--wool-black) 0 26px,
      var(--wool-brown) 26px 30px,
      var(--wool-black) 30px 56px,
      var(--gold) 56px 60px,
      var(--wool-black) 60px 86px,
      var(--rust) 86px 90px
    );
}
.ghongadi-fringe{
  height:14px;
  width:100%;
  background: repeating-linear-gradient(90deg,
    var(--ivory) 0 3px, transparent 3px 9px);
  opacity:.9;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:700;
  font-size:.98rem;
  border:2px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ background: var(--gold-light); box-shadow: var(--shadow-strong); }
.btn-outline{
  background: transparent;
  border-color: rgba(246,239,221,.55);
  color: var(--ivory);
}
.btn-outline:hover{ background: rgba(246,239,221,.12); border-color: var(--ivory); }
.btn-outline-dark{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover{ background: var(--navy); color: var(--ivory); }
.btn-rust{ background: var(--rust); color: var(--ivory); }
.btn-rust:hover{ background: var(--rust-deep); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index:60;
  background: var(--navy-deep);
  border-bottom:1px solid rgba(217,164,65,.25);
}
.header-top{
  background: var(--navy-soft);
  font-size:.78rem;
  color: var(--gold-light);
}
.header-top .container{
  display:flex; justify-content:flex-end; gap:18px;
  padding-top:6px; padding-bottom:6px;
  align-items:center;
}
.header-top a{ opacity:.9; }
.header-top a:hover{ opacity:1; text-decoration:underline; }
.header-main .container{
  display:flex; align-items:center; gap:20px;
  padding-top:14px; padding-bottom:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  color: var(--ivory);
  margin-right:auto;
}
.brand svg{ flex:none; }
.brand-text{ font-family:var(--font-display); font-size:1.28rem; line-height:1.15; }
.brand-text small{ display:block; font-family:var(--font-body); font-size:.62rem; letter-spacing:.22em; color:var(--gold-light); font-weight:700; }

.main-nav{ display:flex; gap:6px; align-items:center; }
.main-nav a{
  color: rgba(246,239,221,.85);
  font-weight:600;
  font-size:.94rem;
  padding:10px 14px;
  border-radius:999px;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover{ background: rgba(217,164,65,.14); color: var(--gold-light); }
.main-nav a.active{ background: var(--gold); color: var(--navy-deep); }

.header-call{
  display:flex; align-items:center; gap:8px;
  background: var(--rust);
  color:var(--ivory);
  padding:10px 18px;
  border-radius:999px;
  font-weight:700;
  font-size:.9rem;
  white-space:nowrap;
}
.header-call:hover{ background:var(--rust-deep); }

.nav-toggle{
  display:none;
  background:none; border:1px solid rgba(246,239,221,.4);
  color:var(--ivory); border-radius:8px;
  width:42px; height:38px;
  font-size:1.1rem; cursor:pointer;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb{
  background: var(--navy);
  color: rgba(246,239,221,.75);
  font-size:.85rem;
  padding:12px 0;
}
.breadcrumb a{ color: var(--gold-light); }
.breadcrumb a:hover{ text-decoration:underline; }
.breadcrumb span.sep{ margin:0 8px; opacity:.6; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background: radial-gradient(1100px 480px at 85% -10%, rgba(217,164,65,.20), transparent 60%),
              linear-gradient(155deg, var(--navy-deep), var(--navy) 60%, var(--navy-soft));
  color: var(--ivory);
  overflow:hidden;
  padding:76px 0 92px;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(246,239,221,.07) 1px, transparent 1.4px);
  background-size: 20px 20px;
  opacity:.5;
  pointer-events:none;
}
.hero .container{ position:relative; z-index:2; display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.hero h1{
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  color: var(--ivory);
  margin-bottom:.35em;
}
.hero .tagline{
  font-family:var(--font-display);
  font-size:1.25rem;
  color: var(--gold-light);
  margin-bottom:18px;
}
.hero p.lead{ color: rgba(246,239,221,.82); font-size:1.06rem; max-width:52ch; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:26px; }

.hero-emblem{
  position:relative;
  aspect-ratio: 1/1;
  display:flex; align-items:center; justify-content:center;
}
.hero-emblem svg{ width:100%; height:auto; max-width:340px; }

/* ---------- Sections ---------- */
.section{ padding:78px 0; }
.section-tight{ padding:52px 0; }
.section-alt{ background: var(--ivory); }
.section-dark{ background: var(--navy-deep); color: var(--ivory); }
.section-dark h2, .section-dark h3{ color: var(--ivory); }
.section-head{ max-width:680px; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p{ color: var(--text-muted); font-size:1.05rem; }
.section-dark .section-head p{ color: rgba(246,239,221,.78); }

/* ---------- Leaders / heritage ---------- */
.leaders-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.leader-card{
  background: var(--cream);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
  border:1px solid rgba(90,70,50,.1);
}
.leader-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.leader-emblem{
  height:310px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(160deg, var(--navy), var(--navy-soft));
}
.leader-emblem svg{ width:64px; height:64px; }
.leader-emblem img {
  object-position: center top !important; /* Forces the image to align to the top */
  object-fit: cover; /* Ensures the image fills the space without distortion */
  width: 100%; /* Required for object-fit to work properly */
  height: 100%; /* Required for object-fit to work properly */
}

.leader-body{ padding:22px 22px 26px; }
.leader-body h3{ font-size:1.28rem; margin-bottom:.3em; }
.leader-body p{ color: var(--text-muted); font-size:.95rem; margin-bottom:1em;}
.leader-body a{ font-weight:700; color: var(--rust); font-size:.9rem; }
.leader-body a:hover{ text-decoration:underline; }

/* ---------- Service cards ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service-card{
  position:relative;
  background: var(--cream);
  border-radius: var(--radius);
  padding:30px 26px 26px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
  border:1px solid rgba(90,70,50,.08);
}
.service-card::before{
  content:"";
  position:absolute; left:0; top:14px; bottom:14px; width:6px; border-radius:6px;
  background: repeating-linear-gradient(180deg, var(--wool-black) 0 10px, var(--gold) 10px 14px, var(--rust) 14px 18px, var(--wool-black) 18px 28px);
}
.service-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-strong); }
.service-icon{
  width:52px; height:52px; border-radius:14px;
  background: var(--navy);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.service-icon svg{ width:26px; height:26px; stroke:var(--gold-light); }
.service-card h3{ font-size:1.24rem; margin-bottom:.35em; }
.service-card p{ color: var(--text-muted); font-size:.96rem; margin-bottom:.9em; }
.service-card a.more{ font-weight:700; font-size:.9rem; color: var(--rust); }
.service-card a.more:hover{ text-decoration:underline; }

/* ---------- Quote / belief ---------- */
.belief{
  background: linear-gradient(155deg, var(--rust-deep), var(--rust));
  color: var(--ivory);
  border-radius: var(--radius);
  padding:44px;
  text-align:center;
  position:relative;
}
.belief blockquote{
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  margin:0;
}
.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:44px; }
.pillar{
  background: var(--cream);
  border-radius: var(--radius);
  padding:26px 22px;
  border-left:4px solid var(--gold);
}
.pillar h4{ font-size:1.05rem; margin-bottom:.4em; color: var(--navy-deep); }
.pillar p{ font-size:.92rem; color: var(--text-muted); margin:0; }

/* ---------- Stats ---------- */
.stats-wrap{
  background: var(--navy-deep);
  color: var(--ivory);
  border-radius: var(--radius);
  padding:46px 30px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
  text-align:center;
}
.stat .num{
  font-family: var(--font-display);
  font-size:2.6rem;
  color: var(--gold-light);
  display:block;
}
.stat .label{ font-size:.92rem; color: rgba(246,239,221,.8); }

/* ---------- CTA strip ---------- */
.cta-strip{
  background: linear-gradient(120deg, var(--navy), var(--navy-soft));
  color: var(--ivory);
  border-radius: var(--radius);
  padding:38px 40px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cta-strip h3{ color: var(--ivory); margin-bottom:.2em; font-size:1.4rem; }
.cta-strip p{ margin:0; color: rgba(246,239,221,.78); }
.cta-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--wool-black); color: rgba(246,239,221,.78); }
.footer-main{ padding:56px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:34px; }
.footer-brand .brand-text{ color: var(--ivory); }
.footer-brand p{ font-size:.92rem; margin-top:14px; max-width:32ch; }
.social-row{ display:flex; gap:10px; margin-top:18px; }
.social-row a{
  width:34px; height:34px; border-radius:50%;
  border:1px solid rgba(246,239,221,.28);
  display:flex; align-items:center; justify-content:center;
  font-size:.8rem;
}
.social-row a:hover{ background: var(--gold); color: var(--navy-deep); border-color:var(--gold); }
.footer-col h5{
  color: var(--gold-light); font-size:.82rem; letter-spacing:.1em; text-transform:uppercase;
  margin-bottom:16px; font-weight:700; font-family:var(--font-body);
}
.footer-col li{ margin-bottom:10px; font-size:.94rem; }
.footer-col a:hover{ color: var(--gold-light); text-decoration:underline; }
.footer-bottom{
  border-top:1px solid rgba(246,239,221,.14);
  padding:18px 0;
  font-size:.82rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  color: rgba(246,239,221,.55);
}

/* ---------- WhatsApp float ---------- */
.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:70;
  width:56px; height:56px; border-radius:50%;
  background:#3d8a52;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  color:#fff;
}
.wa-float:hover{ transform: scale(1.06); }
.wa-float svg{ width:28px; height:28px; }

/* ---------- Generic page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background-image: linear-gradient(
      rgba(15, 23, 42, 0.85), 
      rgba(15, 23, 42, 0.85)
    ), 
    url('../assets/images/bg.jpg'); /* Adjust path to your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 80px 0; /* Adjust padding as needed */
}
.page-hero h1{ color:var(--ivory); font-size: clamp(2rem, 3.6vw, 2.7rem); }
.page-hero p{ color: rgba(246,239,221,.82); max-width:60ch; font-size:1.05rem; }
.chip-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.chip{
  background: rgba(217,164,65,.14);
  border:1px solid rgba(217,164,65,.4);
  color: var(--gold-light);
  padding:7px 14px; border-radius:999px; font-size:.85rem; font-weight:600;
}

/* ---------- Detail topic blocks (education/jobs/etc.) ---------- */
.topic-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; margin-bottom:10px; }
.topic-card{
  background:var(--cream);
  border-radius:var(--radius);
  padding:26px;
  border-top:4px solid var(--gold);
  box-shadow: var(--shadow-soft);
}
.topic-card h3{ font-size:1.15rem; margin-bottom:.4em; }
.topic-card p{ color:var(--text-muted); font-size:.95rem; margin:0; }

.bilingual{
  display:grid; grid-template-columns:1fr 1fr; gap:30px;
  background: var(--ivory);
  border-radius: var(--radius);
  padding:32px;
  margin-top:44px;
}
.bilingual .lang-block h4{
  font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color:var(--rust); margin-bottom:.6em; font-family:var(--font-body); font-weight:700;
}
.bilingual .lang-block p{ color:var(--text-dark); font-size:.98rem; margin:0; }
.detail-actions{ display:flex; gap:14px; margin-top:38px; flex-wrap:wrap; }

/* ---------- About page specifics ---------- */
.about-hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; }
.about-hero-chips{ display:flex; gap:12px; flex-wrap:wrap; margin-top:20px; }
.mission-list{ display:grid; gap:14px; margin-top:18px; }
.mission-list li{
  display:flex; gap:12px; align-items:flex-start;
  background: var(--cream);
  border-radius:10px; padding:14px 16px;
  border:1px solid rgba(90,70,50,.1);
}
.mission-list li svg{ flex:none; width:20px; height:20px; margin-top:2px; stroke:var(--rust); }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }

/* ---------- Opportunities page ---------- */
.opportunity-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.opportunity-card{
  background: var(--cream);
  border-radius: var(--radius);
  padding:28px;
  box-shadow: var(--shadow-soft);
  display:flex; gap:18px;
}
.opportunity-card .num{
  font-family: var(--font-display);
  font-size:1.9rem;
  color: var(--gold);
  flex:none;
}
.opportunity-card h3{ font-size:1.15rem; margin-bottom:.35em; }
.opportunity-card p{ color: var(--text-muted); font-size:.94rem; margin:0; }

/* ---------- Contact page ---------- */
.contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:40px; align-items:start; }
.contact-info-list{ display:grid; gap:16px; margin-top:22px; }
.contact-info-item{
  display:flex; gap:14px; align-items:flex-start;
  background: var(--cream);
  border-radius:10px; padding:16px 18px;
  border:1px solid rgba(90,70,50,.1);
}
.contact-info-item svg{ flex:none; width:22px; height:22px; stroke: var(--rust); margin-top:2px; }
.contact-info-item strong{ display:block; font-size:.95rem; }
.contact-info-item span{ font-size:.88rem; color:var(--text-muted); }

.contact-form{
  background: var(--cream);
  border-radius: var(--radius);
  padding:32px;
  box-shadow: var(--shadow-soft);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.form-field{ display:flex; flex-direction:column; gap:6px; }
.form-field.full{ grid-column: 1 / -1; }
.form-field label{ font-size:.85rem; font-weight:700; color:var(--navy-deep); }
.form-field input, .form-field textarea{
  border:1.5px solid rgba(90,70,50,.25);
  border-radius:8px;
  padding:11px 14px;
  font-family:var(--font-body);
  font-size:.95rem;
  background:#fff;
  color: var(--text-dark);
}
.form-field input:focus, .form-field textarea:focus{
  outline:none; border-color: var(--gold); box-shadow:0 0 0 3px rgba(217,164,65,.25);
}
.form-note{ font-size:.82rem; color:var(--text-muted); margin:10px 0 18px; }
.form-status{ font-size:.9rem; font-weight:600; margin-top:10px; min-height:1.2em; }
.form-status.ok{ color:#2f7a45; }

/* ---------- Map placeholder ---------- */
.map-frame{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
  height:260px;
  margin-top:24px;
}
.map-frame iframe{ width:100%; height:100%; border:0; }

/* ---------- Utility ---------- */
.mt-lg{ margin-top:44px; }
.text-center{ text-align:center; }
.stack-gap{ display:grid; gap:44px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-emblem{ order:-1; max-width:220px; margin:0 auto; }
  .leaders-grid, .services-grid{ grid-template-columns:repeat(2,1fr); }
  .about-hero-grid, .two-col, .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .pillars{ grid-template-columns:1fr; }
  .stats-wrap{ grid-template-columns:1fr; gap:30px; }
  .topic-grid, .opportunity-grid, .bilingual{ grid-template-columns:1fr; }
}
@media (max-width: 760px){
  .main-nav{
    position:fixed; inset:0 0 0 auto; width:78%; max-width:320px;
    background: var(--navy-deep);
    flex-direction:column; align-items:stretch;
    padding:90px 22px 22px;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index:80;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav a{ padding:14px 12px; border-bottom:1px solid rgba(246,239,221,.08); }
  .nav-toggle{ display:block; }
  .header-call span.call-text{ display:none; }
  .leaders-grid, .services-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .cta-strip{ flex-direction:column; align-items:flex-start; }
  .form-row{ grid-template-columns:1fr; }
  .header-top .container{ font-size:.72rem; }
}

.brand-logo {
  width: 48px;         /* Match the dimension of your SVG header placeholder */
  height: 48px;        /* Equal width and height ensure a perfect circle */
  border-radius: 50%;  /* Clips the rectangular image into a circle */
  object-fit: cover;   /* Prevents the image from stretching/distorting */
  display: block;      /* Ensures proper alignment inside flex or inline wrappers */
}

.brand-logo-hero {
  width: 100%;         /* Match the dimension of your SVG header placeholder */
  height: 100%;        /* Equal width and height ensure a perfect circle */
  border-radius: 50%;  /* Clips the rectangular image into a circle */
  object-fit: cover;   /* Prevents the image from stretching/distorting */
  display: block;
}

.lang-switcher .btn-lang {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(245, 179, 1, 0.45);
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.lang-switcher .btn-lang:hover {
  border-color: #D9A441;
  color: #D9A441;
}

.lang-switcher .btn-lang.active {
  background: var(--color-accent);
  color: #111;
  border-color: var(--color-accent);
}

.lang-switcher .btn-lang:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
