/* AIHRAA — All India Human Resources Agencies Association */
:root {
  --navy: #071f40;
  --navy-2: #0d2e5c;
  --navy-3: #163f7a;
  --gold: #e9ba43;
  --gold-2: #f5d37a;
  --gold-dark: #b8871a;
  --white: #ffffff;
  --sky: #eaf0f7;
  --ink: #1b2a41;
  --muted: #5b6b82;
  --line: #d8e1ee;
  --saffron: #f28c28;
  --green: #1f9d55;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 31, 64, .10);
  --shadow-lg: 0 20px 50px rgba(7, 31, 64, .18);
  --max: 1180px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 92%); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; }

/* ---------- Top strip ---------- */
.topbar { background: var(--navy); color: #c9d6ea; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #c9d6ea; }
.topbar a:hover { color: var(--gold); }
.topbar span + span { margin-left: 1.25rem; }
.tricolor { height: 4px; background: linear-gradient(90deg, var(--saffron) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6%); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 2px 14px rgba(7,31,64,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--navy); }
.brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: #fff; }
.brand strong { display: block; font-family: var(--font-head); font-size: 1.45rem; letter-spacing: .04em; line-height: 1; color: var(--navy); }
.brand small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.nav a { display: block; padding: .55rem .95rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--navy); text-transform: uppercase; letter-spacing: .03em; }
.nav a:hover { background: var(--sky); color: var(--navy); }
.nav a[aria-current="page"] { background: var(--navy); color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: .3s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .nav.open { max-height: 420px; }
  .nav ul { flex-direction: column; padding: .8rem 4%; }
  .nav a { border-radius: 10px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .topbar .hide-sm { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); box-shadow: 0 8px 20px rgba(233,186,67,.35); }
.btn-gold:hover { color: var(--navy); box-shadow: 0 12px 26px rgba(233,186,67,.5); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(circle at 85% 20%, rgba(233,186,67,.20), transparent 40%),
  radial-gradient(circle at 10% 90%, rgba(22,63,122,.9), transparent 50%),
  linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 120px; background: #fff; border-radius: 50% 50% 0 0; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 5rem 0 7rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; border-radius: 999px; background: rgba(233,186,67,.15); border: 1px solid rgba(233,186,67,.5); color: var(--gold-2); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin: 1.1rem 0 1rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.15rem; color: #d3deef; max-width: 36rem; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-card { background: #fff; border-radius: 22px; padding: 1.6rem; box-shadow: var(--shadow-lg); border-bottom: 6px solid var(--gold); transform: rotate(1.5deg); }
.hero-card img { width: 100%; }

.page-hero { position: relative; color: #fff; text-align: center; padding: 4.2rem 0 5.2rem; background: linear-gradient(135deg, var(--navy), var(--navy-3)); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -50px; height: 90px; background: #fff; border-radius: 50% 50% 0 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin: .8rem 0 .4rem; }
.page-hero p { color: #d3deef; max-width: 42rem; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: var(--gold-2); }
.breadcrumb a { color: var(--gold-2); }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding: 3.5rem 0 6rem; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero-card { max-width: 420px; margin: 0 auto; transform: none; }
}

/* ---------- Announcement ticker ---------- */
.announce { position: relative; z-index: 2; margin-top: -2.4rem; }
.announce-box { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem 1.3rem; border-left: 6px solid var(--gold); flex-wrap: wrap; }
.announce-tag { background: var(--navy); color: var(--gold); font-weight: 800; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 8px; white-space: nowrap; }
.announce-box p { margin: 0; flex: 1; font-weight: 600; color: var(--navy); min-width: 220px; }
.announce-box time { color: var(--muted); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section.alt { background: var(--sky); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.section-head .kicker { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .6rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head h2::after { content: ""; display: block; width: 70px; height: 4px; border-radius: 4px; margin: .9rem auto 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.section-head p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .8rem; margin-top: .15rem; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat { background: #fff; border-radius: var(--radius); padding: 1.2rem; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--navy); }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---------- Objective cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .stat-row { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.card .icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--gold); margin-bottom: 1.1rem; }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card .num { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--sky); line-height: 1; }

.obj-list { display: grid; gap: 1.2rem; }
.obj-item { display: grid; grid-template-columns: 72px 1fr; gap: 1.3rem; align-items: start; background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border-left: 5px solid var(--gold); }
.obj-item .icon { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--gold); }
.obj-item .icon svg { width: 34px; height: 34px; }
.obj-item h3 { margin-bottom: .3rem; }
.obj-item p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .obj-item { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.president { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border-radius: 22px; padding: 2.2rem 2.5rem; box-shadow: var(--shadow-lg); border-bottom: 6px solid var(--gold); max-width: 760px; margin: 0 auto 3rem; }
.president .avatar { width: 130px; height: 130px; font-size: 2.6rem; border-width: 5px; }
.president .role { color: var(--gold); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.president h3 { color: #fff; font-size: 2rem; margin: .3rem 0 .5rem; }
.president p { color: #d3deef; margin: 0; }
@media (max-width: 600px) { .president { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 2rem 1.5rem; } }

.avatar { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--sky), #fff); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; border: 4px solid var(--gold); box-shadow: 0 6px 18px rgba(7,31,64,.15); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-group { margin-bottom: 3rem; }
.team-group > h3 { text-align: center; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1.5rem; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.member { width: 210px; background: #fff; border-radius: var(--radius); padding: 1.8rem 1.2rem 1.5rem; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; align-items: center; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member h4 { margin: 1rem 0 .4rem; font-size: 1.08rem; }
.member .badge { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.member.exec .badge { background: var(--sky); color: var(--navy-3); }

/* ---------- Commitment / CTA ---------- */
.commit { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #e1e9f5; border-radius: 22px; padding: 3rem; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.commit::before { content: "“"; position: absolute; top: -40px; right: 30px; font-family: Georgia, serif; font-size: 16rem; line-height: 1; color: rgba(233,186,67,.15); }
.commit h2, .commit h3 { color: var(--gold); }
.commit p { font-size: 1.08rem; position: relative; }

.cta { background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.2rem 0; flex-wrap: wrap; }
.cta h2 { margin: 0 0 .3rem; }
.cta p { margin: 0; color: var(--navy-2); font-weight: 500; }

.tagline-band { background: var(--navy); color: var(--gold); text-align: center; padding: 1.4rem 0; font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.4rem); }

/* ---------- Notice / announcement page bits ---------- */
.notice { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; }
.notice .flyer { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; }
.notice .date { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--gold-dark); margin-bottom: .5rem; }
@media (max-width: 900px) { .notice { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 1rem; }
.info-card .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); flex: none; }
.info-card .icon svg { width: 24px; height: 24px; }
.info-card h4 { margin: 0 0 .2rem; font-size: 1rem; }
.info-card p { margin: 0; color: var(--muted); }
.todo { background: #fff6dd; color: #8a6100; border: 1px dashed var(--gold-dark); border-radius: 6px; padding: 0 .35rem; font-size: .9em; }

form.contact-form { background: #fff; border-radius: 22px; padding: 2.2rem; box-shadow: var(--shadow-lg); border-top: 6px solid var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fbfcfe; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(233,186,67,.2); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .8rem; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; background: #e7f6ee; color: #136b3a; font-weight: 600; display: none; }
.form-status.show { display: block; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 230px; background: var(--sky); display: grid; place-items: center; color: var(--muted); text-align: center; padding: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: #04152d; color: #9fb1cb; padding-top: 4rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer h4::after { content: ""; display: block; width: 36px; height: 3px; background: var(--gold); margin-top: .5rem; border-radius: 3px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #9fb1cb; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand strong { color: #fff; }
.site-footer .brand small { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after { animation: none; }
  html { scroll-behavior: auto; }
}

.groups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
@media (max-width: 900px) { .groups-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .team-grid { gap: .9rem; }
  .member { width: calc(50% - .45rem); padding: 1.3rem .6rem 1.1rem; }
  .member .avatar { width: 72px; height: 72px; font-size: 1.4rem; }
  .member h4 { font-size: .95rem; }
  .member .badge { font-size: .62rem; padding: .25rem .55rem; }
  .topbar .container > div:first-child { display: none; }
  .topbar .container { justify-content: center; }
}
.map { padding: 0; height: 300px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
