/* ============================================================
   IIHRPA — Indian Industries & HR Professionals Alliance
   Stylesheet — designed by Apollo Web Designs
   Palette drawn directly from the IIHRPA emblem:
   purple ring, sky-blue ring, navy outline, steel gear,
   laurel green, and the five magenta stars.
   ============================================================ */

:root{
  /* ---- Brand palette (from logo) ---- */
  --purple:        #6B2C8F;
  --purple-deep:    #4B1E66;
  --purple-soft:    #F4EEFA;
  --sky:            #7FCBEA;
  --sky-soft:       #E7F7FD;
  --navy:           #1B3A63;
  --navy-deep:      #122844;
  --steel:          #7C828A;
  --forest:         #2E8B4F;
  --forest-soft:    #EAF6EE;
  --magenta:        #D6127D;
  --silver:         #D9DEE3;

  /* ---- Neutrals ---- */
  --paper:          #FBFAFD;
  --paper-dim:      #F3F1F8;
  --ink:            #241F2B;
  --ink-soft:       #5B5665;
  --line:           #E3DEEC;
  --white:          #FFFFFF;

  /* ---- Type ---- */
  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* ---- Layout ---- */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(27,58,99,0.08);
  --shadow-md: 0 10px 30px rgba(75,30,102,0.14);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.65;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); color: var(--navy-deep); margin:0 0 .5em; line-height:1.2; }
p{ margin:0 0 1em; }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }

a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* ---------------- Eyebrow / labels ---------------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-display);
  font-weight:600;
  font-size:.72rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color: var(--purple);
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background: var(--magenta);
  display:inline-block;
}

.section-head{ max-width:640px; margin-bottom:44px; }
.section-head h2{ font-size:clamp(1.6rem, 2.6vw, 2.3rem); }
.section-head p{ color:var(--ink-soft); font-size:1.02rem; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

section{ padding:76px 0; }
.bg-tint{ background: var(--paper-dim); }
.bg-navy{ background: var(--navy-deep); color:#DCE6F2; }
.bg-navy h2, .bg-navy h3, .bg-navy h4{ color:#fff; }

/* ---------------- Gear-edge motif (signature element) ----------------
   Echoes the toothed cog ring on the emblem: used only at the two
   header/footer transition seams and to frame key badges. */
.gear-edge{
  width:100%;
  height:14px;
  display:block;
  background:
    linear-gradient(135deg, var(--sky) 25%, transparent 25.5%) 0 0/18px 18px repeat-x,
    linear-gradient(-135deg, var(--sky) 25%, transparent 25.5%) 0 0/18px 18px repeat-x;
  background-color: var(--purple);
}
.gear-edge.on-navy{ background-color: var(--navy-deep); }

.cog-frame{
  position:relative;
}
.cog-frame svg.cog-ring{
  position:absolute;
  inset:-14px;
  width:calc(100% + 28px);
  height:calc(100% + 28px);
  animation: spin 60s linear infinite;
}
@media (prefers-reduced-motion: reduce){
  .cog-frame svg.cog-ring{ animation:none; }
}
@keyframes spin{ from{ transform:rotate(0);} to{ transform:rotate(360deg);} }

/* ================= HEADER ================= */
.site-header{ background: var(--white); }

.top-strip{
  background: var(--navy-deep);
  color:#C9D6E5;
  font-size:.8rem;
}
.top-strip .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:7px;
  padding-bottom:7px;
  flex-wrap:wrap;
  gap:6px 20px;
}
.top-strip a{ color:#C9D6E5; }
.top-strip a:hover{ color:var(--sky); }
.top-strip .ts-item{ display:inline-flex; align-items:center; gap:6px; }
.top-strip svg{ width:13px; height:13px; flex:none; fill:var(--sky); }

@media (max-width:600px){
  .top-strip{ font-size:.7rem; }
  .top-strip .container{ justify-content:center; text-align:center; }
}

.header-top{
  padding: 26px 0;
}
.header-top-inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo text badge";
  align-items:center;
  gap:22px 32px;
}
.brand-mark{ grid-area:logo; display:flex; }
.brand-mark img{ width:104px; height:104px; }

.brand-badge{
  grid-area:badge;
  align-self:center;
  font-family: var(--font-display);
  font-weight:700;
  font-size:16px;
  letter-spacing:1.5px;
  color: var(--silver);
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  border:1px solid #C9A9E6;
  border-radius:8px;
  padding:13px 24px;
  box-shadow: var(--shadow-md);
  white-space:nowrap;
}

.brand-text{
  grid-area:text;
  text-align:center;
}
.brand-text h1{
  font-size:clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--purple-deep);
  letter-spacing:.02em;
  margin-bottom:2px;
}
.brand-text .tagline{
  font-style:italic;
  font-weight:700;
  color: var(--magenta);
  font-size:.95rem;
  margin-bottom:6px;
}
.brand-text .reg-line{
  color: var(--ink-soft);
  font-size:.82rem;
  font-style:italic;
  margin-bottom:6px;
}
.brand-text .addr-line{
  color: var(--navy);
  font-size:.9rem;
  font-weight:600;
}

@media (max-width:860px){
  .header-top{ padding:20px 0; }
  .header-top-inner{
    grid-template-columns: auto auto;
    grid-template-areas:
      "logo badge"
      "text text";
    justify-content:space-between;
    row-gap:16px;
  }
  .brand-mark img{ width:72px; height:72px; }
  .brand-badge{ font-size:14px; padding:10px 18px; }
}
@media (max-width:420px){
  .brand-mark img{ width:60px; height:60px; }
  .brand-badge{ font-size:13px; padding:9px 14px; letter-spacing:1px; }
  .brand-text .addr-line{ font-size:.82rem; }
}

.blue-divider{
  height:4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--sky) 50%, var(--navy) 100%);
}

/* ---- Nav ---- */
.main-nav{
  background: var(--purple);
  position:relative;
  z-index:40;
}
.main-nav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav-toggle{
  display:none;
  background:none;
  border:none;
  color:#fff;
  padding:14px 0;
  cursor:pointer;
}
.nav-toggle svg{ width:26px; height:26px; }

.nav-list{
  display:flex;
  flex-wrap:wrap;
}
.nav-list a{
  display:block;
  padding:16px 20px;
  color:#F3EAFB;
  font-family: var(--font-display);
  font-weight:600;
  font-size:.86rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  border-bottom:3px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nav-list a:hover{ background: rgba(255,255,255,0.08); border-color:var(--sky); color:#fff; }
.nav-list a.active{ border-color:var(--magenta); color:#fff; background: rgba(0,0,0,0.12); }

@media (max-width:860px){
  .nav-toggle{ display:block; }
  .nav-list{
    display:none;
    flex-direction:column;
    width:100%;
    padding-bottom:10px;
  }
  .nav-list.open{ display:flex; }
  .nav-list a{ padding:12px 4px; border-bottom:1px solid rgba(255,255,255,0.12); }
  .main-nav .container{ flex-wrap:wrap; }
}

/* ================= HERO ================= */
.hero{
  position:relative;
  background: linear-gradient(155deg, var(--purple-deep) 0%, var(--purple) 55%, #7A3AA0 100%);
  color:#fff;
  padding:64px 0 84px;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;
  right:-120px; top:-120px;
  width:420px; height:420px;
  border-radius:50%;
  border:2px dashed rgba(255,255,255,0.14);
}
.hero .container{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
  position:relative;
}
.hero h2{
  color:#fff;
  font-size:clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom:.4em;
}
.hero p.lead{
  color:#E9D9F5;
  font-size:1.08rem;
  max-width:46ch;
}
.hero .eyebrow{ color:var(--sky); }
.hero .eyebrow::before{ background:var(--sky); }
.hero-stats{
  display:flex;
  gap:28px;
  margin-top:30px;
  flex-wrap:wrap;
}
.hero-stats div{ min-width:90px; }
.hero-stats strong{
  display:block;
  font-family:var(--font-display);
  font-size:1.7rem;
  color:#fff;
}
.hero-stats span{
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#D9C4EB;
}
.hero-emblem{
  display:flex;
  justify-content:center;
}
.hero-emblem img{ width:500px; height:500px; filter:drop-shadow(0 18px 30px rgba(0,0,0,0.28)); }

@media (max-width:760px){
  .hero .container{ grid-template-columns:1fr; text-align:center; }
  .hero p.lead{ margin-left:auto; margin-right:auto; }
  .hero-stats{ justify-content:center; }
  .hero-emblem{ order:-1; }
}

/* ================= PAGE BANNER (inner pages) ================= */
.page-banner{
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%);
  color:#fff;
  padding:52px 0;
  text-align:center;
}
.page-banner h1{ color:#fff; font-size:clamp(1.6rem,3vw,2.4rem); margin-bottom:.3em; }
.page-banner .crumb{ color:var(--sky); font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; }

/* ================= ABOUT SPLIT ================= */
.about-split{
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:56px;
  align-items:center;
}
.about-split .art{ position:relative; }
.about-split .art .frame{
  background: var(--purple-soft);
  border-radius: var(--radius-lg);
  padding:26px;
}
.about-split h2{ font-size:clamp(1.5rem,2.6vw,2.1rem); }
.about-split .lede{ font-weight:600; color:var(--navy); font-size:1.08rem; }
.about-split .cta-row{ margin-top:22px; display:flex; gap:14px; flex-wrap:wrap; }

@media (max-width:820px){
  .about-split{ grid-template-columns:1fr; }
  .about-split .art{ order:-1; max-width:420px; margin:0 auto; }
}

/* ================= BUTTONS ================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight:600;
  font-size:.86rem;
  letter-spacing:.03em;
  border:2px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary{ background: var(--magenta); color:#fff; box-shadow:0 10px 22px rgba(214,18,125,0.28); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 26px rgba(214,18,125,0.36); }
.btn-outline{ border-color: var(--purple); color: var(--purple); }
.btn-outline:hover{ background: var(--purple); color:#fff; }
.btn-ghost-light{ border-color: rgba(255,255,255,0.6); color:#fff; }
.btn-ghost-light:hover{ background: rgba(255,255,255,0.15); }

/* ================= MISSION / VISION ================= */
.mv-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}
.mv-card{
  background:#fff;
  border-radius: var(--radius-lg);
  padding:38px 34px;
  box-shadow: var(--shadow-sm);
  border-top:5px solid var(--purple);
  position:relative;
}
.mv-card.vision{ border-top-color: var(--forest); }
.mv-card .icon-badge{
  width:60px; height:60px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--purple-soft);
  margin-bottom:18px;
}
.mv-card.vision .icon-badge{ background: var(--forest-soft); }
.mv-card .icon-badge svg{ width:28px; height:28px; fill:var(--purple); }
.mv-card.vision .icon-badge svg{ fill:var(--forest); }
.mv-card h3{ font-size:1.3rem; }
.mv-card p{ color:var(--ink-soft); }

@media (max-width:760px){ .mv-grid{ grid-template-columns:1fr; } }

/* ================= CARD GRIDS (Aims / Quality pillars) ================= */
.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.info-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius-md);
  padding:28px 24px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.info-card:hover{ box-shadow: var(--shadow-sm); transform:translateY(-4px); }
.info-card .num{
  font-family:var(--font-display);
  font-weight:700;
  color: var(--sky);
  -webkit-text-stroke: 1px var(--purple);
  font-size:1.6rem;
  opacity:.55;
}
.info-card .icon-badge{
  width:48px; height:48px;
  border-radius:12px;
  background: var(--purple-soft);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.info-card .icon-badge svg{ width:24px; height:24px; fill:var(--purple); }
.info-card h3{ font-size:1.08rem; margin-bottom:.4em; }
.info-card p{ color:var(--ink-soft); font-size:.95rem; margin:0; }

@media (max-width:900px){ .card-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .card-grid{ grid-template-columns:1fr; } }

/* ================= QUALITY STATEMENT ================= */
.statement-block{
  background: linear-gradient(160deg, var(--purple-deep), var(--purple));
  color:#fff;
  border-radius: var(--radius-lg);
  padding:46px;
  position:relative;
}
.statement-block .quote-mark{
  font-family:var(--font-display);
  font-size:4rem;
  color: var(--sky);
  line-height:1;
  display:block;
  margin-bottom:6px;
}
.statement-block p{
  font-size:1.18rem;
  color:#F3EAFB;
  max-width:70ch;
}
.pillar-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:50px;
}
.pillar{
  text-align:center;
  padding:24px 14px;
}
.pillar .icon-badge{
  width:56px; height:56px;
  border-radius:50%;
  background: var(--forest-soft);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 14px;
}
.pillar .icon-badge svg{ width:26px; height:26px; fill:var(--forest); }
.pillar h4{ font-size:1rem; margin-bottom:.3em; }
.pillar p{ font-size:.88rem; color:var(--ink-soft); margin:0; }

@media (max-width:900px){ .pillar-row{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .pillar-row{ grid-template-columns:1fr; } }

/* ================= TIMELINE (About page) ================= */
.timeline{
  border-left:3px solid var(--sky);
  margin-left:10px;
  padding-left:30px;
}
.timeline .t-item{ position:relative; padding-bottom:34px; }
.timeline .t-item:last-child{ padding-bottom:0; }
.timeline .t-item::before{
  content:"";
  position:absolute;
  left:-38px; top:4px;
  width:14px; height:14px;
  border-radius:50%;
  background: var(--magenta);
  border:3px solid #fff;
  box-shadow:0 0 0 2px var(--sky);
}
.timeline h4{ margin-bottom:4px; color:var(--purple-deep); }
.timeline p{ color:var(--ink-soft); margin:0; }

/* ================= CONTACT / BANK SPLIT ================= */
.contact-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  background:#fff;
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-md);
}
.contact-col{
  padding:48px 44px;
  background: var(--navy-deep);
  color:#DCE6F2;
}
.contact-col h3{ color:#fff; }
.contact-col .c-row{
  display:flex;
  gap:14px;
  margin-bottom:18px;
  align-items:flex-start;
}
.contact-col .c-row svg{ width:20px; height:20px; fill:var(--sky); flex:none; margin-top:3px; }
.contact-col .c-row span{ color:#C9D6E5; font-size:.95rem; }
.social-row{ display:flex; gap:10px; margin-top:26px; }
.social-row a{
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.3);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, border-color .2s ease;
}
.social-row a:hover{ background: var(--magenta); border-color:var(--magenta); }
.social-row svg{ width:16px; height:16px; fill:#fff; }

.bank-col{
  padding:48px 44px;
  background: var(--purple-soft);
}
.bank-col h3{ color: var(--purple-deep); }
.bank-col .note{ font-size:.85rem; color:var(--ink-soft); margin-bottom:20px; }
.passbook{
  background:#fff;
  border-radius: var(--radius-md);
  border:1px dashed var(--purple);
  padding:22px 24px;
}
.passbook dl{ display:grid; grid-template-columns:auto 1fr; gap:10px 16px; margin:0; }
.passbook dt{ font-size:.78rem; letter-spacing:.05em; text-transform:uppercase; color:var(--steel); font-family:var(--font-display); font-weight:600; }
.passbook dd{ margin:0; font-family:var(--font-mono); color:var(--navy-deep); font-weight:600; font-size:.95rem; }

@media (max-width:820px){
  .contact-split{ grid-template-columns:1fr; }
  .contact-col, .bank-col{ padding:38px 26px; }
}

/* ================= FOOTER ================= */
.site-footer{
  background: var(--navy-deep);
  color:#9FB1C7;
  padding-top:0;
}
.footer-main{
  padding:50px 0 30px;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:40px;
}
.footer-brand{ display:flex; gap:14px; align-items:flex-start; }
.footer-brand img{ width:56px; height:56px; }
.footer-brand h4{ color:#fff; font-size:1.05rem; margin-bottom:4px; }
.footer-brand p{ color:#8AA0BA; font-size:.88rem; margin:0; }
.footer-col h5{
  color:#fff; font-family:var(--font-display); font-size:.85rem;
  letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px;
}
.footer-col ul li{ margin-bottom:10px; }
.footer-col a{ color:#9FB1C7; font-size:.92rem; }
.footer-col a:hover{ color:var(--sky); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);
  padding:18px 0;
  font-size:.82rem;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
}
.footer-bottom a{ color:var(--sky); font-weight:600; }

@media (max-width:820px){
  .footer-main{ grid-template-columns:1fr; }
  .footer-bottom{ justify-content:center; text-align:center; }
}

/* ================= Utility ================= */
.mt-lg{ margin-top:48px; }
.two-col-text{ columns:2; column-gap:40px; }
@media (max-width:700px){ .two-col-text{ columns:1; } }
