/* IGNOU landing page */
:root {
  --brand: #4c51a3;
  --brand-dark: #383c85;
  --brand-soft: #eef0fb;
  --accent: #ffc727;
  --accent-dark: #f0b400;
  --teal: #16b1a2;
  --ink: #141a2e;
  --muted: #5b6473;
  --line: #e4e7ef;
  --lf-accent: #4c51a3;
  --lf-accent-dark: #383c85;
}

/* Render the page at a 90% scale on tablets/desktops (sections looked oversized at 100%) */
@media (min-width: 768px) {
  html { zoom: 0.9; }
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: "Poppins", system-ui, sans-serif; color: var(--ink); background: #fff; overflow-x: hidden; }
img { max-width: 100%; }

/* ---------- buttons ---------- */
.btn-cta {
  background: var(--accent); color: #1b1b1b; font-weight: 600; border: 0;
  border-radius: 10px; padding: 10px 20px; box-shadow: 0 6px 16px rgba(240, 180, 0, .28);
}
.btn-cta:hover, .btn-cta:focus { background: var(--accent-dark); color: #000; }
.btn-ghost {
  background: rgba(255,255,255,.08); color: #fff; font-weight: 600; border: 1.5px solid rgba(255,255,255,.7);
  border-radius: 10px; padding: 10px 22px;
}
.btn-ghost:hover { background: #fff; color: var(--brand); }
.btn-link-cta { color: var(--brand); font-weight: 600; font-size: 14px; white-space: nowrap; padding: 6px 0; text-decoration: none; }
.btn-link-cta:hover { color: var(--brand-dark); }
.btn-link-cta i { transition: transform .15s; }
.btn-link-cta:hover i { transform: translateX(3px); }

/* ---------- nav ---------- */
.site-nav { background: #fff; box-shadow: 0 2px 14px rgba(20, 26, 46, .07); padding: 8px 0; }
.brand-logo { height: 56px; width: auto; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; font-size: 15px; }
.site-nav .nav-link:hover { color: var(--brand); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; padding: 56px 0 64px;
  background: url("../images/ignou.jpg?v=f5d52ab0") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(28, 31, 84, .94) 0%, rgba(44, 48, 120, .86) 48%, rgba(44, 48, 120, .55) 100%);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,199,39,.16); color: var(--accent);
  border: 1px solid rgba(255,199,39,.45); border-radius: 30px; padding: 4px 12px; font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.hero-title { font-weight: 800; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -.5px; }
.hero-title span { color: var(--accent); }
.course-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.course-chips a {
  color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 5px 14px; border-radius: 30px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); transition: background .15s;
}
.course-chips a:hover { background: rgba(255,255,255,.25); }
.hero-text { font-size: 17px; opacity: .92; max-width: 560px; margin-bottom: 20px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 8px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.hero-points i { color: var(--accent); margin-right: 4px; }
.hero-guidance { font-size: 14px; font-weight: 600; color: #cfd2ff; margin: 0; }
.hero-guidance i { margin-right: 6px; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.sec-head h2 { font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); margin: 6px 0 8px; line-height: 1.25; }
.sec-head p { color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 4px 12px; border-radius: 30px;
}

/* approvals */
.approvals { background: linear-gradient(180deg, #f6f7fd, #fff); }
.approval-card {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 14px;
  text-align: center; box-shadow: 0 8px 22px rgba(20, 26, 46, .05); transition: transform .2s, box-shadow .2s;
}
.approval-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(76, 81, 163, .14); }
.approval-card img { height: 64px; width: auto; object-fit: contain; margin-bottom: 12px; }
.approval-card p { margin: 0; font-weight: 600; font-size: 15px; }

/* reasons */
.reasons-img { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 40px rgba(20, 26, 46, .14); }
.reasons-img img { width: 100%; height: 420px; object-fit: cover; display: block; }
.reasons-badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.95); border-radius: 14px;
  padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 14px;
}
.reasons-badge i { color: #fff; background: var(--brand); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.reason-list { display: grid; gap: 14px; }
.reason-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.reason-item:hover { border-color: var(--brand); box-shadow: 0 10px 24px rgba(76, 81, 163, .12); }
.reason-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 20px; }
.reason-item h3 { font-size: 17px; font-weight: 700; margin: 0 0 2px; }
.reason-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* courses */
.courses { background: #f6f7fd; }
.course-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -10px 0 28px; }
.course-tabs button {
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px;
  padding: 8px 20px; border-radius: 30px; transition: all .15s;
}
.course-tabs button.active, .course-tabs button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.course-card {
  position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 18px;
  overflow: hidden; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(20, 26, 46, .05); transition: transform .2s, box-shadow .2s;
}
.course-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(76, 81, 163, .16); }
.course-img { aspect-ratio: 16 / 10; overflow: hidden; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.course-card:hover .course-img img { transform: scale(1.05); }
.badge-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px; box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.tag-hot { background: #ffe9a8; color: #7a5600; }
.tag-new { background: #ffe1e1; color: #b42318; }
.tag-open { background: #d9f7ef; color: #067a63; }
.course-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.course-spec { font-size: 12.5px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.course-body ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13.5px; color: #3b4252; flex: 1; }
.course-body li { display: flex; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.course-body li i { color: var(--brand); width: 14px; text-align: center; flex: none; }
.course-body li b { white-space: nowrap; }

/* EMI band */
.emi-band { padding: 0 0 10px; background: linear-gradient(180deg, #f6f7fd 50%, #fff 50%); }
.emi-inner {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: #fff; border-radius: 22px; padding: 26px 30px;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand) 60%, #6d72c9);
  box-shadow: 0 18px 36px rgba(56, 60, 133, .28);
}
.emi-ico { width: 62px; height: 62px; border-radius: 16px; background: var(--accent); color: #222; font-size: 30px; font-weight: 800; display: grid; place-items: center; flex: none; }
.emi-inner h2 { font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; margin: 0 0 4px; }
.emi-inner h2 span { color: var(--accent); }
.emi-inner p { opacity: .9; font-size: 14.5px; }

/* certificate */
.cert-frame { background: #fff; padding: 12px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 18px 36px rgba(20, 26, 46, .1); }
.cert-frame img { width: 100%; border-radius: 10px; display: block; }
.benefit {
  height: 100%; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px;
  background: #f6f7fd; font-weight: 500; font-size: 14.5px;
}
.benefit i { color: var(--brand); font-size: 18px; width: 22px; text-align: center; flex: none; }

/* process */
.process { background: #fff; }
.step-card {
  position: relative; height: 100%; padding: 26px 20px 22px; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(20, 26, 46, .05); overflow: hidden;
}
.step-card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--teal)); }
.step-no { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.step-card h3 { font-size: 16px; font-weight: 700; color: var(--brand); margin: 0 0 6px; }
.step-card p { margin: 0; color: #3b4252; font-size: 14.5px; }

/* partners */
.partners { background: #f6f7fd; }
.ourLearner .item { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 86px; display: grid; place-items: center; padding: 12px; }
.ourLearner .item img { max-height: 54px; width: auto !important; max-width: 100%; object-fit: contain; }

/* footer */
.site-footer { background: #11142b; color: #c9cbe0; padding: 26px 0 30px; font-size: 13.5px; }
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* floating CTA */
.enquire-tab {
  position: fixed; right: 0; top: 50%; z-index: 1030; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  align-items: center; gap: 8px; background: var(--accent); color: #1b1b1b; border: 0; font-weight: 700; font-size: 14px;
  padding: 16px 9px; border-radius: 0 10px 10px 0; box-shadow: -4px 0 16px rgba(0,0,0,.15);
}
.enquire-tab i { transform: rotate(90deg); }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: var(--brand-dark); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px;
  font-size: 13px; font-weight: 600; box-shadow: 0 -6px 18px rgba(0,0,0,.18);
}
.sticky-cta i { color: var(--accent); margin-right: 4px; }
.sticky-cta .btn { padding: 8px 18px; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .hero { padding: 36px 0 44px; }
  .hero::before { background: linear-gradient(180deg, rgba(28, 31, 84, .94), rgba(44, 48, 120, .88)); }
  .section { padding: 48px 0; }
  .reasons-img img { height: 320px; }
  body { padding-bottom: 58px; } /* room for sticky bar */
  .site-nav .navbar-collapse { padding: 8px 0 12px; }
}
@media (max-width: 575.98px) {
  .section { padding: 40px 0; }
  .sec-head { margin-bottom: 24px; }
  .hero-text { font-size: 15.5px; }
  .hero .btn { flex: 1 1 auto; }
  .reason-item { grid-template-columns: auto 1fr; }
  .reason-item .btn-link-cta { grid-column: 2; justify-self: start; padding-top: 0; }
  .emi-inner { padding: 22px 20px; text-align: center; justify-content: center; }
  .emi-inner .btn { width: 100%; }
  .approval-card img { height: 50px; }
  .approval-card p { font-size: 13.5px; }
  .brand-logo { height: 40px; }
}
