/* =========================================================
   ACADEME INDIA FOUNDATION — Inner pages & shared components
   ========================================================= */

/* ---------- Dropdown nav ---------- */
.menu .has-drop { position: relative; }
.menu .has-drop > a .caret { font-size: 11px; margin-left: 5px; transition: .25s; }
.dropdown {
  position: absolute; top: 120%; left: 0; min-width: 232px; background: #fff;
  border-radius: 14px; box-shadow: var(--shadow-md); padding: 10px; opacity: 0;
  visibility: hidden; transform: translateY(10px); transition: .26s; z-index: 60;
  border: 1px solid var(--line);
}
.menu .has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.menu .has-drop:hover > a .caret { transform: rotate(180deg); }
.dropdown li a {
  display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px;
  font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--ink); transition: .2s;
}
.dropdown li a i { color: var(--orange); width: 18px; text-align: center; }
.dropdown li a:hover { background: var(--soft); color: var(--orange); padding-left: 18px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: 84px 0; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero p.ph-sub { color: #cdd8ea; max-width: 620px; margin: 6px auto 16px; font-size: 16.5px; }

/* ---------- Generic split section ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-grid.wide-text { grid-template-columns: .95fr 1.05fr; }
.split-media { position: relative; }
.split-media img { border-radius: 22px; box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split-media .float-b { position: absolute; right: -22px; bottom: -28px; width: 45%; border: 7px solid #fff; border-radius: 18px; box-shadow: var(--shadow-md); }
.split-media .badge-float {
  position: absolute; left: -18px; top: -18px; background: var(--orange); color: #fff;
  padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow-md); text-align: center;
}
.split-media .badge-float strong { font-family: var(--head); font-size: 30px; display: block; line-height: 1; }
.split-media .badge-float small { font-size: 12px; }

/* ---------- Tick list ---------- */
.tick-list { display: grid; gap: 13px; margin: 22px 0 28px; }
.tick-list.two { grid-template-columns: 1fr 1fr; gap: 13px 24px; }
.tick-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 15px; }
.tick-list li i { color: var(--green); margin-top: 4px; font-size: 15px; flex-shrink: 0; }
.tick-list li b { color: var(--ink); font-family: var(--head); }

/* ---------- Steps / approach ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); position: relative; border-top: 4px solid var(--orange); }
.step .num { font-family: var(--head); font-weight: 800; font-size: 40px; color: #f0f3f8; position: absolute; top: 14px; right: 20px; line-height: 1; }
.step .sic { width: 56px; height: 56px; border-radius: 14px; background: #fff2e5; color: var(--orange); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
.step:nth-child(2) { border-color: var(--green); } .step:nth-child(2) .sic { background: #eaf6e2; color: var(--green); }
.step:nth-child(3) { border-color: var(--navy); } .step:nth-child(3) .sic { background: #e7eefb; color: var(--navy); }
.step:nth-child(4) { border-color: #2f8fd6; } .step:nth-child(4) .sic { background: #e4f1fb; color: #2f8fd6; }

/* ---------- Mini stat row ---------- */
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mini-stat { background: #fff; border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.mini-stat .ms-num { font-family: var(--head); font-weight: 800; font-size: 40px; color: var(--navy); line-height: 1; }
.mini-stat .ms-num span { color: var(--orange); }
.mini-stat p { color: var(--muted); margin-top: 6px; font-family: var(--head); font-weight: 600; font-size: 14.5px; }

/* ---------- Value / feature cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); transition: .3s; border: 1px solid var(--line); }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.value-card .vic { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: #fff; margin-bottom: 18px; background: var(--navy); }
.value-card:nth-child(3n+2) .vic { background: var(--orange); }
.value-card:nth-child(3n) .vic { background: var(--green); }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Team with photos/avatars ---------- */
.team-full { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tf-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; transition: .3s; }
.tf-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.tf-top { height: 150px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); }
.tf-top .av-lg { width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,.15); border: 3px solid rgba(255,255,255,.4); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 36px; color: #fff; }
.tf-card:nth-child(2) .tf-top { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.tf-card:nth-child(3) .tf-top { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.tf-card:nth-child(4) .tf-top { background: linear-gradient(135deg, #2f8fd6, #1f6fae); }
.tf-body { padding: 22px 18px 26px; }
.tf-body h3 { font-size: 19px; margin-bottom: 3px; }
.tf-body .role { color: var(--orange); font-family: var(--head); font-weight: 700; font-size: 13.5px; margin-bottom: 14px; }
.tf-social { display: flex; justify-content: center; gap: 9px; }
.tf-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--navy); display: grid; place-items: center; font-size: 13px; transition: .25s; }
.tf-social a:hover { background: var(--orange); color: #fff; }

/* ---------- CSR pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow-sm); border-bottom: 4px solid var(--orange); transition: .3s; }
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.pillar .pic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 15px; font-size: 24px; color: #fff; background: var(--orange); }
.pillar:nth-child(2) { border-color: var(--green); } .pillar:nth-child(2) .pic { background: var(--green); }
.pillar:nth-child(3) { border-color: var(--navy); } .pillar:nth-child(3) .pic { background: var(--navy); }
.pillar:nth-child(4) { border-color: #2f8fd6; } .pillar:nth-child(4) .pic { background: #2f8fd6; }
.pillar:nth-child(5) { border-color: #9b59b6; } .pillar:nth-child(5) .pic { background: #9b59b6; }
.pillar h3 { font-size: 17px; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 13.5px; }

/* ---------- CSR partnership tiers ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tier { background: #fff; border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); border: 2px solid var(--line); transition: .3s; position: relative; }
.tier:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.tier.featured { border-color: var(--orange); box-shadow: var(--shadow-md); }
.tier .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-family: var(--head); font-weight: 700; font-size: 12px; padding: 6px 18px; border-radius: 50px; }
.tier h3 { font-size: 22px; margin-bottom: 4px; }
.tier .amt { font-family: var(--head); font-weight: 800; font-size: 34px; color: var(--navy); margin-bottom: 4px; }
.tier .amt span { font-size: 14px; color: var(--muted); font-weight: 600; }
.tier .tdesc { color: var(--muted); font-size: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tier ul { display: grid; gap: 12px; margin-bottom: 24px; }
.tier ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.tier ul li i { color: var(--green); margin-top: 4px; }
.tier .btn { width: 100%; justify-content: center; }

/* ---------- Partner logos (text chips) ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.partner-chip { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 30px; font-family: var(--head); font-weight: 700; color: var(--navy); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 10px; }
.partner-chip i { color: var(--orange); font-size: 22px; }

/* ---------- Accordion / FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q { padding: 20px 24px; font-family: var(--head); font-weight: 700; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 16px; }
.faq-q i { color: var(--orange); transition: .3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--muted); }
.faq-a p { padding: 0 24px 20px; font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.blog-thumb { position: relative; height: 210px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.08); }
.blog-date { position: absolute; bottom: 14px; left: 14px; background: var(--orange); color: #fff; border-radius: 12px; padding: 8px 14px; text-align: center; font-family: var(--head); line-height: 1.1; }
.blog-date strong { display: block; font-size: 20px; font-weight: 800; }
.blog-date span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.blog-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { display: inline-flex; align-items: center; gap: 7px; font-family: var(--head); font-weight: 700; font-size: 12px; color: var(--green); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.blog-body h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.3; }
.blog-body h3 a:hover { color: var(--orange); }
.blog-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; flex: 1; }
.blog-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.blog-foot .read { font-family: var(--head); font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 7px; }
.blog-foot .read:hover { color: var(--orange); gap: 11px; }

/* ---------- Blog single ---------- */
.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 46px; align-items: start; }
.post-cover { border-radius: 22px; overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow-md); }
.post-cover img { width: 100%; height: 420px; object-fit: cover; }
.post-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.post-meta span { display: inline-flex; align-items: center; gap: 8px; }
.post-meta i { color: var(--orange); }
.post-body h2 { font-size: 27px; margin: 34px 0 14px; }
.post-body h3 { font-size: 21px; margin: 26px 0 12px; }
.post-body p { color: #45505f; font-size: 16px; margin-bottom: 18px; line-height: 1.85; }
.post-body ul.dotted { margin: 0 0 20px; display: grid; gap: 10px; }
.post-body ul.dotted li { position: relative; padding-left: 28px; color: #45505f; font-size: 15.5px; }
.post-body ul.dotted li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--green); position: absolute; left: 0; top: 2px; font-size: 13px; }
.post-quote { background: var(--soft); border-left: 5px solid var(--orange); border-radius: 0 14px 14px 0; padding: 24px 28px; margin: 26px 0; font-family: var(--head); font-size: 19px; color: var(--navy); font-style: italic; }
.post-share { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-share span { font-family: var(--head); font-weight: 700; color: var(--navy); }
.post-share a { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--navy); display: grid; place-items: center; transition: .25s; }
.post-share a:hover { background: var(--orange); color: #fff; }

/* Sidebar */
.sidebar { display: grid; gap: 28px; position: sticky; top: 100px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.widget h4 { font-size: 18px; margin-bottom: 18px; padding-bottom: 12px; position: relative; }
.widget h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--orange); border-radius: 2px; }
.widget-search { display: flex; gap: 8px; }
.widget-search input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font-family: var(--body); outline: 0; }
.widget-search button { background: var(--navy); color: #fff; border: 0; border-radius: 10px; width: 46px; cursor: pointer; }
.cat-list li a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-family: var(--head); font-weight: 600; color: var(--ink); font-size: 14.5px; transition: .2s; }
.cat-list li:last-child a { border-bottom: 0; }
.cat-list li a:hover { color: var(--orange); padding-left: 5px; }
.cat-list li a span { background: var(--soft); color: var(--muted); border-radius: 20px; padding: 2px 10px; font-size: 12px; }
.recent-post { display: flex; gap: 14px; margin-bottom: 16px; }
.recent-post:last-child { margin-bottom: 0; }
.recent-post img { width: 74px; height: 66px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.recent-post .rp-date { font-size: 12px; color: var(--orange); font-family: var(--head); font-weight: 600; }
.recent-post h5 { font-size: 14.5px; font-family: var(--head); color: var(--navy); line-height: 1.4; }
.recent-post h5 a:hover { color: var(--orange); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: var(--soft); color: var(--muted); font-size: 13px; padding: 7px 14px; border-radius: 8px; transition: .2s; }
.tag-cloud a:hover { background: var(--orange); color: #fff; }
.widget-cta { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; text-align: center; }
.widget-cta h4 { color: #fff; }
.widget-cta h4::after { left: 50%; transform: translateX(-50%); }
.widget-cta p { color: #cdd8ea; font-size: 14px; margin-bottom: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: start; }
.info-cards { display: grid; gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow-sm); transition: .3s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card .ic-ic { width: 52px; height: 52px; border-radius: 14px; background: #fff2e5; color: var(--orange); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.info-card:nth-child(2) .ic-ic { background: #eaf6e2; color: var(--green); }
.info-card:nth-child(3) .ic-ic { background: #e7eefb; color: var(--navy); }
.info-card h4 { font-size: 17px; margin-bottom: 4px; }
.info-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.info-card a { color: var(--muted); }
.info-card a:hover { color: var(--orange); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 36px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-family: var(--body);
  font-size: 15px; outline: 0; transition: .2s; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,128,29,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Donate page ---------- */
.donate-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: start; }
.donate-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.amt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.amt-opt { border: 2px solid var(--line); border-radius: 14px; padding: 18px 10px; text-align: center; cursor: pointer; font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--navy); transition: .2s; background: #fff; }
.amt-opt small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.amt-opt:hover, .amt-opt.active { border-color: var(--orange); background: #fff8f2; color: var(--orange); }
.toggle-row { display: flex; gap: 10px; margin-bottom: 22px; }
.toggle-row .amt-opt { flex: 1; font-size: 15px; padding: 12px; }
.impact-line { background: var(--soft); border-radius: 14px; padding: 16px 20px; display: flex; gap: 12px; align-items: center; margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.impact-line i { color: var(--green); font-size: 20px; }
.donate-side .value-card { margin-bottom: 18px; }
.bank-box { background: var(--soft); border-radius: var(--radius); padding: 26px; border: 1px dashed var(--navy); }
.bank-box h4 { margin-bottom: 14px; }
.bank-box .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.bank-box .row span { color: var(--muted); }
.bank-box .row b { color: var(--navy); font-family: var(--head); }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--orange), var(--orange-dark)); padding: 54px 0; }
.cta-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta-strip p { color: rgba(255,255,255,.92); margin-top: 6px; }

/* ---------- Intro lead ---------- */
.lead-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.section-alt { background: var(--soft); }
.section-cream { background: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split-grid, .split-grid.wide-text, .lead-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps, .mini-stats, .team-full { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .blog-grid, .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .split-media { max-width: 540px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .menu .has-drop > a .caret { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 0 12px; min-width: auto; background: transparent; margin-top: 2px;
  }
  .dropdown li a { padding: 10px 12px; font-size: 14px; }
  .dropdown li a:hover { padding-left: 12px; }
}
@media (max-width: 620px) {
  .steps, .mini-stats, .team-full, .value-grid, .blog-grid, .tier-grid, .pillar-grid, .form-grid, .amt-grid, .sidebar { grid-template-columns: 1fr; }
  .tick-list.two { grid-template-columns: 1fr; }
  .post-cover img { height: 240px; }
  .post-body h2 { font-size: 23px; }
}
