/* =========================================================
   UPQOR EDUCATION HUB - FULL RESPONSIVE THEME CSS
   Replace your old CSS file with this file.
========================================================= */

:root {
  --navy: #07152d;
  --ink: #14213d;
  --muted: #65758e;
  --bg: #f7f4ee;
  --white: #ffffff;
  --line: #e7ddcf;
  --blue: #1f5eff;
  --cyan: #00b8d9;
  --green: #18b875;
  --yellow: #c99a2e;
  --purple: #7048e8;
  --pink: #c64d73;
  --gold: #c9a24a;
  --cream: #fffaf0;
  --shadow: 0 24px 70px rgba(6, 22, 51, .13);
  --soft: 0 14px 36px rgba(6, 22, 51, .08);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.58;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
}

h1 {
  font-size: clamp(34px, 4vw, 40px);
  line-height: 1.02;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
  color: var(--navy);
}

h2 {
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -.7px;
  margin-bottom: 14px;
  color: var(--navy);
}

h3 {
  font-size: 21px;
  line-height: 1.22;
  margin-bottom: 9px;
}

/* Top Strip */
.top {
  background: linear-gradient(90deg, #07152d, #123061, #8b6b23);
  color: #fff;
  text-align: center;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .15px;
}

/* Header */
.site-header,
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, .09);
  box-shadow: 0 10px 34px rgba(15, 23, 42, .05);
}

.site-nav,
.nav {
  max-width: 1240px;
  margin: auto;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-brand,
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  color: var(--navy);
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}

.site-mark,
.mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 18px;
  background: linear-gradient(135deg, #07152d, #1f5eff, #c9a24a);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 109, 246, .28);
  transition: transform .25s ease;
}

.site-brand:hover .site-mark,
.brand:hover .mark {
  transform: rotate(-5deg) scale(1.04);
}

.site-brand-title,
.brand > span:not(.mark) {
  font-size: 21px;
  line-height: 1.05;
}

.site-brand-title small,
.brand small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-top: 3px;
  font-weight: 900;
  white-space: normal;
}

.site-links,
.links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 850;
  color: #34445e;
}

.site-link,
.nav-link,
.links > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 4px;
  color: inherit;
  text-decoration: none;
}

.site-link::after,
.nav-link::after,
.links > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: .22s ease;
}

.site-link:hover::after,
.site-link.active::after,
.nav-link:hover::after,
.nav-link.active::after,
.links > a:hover::after,
.links > a.active::after {
  transform: scaleX(1);
}

.site-nav-item,
.nav-item {
  position: relative;
}

.site-chev,
.chev {
  font-size: 12px;
  transition: .25s;
}

.site-nav-item:hover .site-chev,
.nav-item:hover .chev {
  transform: rotate(180deg);
}

.site-dropdown,
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 335px;
  background: #fff;
  border: 1px solid rgba(220, 231, 246, .95);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 28px 80px rgba(6, 22, 51, .18);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
  z-index: 100;
}

.site-nav-item:hover .site-dropdown,
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.site-login-menu,
.login-menu {
  width: 265px;
  left: auto;
  right: 0;
  transform: translateY(12px);
}

.site-nav-item:hover .site-login-menu,
.nav-item:hover .login-menu {
  transform: translateY(0);
}

.site-drop-card,
.drop-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 16px;
  margin: 3px 0;
  transition: .22s;
  border: 1px solid transparent;
}

.site-drop-card:hover,
.drop-card:hover {
  background: linear-gradient(135deg, #f6faff, #fff);
  border-color: #dce7f6;
  transform: translateX(4px);
}

.site-drop-ico,
.drop-ico {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--dc, #1f5eff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 19px;
  box-shadow: 0 12px 24px rgba(6, 22, 51, .14);
  font-family: Inter, "Segoe UI Emoji", "Apple Color Emoji", Arial, sans-serif;
}

.site-drop-card b,
.drop-card b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  white-space: normal;
}

.drop-card span {
  display: none !important;
}

.sd1,
.d1 {
  --dc: var(--blue);
}

.sd2,
.d2 {
  --dc: var(--green);
}

.sd3,
.d3 {
  --dc: var(--yellow);
}

.sd4,
.d4 {
  --dc: var(--purple);
}

.sd5,
.d5 {
  --dc: var(--pink);
}

.site-register,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #07152d, #1f5eff, #c9a24a);
  color: #fff !important;
  font-weight: 950;
  border: 0;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(47, 109, 246, .28);
  transition: transform .22s ease, box-shadow .22s ease;
}

.site-register:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(7, 21, 45, .22);
}

.btn.light {
  background: #fff;
  color: var(--blue) !important;
  border: 1px solid #cfe0ff;
  box-shadow: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(201, 162, 74, .24), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(31, 94, 255, .16), transparent 28%),
    linear-gradient(135deg, #fffaf0, #ffffff 48%, #eef3ff);
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -190px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 189, 46, .3), rgba(137, 92, 255, .2));
}

.wrap,
.container {
  max-width: 1240px;
  margin: auto;
}

.wrap {
  padding: 0px 22px 0px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 48px;
  align-items: center;
}

.pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 950;
}

.pill {
  background: #fff;
  border: 1px solid #d8e7ff;
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: var(--soft);
  margin-bottom: 16px;
}

.lead {
  font-size: 19px;
  color: #42546f;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.visual-board {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 38px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: var(--navy);
  border-radius: 28px;
  padding: 20px;
  color: #fff;
}

.board-head h3 {
  color: #fff;
  margin: 0;
}

.board-head p {
  color: #b9c8de;
  margin: 5px 0 0;
  font-size: 13px;
}

.school-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  display: grid;
  place-items: center;
  font-size: 32px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.mini-service {
  position: relative;
  border-radius: 999px;
  width: 96px;
  height: 96px;
  text-align: center;
  color: var(--navy);
  font-weight: 950;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: auto;
  border: 2px solid var(--mini-c);
  background: radial-gradient(circle at 50% 34%, #fff 0 43%, color-mix(in srgb, var(--mini-c) 12%, white) 44% 100%);
  box-shadow: 0 14px 34px rgba(6, 22, 51, .08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.mini-service:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 24px 55px rgba(6, 22, 51, .18);
}

.mini-service span {
  font-size: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--mini-c) 14%, white);
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}

.mini-service b {
  font-size: 12px;
  line-height: 1.1;
}

.mini-service small {
  font-size: 10px;
  color: #51627c;
  font-weight: 850;
  line-height: 1.05;
}

.m1 { --mini-c: var(--blue); }
.m2 { --mini-c: var(--green); }
.m3 { --mini-c: var(--yellow); }
.m4 { --mini-c: var(--purple); }
.m5 { --mini-c: var(--pink); }

.impact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.impact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
}

.impact b {
  display: block;
  font-size: 26px;
  color: var(--navy);
}

.impact span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
}

/* Sections */
section {
  padding: 74px 22px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.head {
  max-width: 1000px;
  margin-bottom: 38px;
}

/* Glance */
.glance {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: stretch;
}

.infographic-circle,
.radial-services {
  background: radial-gradient(circle at center, #ffffff 0%, #ffffff 42%, #fffaf0 100%);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  min-height: 620px;
  height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.radial-services::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(201, 162, 74, .42);
  background: radial-gradient(circle, rgba(31, 94, 255, .06), transparent 62%);
  z-index: 0;
}

.service-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.service-lines line {
  stroke: rgba(7, 21, 45, .22);
  stroke-width: .42;
  stroke-linecap: round;
  stroke-dasharray: 2 2;
}

.hub,
.education-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, #07152d, #123061, #1f5eff);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  box-shadow: 0 18px 46px rgba(7, 21, 45, .28);
  z-index: 3;
}

.education-hub span {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #cde9ff;
  font-weight: 950;
  margin-bottom: 7px;
}

.education-hub b,
.hub b {
  display: block;
  font-size: 25px;
  line-height: 1.05;
}

.education-hub small {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.node,
.service-node {
  position: absolute;
  width: 166px;
  height: 166px;
  border: 2px solid var(--c);
  border-radius: 50%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  box-shadow: 0 20px 50px rgba(6, 22, 51, .12);
  z-index: 2;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.service-node:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 30px 75px rgba(6, 22, 51, .18);
}

.node .ico,
.service-node .ico {
  margin: 0 0 9px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 16%, white);
  color: var(--c);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.service-node h3,
.node h3 {
  font-size: 16px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.service-node p,
.node p {
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  color: #50627d;
}

.radial-services .n1,
.n1 {
  --c: var(--blue);
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
}

.radial-services .n2,
.n2 {
  --c: var(--green);
  right: 38px;
  top: 176px;
}

.radial-services .n3,
.n3 {
  --c: var(--yellow);
  right: 94px;
  bottom: 36px;
}

.radial-services .n4,
.n4 {
  --c: var(--purple);
  left: 94px;
  bottom: 36px;
}

.radial-services .n5,
.n5 {
  --c: var(--pink);
  left: 38px;
  top: 176px;
}

.quick-panel {
  display: grid;
  gap: 16px;
}

.quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  transition: transform .28s ease, box-shadow .28s ease;
}

.quick-card:hover,
.step:hover,
.benefit:hover,
.impact:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 68px rgba(6, 22, 51, .13);
}

.num {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--c);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
}

.quick-card p {
  margin: 0;
  font-size: 14px;
}

.q1 { --c: var(--blue); }
.q2 { --c: var(--green); }
.q3 { --c: var(--yellow); }
.q4 { --c: var(--purple); }
.q5 { --c: var(--pink); }

/* Service Cards */
.services {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service {
  background: linear-gradient(180deg, #fff, #fffaf0);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--soft);
  position: relative;
  transition: .28s;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  scroll-margin-top: 110px;
}

.service:hover,
.service:target {
  transform: translateY(-10px);
  box-shadow: 0 30px 78px rgba(6, 22, 51, .18);
  border-color: var(--c);
}

.service-top {
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 62%, #fff));
  color: #fff;
  padding: 22px;
  min-height: 178px;
  position: relative;
  overflow: hidden;
}

.service-top::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.service-top::before {
  content: "More Info";
  position: absolute;
  right: 16px;
  top: 16px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.service-top .big {
  font-size: 46px;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.service-top h3 {
  color: #fff;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.service-body {
  padding: 21px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.service-body ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-body li {
  margin: 9px 0;
}

.service-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(201, 162, 74, .28);
  border-radius: 18px;
  padding: 12px 14px;
  color: #07152d;
  font-weight: 950;
}

.service-cta span:last-child {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  display: grid;
  place-items: center;
  transition: .2s;
}

.service:hover .service-cta span:last-child {
  transform: translateX(4px);
}

.s1 { --c: var(--blue); }
.s2 { --c: var(--green); }
.s3 { --c: var(--yellow); }
.s4 { --c: var(--purple); }
.s5 { --c: var(--pink); }

/* Dark Experience Section */
.dark {
  background: linear-gradient(135deg, var(--navy), #123061);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.dark h2,
.dark h3 {
  color: #fff;
}

.dark p {
  color: #ccdaf0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  padding: 24px;
  transition: .28s;
}

.step b {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}

/* Benefits */
.benefits,
.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit,
.aud {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--soft);
  transition: .28s;
}

.benefit span,
.aud .emoji {
  font-size: 34px;
  display: block;
  margin-bottom: 10px;
}

/* CTA Form */
.cta {
  background: linear-gradient(135deg, #fffaf0, #fff, #eef3ff);
  border: 1px solid #e7ddcf;
  border-radius: 40px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 34px;
  box-shadow: var(--shadow);
}

form {
  background: #fff;
  border: 1px solid #e0e8f5;
  border-radius: 30px;
  padding: 26px;
}

label {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  margin: 12px 0 6px;
  color: #2d3b50;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d6e0ee;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fbfdff;
  outline: none;
  transition: .2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, .12);
}

textarea {
  min-height: 98px;
  resize: vertical;
}

button.btn {
  width: 100%;
  margin-top: 16px;
}

/* Footer */
.upqor-clean-footer,
.site-footer,
footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(201, 162, 74, .13), transparent 30%),
    radial-gradient(circle at 92% 4%, rgba(31, 94, 255, .16), transparent 32%),
    linear-gradient(135deg, #07152d 0%, #10294f 58%, #173a6b 100%);
  color: #d8e4f5;
  padding: 54px 22px 24px;
  margin: 0;
}

.upqor-clean-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .045), transparent 32%, rgba(255, 255, 255, .025));
  pointer-events: none;
}

.upqor-footer-wrap,
.site-footer-wrap,
.foot {
  max-width: 1240px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.upqor-footer-grid,
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.55fr .75fr 1.05fr 1.25fr;
  gap: 38px;
  align-items: start;
}

.upqor-footer-brand,
.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.upqor-footer-mark,
.site-footer-mark {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1f5eff, #00b8d9, #c9a24a);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(31, 94, 255, .22);
}

.upqor-clean-footer h3,
.site-footer h3 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 19px;
  letter-spacing: -.02em;
}

.upqor-footer-brand h3,
.site-footer-brand h3 {
  font-size: 23px;
  margin: 0 0 3px;
}

.upqor-footer-brand p,
.site-footer-brand p,
.upqor-clean-footer p,
.site-footer p,
footer p {
  color: #d8e4f5;
  margin: 0 0 12px;
  line-height: 1.65;
  font-size: 14.5px;
}

.upqor-clean-footer a,
.site-footer a,
footer a {
  color: #d8e4f5;
  text-decoration: none;
}

.upqor-clean-footer a:hover,
.site-footer a:hover,
footer a:hover {
  color: #fff;
}

.upqor-footer-links,
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.upqor-footer-links li a,
.site-footer li a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
}

.upqor-footer-links li a::before,
.site-footer li a::before {
  content: "›";
  color: var(--gold);
  font-weight: 950;
  font-size: 18px;
  line-height: 1;
}

.upqor-socials,
.site-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.upqor-social,
.site-social {
  width: 39px;
  height: 39px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .075);
  display: grid;
  place-items: center;
  color: #fff !important;
  font-weight: 950;
  transition: .22s;
}

.upqor-social:hover,
.site-social:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #1f5eff, #00b8d9);
  border-color: rgba(255, 255, 255, .30);
}

.upqor-contact-list,
.site-contact-list {
  display: grid;
  gap: 8px;
}

.upqor-contact-list p,
.site-contact-line {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  color: #d8e4f5;
}

.upqor-contact-list span:first-child {
  width: 20px;
  flex: 0 0 20px;
  text-align: center;
}

.upqor-footer-note {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px;
  color: #b9c8dc !important;
}

.upqor-footer-bottom,
.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #b9c8dc;
}

.upqor-footer-bottom a,
.site-footer-bottom a {
  color: #fff;
}

/* Back to top arrow */
.back-to-top,
#scrollUp,
.scroll-top,
#scrollTopBtn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #07152d, #1f5eff, #c9a24a);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(7, 21, 45, .28);
  transition: .25s ease;
}

.back-to-top:hover,
#scrollUp:hover,
.scroll-top:hover,
#scrollTopBtn:hover {
  transform: translateY(-4px);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.4, 0, .2, 1), transform .65s cubic-bezier(.4, 0, .2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid,
  .glance,
  .cta {
    grid-template-columns: 1fr;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline,
  .benefits,
  .audiences,
  .impact-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .radial-services,
  .infographic-circle {
    height: auto;
    min-height: auto;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .radial-services::before,
  .service-lines {
    display: none;
  }

  .education-hub,
  .hub {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    min-height: 170px;
    border-radius: 34px;
    grid-column: 1 / -1;
  }

  .service-node,
  .node {
    position: static !important;
    transform: none !important;
    width: auto;
    height: auto;
    min-height: 150px;
    border-radius: 30px;
  }

  .service-node:hover {
    transform: translateY(-6px) !important;
  }

  .upqor-footer-grid,
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .site-links,
  .links {
    display: none;
  }

  .site-dropdown,
  .dropdown {
    display: none !important;
  }

  .site-brand-title,
  .brand > span:not(.mark) {
    font-size: 18px;
  }
}

@media (max-width: 720px) {
  .top {
    text-align: center;
    font-size: 11.5px;
    line-height: 1.35;
    padding: 7px 12px;
  }

  .site-nav,
  .nav {
    padding: 12px 14px;
  }

  .site-mark,
  .mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 15px;
  }

  .site-brand-title,
  .brand > span:not(.mark) {
    font-size: 15px;
  }

  .site-brand-title small,
  .brand small {
    font-size: 8px;
    letter-spacing: .07em;
  }

  section {
    padding: 48px 16px;
  }

  .wrap {
    padding: 44px 16px 48px;
  }

  .visual-board,
  .cta,
  form {
    border-radius: 26px;
    padding: 20px;
  }

  .board-head {
    border-radius: 22px;
    padding: 16px;
  }

  .mini-grid,
  .impact-row,
  .services,
  .timeline,
  .benefits,
  .audiences,
  .radial-services,
  .infographic-circle,
  .upqor-footer-grid,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .mini-service {
    width: 106px;
    height: 106px;
  }

  .service-top {
    min-height: 148px;
  }

  .service-top h3 {
    font-size: 20px;
  }

  .quick-card {
    padding: 18px;
  }

  .upqor-clean-footer,
  .site-footer,
  footer {
    padding: 42px 18px 22px;
  }

  .upqor-footer-grid,
  .site-footer-grid {
    gap: 26px;
  }

  .upqor-footer-bottom,
  .site-footer-bottom {
    display: block;
  }

  .upqor-footer-bottom span,
  .site-footer-bottom span {
    display: block;
    margin: 6px 0;
  }

  .back-to-top,
  #scrollUp,
  .scroll-top,
  #scrollTopBtn {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 20px;
  }
}

@media (max-width: 390px) {
  .site-brand-title,
  .brand > span:not(.mark) {
    font-size: 13.5px;
  }

  .site-brand-title small,
  .brand small {
    font-size: 7px;
  }
}

/* Upqor Login Modal Theme */
.popup_modal .modal-dialog {
  max-width: 460px;
  width: calc(100% - 28px);
  margin: 14px auto;
}

.popup_modal .modal-content {
  position: relative;
  border-radius: 30px;
  padding: 34px 30px 26px;
  background:
    radial-gradient(circle at 95% 0%, rgba(31,94,255,.14), transparent 35%),
    linear-gradient(135deg, #fffaf0, #ffffff 52%, #eef3ff);
  box-shadow: 0 34px 90px rgba(7, 21, 45, .28);
  overflow: hidden;
}

.popup_modal .modal-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, #07152d, #1f5eff, #c9a24a);
}

.popup_modal .modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  color: #07152d;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(7, 21, 45, .12);
}

.popup_modal .title {
  padding-right: 45px;
  margin-bottom: 24px;
}

.popup_modal .login-title1 {
  font-size: 30px;
  font-weight: 950;
  color: #07152d;
  line-height: 1.1;
}

.popup_modal .title span {
  display: block;
  margin-top: 8px;
  color: #65758e;
  font-size: 15px;
}

.popup_modal .hdform label {
  display: block;
  margin: 14px 0 7px;
  color: #14213d;
  font-size: 13px;
  font-weight: 900;
}

.popup_modal .form-group {
  position: relative;
  margin: 0 0 14px;
}

.popup_modal .form-group input {
  width: 100%;
  height: 52px;
  border: 1px solid #d6e0ee;
  border-radius: 17px;
  background: #fff;
  padding: 0 48px;
  font-size: 15px;
  color: #14213d;
  outline: none;
  box-shadow: 0 8px 22px rgba(7, 21, 45, .05);
}

.popup_modal .form-group input:focus {
  border-color: #1f5eff;
  box-shadow: 0 0 0 4px rgba(31, 94, 255, .12);
}

.popup_modal .icon-inputlogin {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 2;
  transform: translateY(-50%);
  color: #07152d;
}

.popup_modal #togglePassword {
  left: auto;
  right: 16px;
}

.popup_modal .forget-password {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 20px;
  font-size: 14px;
}

.popup_modal .forget-password .pull-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.popup_modal .forget-password input {
  width: 16px;
  height: 16px;
  accent-color: #1f5eff;
}

.popup_modal .forget-password label {
  margin: 0;
  font-size: 14px;
  color: #14213d;
}

.popup_modal .forget-password a {
  color: #1f5eff;
  font-weight: 800;
  text-decoration: none;
}

.popup_modal .btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #07152d, #1f5eff, #c9a24a);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(31, 94, 255, .24);
}

.popup_modal .login_popup_footer {
  margin-top: 16px;
  text-align: center;
}

.popup_modal .new_member {
  margin: 0;
  color: #65758e;
  font-size: 14px;
}

.popup_modal .new_member a {
  color: #1f5eff;
  font-weight: 900;
  text-decoration: none;
}

/* Student mobile +91 */
.popup_modal .form-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  font-style: normal;
  font-weight: 900;
  color: #07152d;
}

.popup_modal .form-group i + input {
  padding-left: 58px;
}

/* OTP */
.popup_modal .inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 10px 0 20px;
}

.popup_modal .otp_val {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1px solid #d6e0ee;
  background: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: #07152d;
}

.popup_modal .otp_val:focus {
  border-color: #1f5eff;
  box-shadow: 0 0 0 4px rgba(31, 94, 255, .12);
  outline: none;
}

/* Mobile */
@media (max-width: 575px) {
  .popup_modal .modal-dialog {
    width: calc(100% - 20px);
  }

  .popup_modal .modal-content {
    padding: 30px 20px 22px;
    border-radius: 24px;
  }

  .popup_modal .login-title1 {
    font-size: 25px;
  }

  .popup_modal .title span {
    font-size: 14px;
  }

  .popup_modal .form-group input {
    height: 50px;
    border-radius: 15px;
  }

  .popup_modal .forget-password {
    align-items: flex-start;
    flex-direction: column;
  }

  .popup_modal .inputs {
    gap: 7px;
  }

  .popup_modal .otp_val {
    height: 48px;
    font-size: 18px;
    border-radius: 13px;
  }
}

/* Forgot Password Page */
.forgot-hero {
  padding: 78px 22px 46px;
  background:
    radial-gradient(circle at 12% 15%, rgba(201,162,74,.22), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(31,94,255,.16), transparent 30%),
    linear-gradient(135deg, #fffaf0, #ffffff 52%, #eef3ff);
}

.forgot-hero-inner {
  max-width: 820px;
  margin: auto;
  text-align: center;
}

.forgot-badge {
  display: inline-flex;
  padding: 8px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8e7ff;
  color: #1f5eff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 14px 36px rgba(6,22,51,.08);
}

.forgot-hero h1 {
  margin: 18px 0 12px;
  color: #07152d;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -2px;
}

.forgot-hero p {
  max-width: 620px;
  margin: auto;
  color: #65758e;
  font-size: 18px;
}

.forgot-section {
  padding: 42px 22px 78px;
  background: #f7f4ee;
}

.forgot-card {
  max-width: 1080px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  padding: 28px;
  border-radius: 38px;
  background: rgba(255,255,255,.78);
  border: 1px solid #e7ddcf;
  box-shadow: 0 24px 70px rgba(6,22,51,.13);
}

.forgot-form-box,
.help-card {
  background: #fff;
  border: 1px solid #e0e8f5;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 14px 36px rgba(6,22,51,.08);
}

.forgot-form-box h3 {
  margin-bottom: 8px;
  color: #07152d;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.6px;
}

.forgot-sub {
  margin-bottom: 24px;
  color: #65758e;
  font-size: 15px;
}

.forgot-form-box label {
  display: block;
  margin-bottom: 8px;
  color: #14213d;
  font-size: 13px;
  font-weight: 900;
}

.forgot-input {
  position: relative;
  margin-bottom: 22px;
}

.forgot-input input {
  width: 100%;
  height: 56px;
  border: 1px solid #d6e0ee;
  border-radius: 18px;
  padding: 0 52px 0 16px;
  background: #fbfdff;
  color: #14213d;
  font-size: 15px;
  outline: none;
  transition: .22s ease;
}

.forgot-input input:focus {
  border-color: #1f5eff;
  box-shadow: 0 0 0 4px rgba(31,94,255,.12);
  background: #fff;
}

.forgot-input span {
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
}

.forgot-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.forgot-actions .btn {
  min-height: 52px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 950;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.forgot-actions .btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #07152d, #1f5eff, #c9a24a);
  color: #fff;
  box-shadow: 0 16px 36px rgba(31,94,255,.24);
}

.forgot-actions .btn-outline {
  background: #fff !important;
  color: #1f5eff !important;
  border: 1px solid #cfe0ff !important;
}

.forgot-help-box {
  display: grid;
  gap: 18px;
}

.help-card h4 {
  margin: 0 0 14px;
  color: #07152d;
  font-size: 20px;
}

.help-card ul {
  margin: 0;
  padding-left: 18px;
  color: #65758e;
}

.help-card li {
  margin: 9px 0;
}

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

@media (max-width: 575px) {
  .forgot-hero {
    padding: 54px 16px 34px;
  }

  .forgot-section {
    padding: 26px 16px 54px;
  }

  .forgot-card {
    padding: 16px;
    border-radius: 28px;
  }

  .forgot-form-box,
  .help-card {
    padding: 22px;
    border-radius: 24px;
  }

  .forgot-form-box h3 {
    font-size: 25px;
  }

  .forgot-actions {
    display: grid;
  }

  .forgot-actions .btn {
    width: 100%;
  }
}

.btn.alt{
    background:#fff;
    color:var(--navy);
    border:1px solid var(--line);
    box-shadow:none;
}

.upqor-cta {
  background: #f5f7fa;
  padding: 50px 20px;
  border-top: 6px solid #0b3d6e;
  border-bottom: 6px solid #0b3d6e;
}

.cta-wrap {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cta-wrap h2 {
  font-size: 34px;
  font-weight: 800;
  color: #0b1c39;
  margin: 0;
}

/* Button */
.cta-btn {
  background: linear-gradient(135deg, #1f5eff, #3f6df6);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 6px 18px rgba(31,94,255,0.25);
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 30px;
  border-radius: 999px;

  font-weight: 800;
  font-size: 16px;
  color: #fff;
  text-decoration: none;

  background: linear-gradient(135deg, #07152d 0%, #1f5eff 50%, #c9a24a 100%);
  
  box-shadow: 0 10px 25px rgba(31, 94, 255, 0.25);
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 35px rgba(7, 21, 45, 0.35);
}


/* Responsive */
@media (max-width: 768px) {
  .cta-wrap {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cta-wrap h2 {
    font-size: 24px;
  }

  .cta-btn {
    width: 100%;
    max-width: 260px;
  }
}

.upqor-store-links {
  display: flex;
  flex-direction: row;   /* FORCE ROW */
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.store-badge {
  display: inline-block;
}

.store-badge img {
  height: 45px;
  width: auto;
  display: block;
}

/* MOBILE FIX */
@media (max-width: 576px) {
  .upqor-store-links {
    justify-content: center;
  }

  .store-badge img {
    height: 40px;
  }
}

.erp-image-card {
  padding: 16px !important;
  border-radius: 34px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(15,23,42,.12);
  overflow: hidden;
}

.erp-image-card img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
  border-radius: 26px;
}

@media (max-width: 980px) {
  .erp-image-card {
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .erp-image-card {
    padding: 10px !important;
    border-radius: 24px;
  }

  .erp-image-card img {
    border-radius: 18px;
  }
}

.classroom-image-card {
  padding: 16px;
  border-radius: 32px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 24px 70px rgba(15,23,42,.12);
  overflow: hidden;
}

.classroom-image-card img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* Tablet */
@media (max-width: 980px) {
  .classroom-image-card {
    max-width: 720px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .classroom-image-card {
    padding: 10px;
    border-radius: 22px;
  }

  .classroom-image-card img {
    border-radius: 16px;
    max-height: none;
  }
}

.lab-image-card {
  padding: 16px;
  border-radius: 32px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(15,23,42,.12);
  overflow: hidden;
}

.lab-image-card img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

@media (max-width: 980px) {
  .lab-image-card {
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .lab-image-card {
    padding: 10px;
    border-radius: 22px;
  }

  .lab-image-card img {
    border-radius: 16px;
    max-height: none;
  }
}

.infra-image-card {
  padding: 16px;
  border-radius: 32px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(15,23,42,.12);
  overflow: hidden;
}

.infra-image-card img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain; /* IMPORTANT for icons */
  border-radius: 24px;
  display: block;
}

/* Tablet */
@media (max-width: 980px) {
  .infra-image-card {
    max-width: 720px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .infra-image-card {
    padding: 10px;
    border-radius: 22px;
  }

  .infra-image-card img {
    border-radius: 16px;
    max-height: none;
  }
}

.service-image-card {
  padding: 16px;
  border-radius: 32px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(15,23,42,.12);
  overflow: hidden;
  position: relative;
}

/* Optional overlay for readability */
.service-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.15), transparent);
  pointer-events: none;
  border-radius: 32px;
}

.service-image-card img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* Tablet */
@media (max-width: 980px) {
  .service-image-card {
    max-width: 720px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .service-image-card {
    padding: 10px;
    border-radius: 20px;
  }

  .service-image-card img {
    border-radius: 14px;
    max-height: none;
  }
}