:root {
  --navy: #071b49;
  --navy2: #0d2d67;
  --red: #e3132a;
  --gold: #f5bf27;
  --ink: #101a2e;
  --muted: #647087;
  --paper: #f6f8fc;
  --white: #fff;
  --shadow: 0 24px 70px rgba(7, 27, 73, .12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden
}

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

img {
  max-width: 100%;
  display: block
}

.container {
  width: min(1180px, 92%);
  margin: auto
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  z-index: 1000
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 27, 73, .94);
  backdrop-filter: blur(16px);
  transition: .3s
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand img {
  width: 112px;
  height: 72px;
  object-fit: contain;
  /* filter: brightness(0) invert(1) */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #fff;
  font-size: 14px;
  font-weight: 600
}

.nav-links a {
  opacity: .86;
  transition: .25s
}

.nav-links a:hover {
  opacity: 1;
  color: #fff
}

.nav-cta {
  background: var(--red);
  padding: 12px 19px;
  border-radius: 999px !important;
  opacity: 1 !important
}

.menu-toggle {
  display: none;
  background: none;
  border: 0
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px
}

.hero {
  min-height: 820px;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 82px
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, #000, transparent)
}

.hero:after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  right: -180px;
  top: 90px;
  background: radial-gradient(circle, rgba(227, 19, 42, .28), transparent 67%)
}

.hero-inner {
  min-height: 738px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 55px;
  position: relative;
  z-index: 2
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce7ff
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--red);
  display: inline-block
}

.eyebrow.dark {
  color: var(--red)
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -1.7px
}

h1 {
  font-size: clamp(48px, 6vw, 79px);
  line-height: 1.02;
  margin: 22px 0
}

h1 em,
h2 em {
  font-style: normal;
  color: var(--red)
}

.hero-text {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.75;
  color: #c8d5ec
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 34px 0 48px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: .25s;
  cursor: pointer
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 30px rgba(227, 19, 42, .3)
}

.btn-primary:hover {
  transform: translateY(-3px)
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy)
}

.hero-points {
  display: flex;
  gap: 35px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 25px
}

.hero-points div {
  display: flex;
  flex-direction: column;
  gap: 5px
}

.hero-points strong {
  font-size: 15px
}

.hero-points span {
  font-size: 11px;
  color: #8fa1c2
}

.hero-card {
  height: 590px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center
}

.card-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 0 90px rgba(255, 255, 255, .035)
}

.hero-logo {
  width: min(470px, 82%);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 35px rgba(0, 0, 0, .25))
}

.floating-badge {
  position: absolute;
  z-index: 4;
  background: #fff;
  color: var(--navy);
  padding: 13px 18px;
  border-radius: 15px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, .22);
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800
}

.floating-badge span {
  font-size: 10px;
  line-height: 1.15;
  color: var(--muted)
}

.badge-one {
  left: 0;
  top: 150px;
  color: var(--red);
  font-size: 22px
}

.badge-two {
  right: 10px;
  bottom: 140px;
  color: var(--navy);
  font-size: 22px
}

.formula {
  position: absolute;
  right: 25px;
  top: 70px;
  color: #90a5ca;
  font-family: serif;
  font-size: 23px;
  transform: rotate(-8deg)
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 2px;
  color: #91a3c2;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px
}

.scroll-cue span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--red);
  border-radius: 50%
}

.stats {
  background: var(--red);
  color: #fff
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 0
}

.stat {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .2)
}

.stat:last-child {
  border: 0
}

.stat b {
  display: block;
  font-family: "Playfair Display";
  font-size: 35px
}

.stat span {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .8
}

.section {
  padding: 115px 0
}

.about {
  background: var(--paper)
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start
}

h2 {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.08;
  margin-top: 17px
}

.about-copy {
  padding-top: 38px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px
}

.about-copy p+p {
  margin-top: 17px
}

.quote {
  border-left: 3px solid var(--red);
  margin-top: 30px;
  padding: 12px 0 12px 20px;
  color: var(--navy);
  font-weight: 700
}

.courses {
  background: #fff
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 55px
}

.section-top>p {
  max-width: 390px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.course-card {
  border: 1px solid #e4e9f2;
  border-radius: var(--radius);
  padding: 31px;
  min-height: 335px;
  position: relative;
  overflow: hidden;
  transition: .35s;
  background: #fff
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent
}

.course-card.featured {
  background: var(--navy);
  color: #fff
}

.course-number {
  position: absolute;
  right: 24px;
  top: 20px;
  font-size: 11px;
  letter-spacing: 1px;
  opacity: .35
}

.icon {
  font-family: Georgia, serif;
  color: var(--red);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 25px
}

.featured .icon {
  color: var(--gold)
}

.course-card h3 {
  font-family: "Playfair Display";
  font-size: 25px;
  margin-bottom: 12px
}

.course-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7
}

.featured p {
  color: #aebbd3
}

.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 20px 0
}

.tags span {
  font-size: 10px;
  font-weight: 700;
  padding: 7px 9px;
  border-radius: 999px;
  background: #f0f3f8;
  color: var(--navy)
}

.featured .tags span {
  background: rgba(255, 255, 255, .1);
  color: #dbe5f6
}

.course-card>a {
  font-size: 12px;
  font-weight: 800;
  color: var(--red)
}

.featured>a {
  color: var(--gold)
}

.schedule-section {
  background: var(--navy);
  color: #fff
}

.schedule-top p {
  color: #9eaecc
}

.schedule-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 35px;
  align-items: start
}

.schedule-table-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.schedule-block {
  background: #fff;
  color: var(--ink);
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12)
}

.schedule-head {
  background: #0c438e;
  color: #fff;
  padding: 15px 18px;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  justify-content: space-between
}

.schedule-head.green {
  background: #078f7e
}

.schedule-head.purple {
  background: #6740b8
}

.schedule-head.orange {
  background: #ed7a29
}

.schedule-head.pink {
  background: #d51e61
}

.schedule-head span {
  opacity: .5;
  font-size: 10px
}

.row {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid #edf0f5;
  font-size: 11px;
  line-height: 1.4
}

.row:last-child {
  border: 0
}

.row b {
  color: var(--navy)
}

.row span {
  color: #5c677b
}

.schedule-block:nth-child(1) {
  grid-column: span 2
}

.schedule-block:nth-child(6) {
  grid-column: span 2
}

.further-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr)
}

.further-grid div {
  text-align: center;
  padding: 17px 8px;
  border-right: 1px solid #e9edf3
}

.further-grid div:last-child {
  border: 0
}

.further-grid b {
  display: block;
  color: var(--navy);
  font-size: 13px
}

.further-grid span {
  display: block;
  color: #657085;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 7px
}

.schedule-poster {
  position: sticky;
  top: 110px
}

.poster-frame {
  background: #fff;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .25)
}

.poster-frame img {
  width: 100%;
  border-radius: 15px
}

.poster-note {
  margin-top: 14px;
  background: var(--gold);
  color: var(--navy);
  padding: 13px 18px;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  font-size: 12px
}

.approach {
  background: var(--paper)
}

.center-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px
}

.center-heading .eyebrow {
  justify-content: center
}

.center-heading p {
  color: var(--muted);
  margin-top: 17px;
  line-height: 1.7
}

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

.step {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #e5e9f1;
  min-height: 180px;
  transition: .3s
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow)
}

.step>span {
  font-family: "Playfair Display";
  font-size: 32px;
  color: var(--red)
}

.step h3 {
  margin: 17px 0 7px;
  font-size: 17px
}

.step p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65
}

.cta-section {
  background: var(--red);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden
}

.cta-section:after {
  content: "π ∑ √ ∫";
  position: absolute;
  right: 5%;
  bottom: -25px;
  font: 100px Georgia;
  color: rgba(255, 255, 255, .08);
  white-space: nowrap
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2
}

.cta-inner h2 {
  max-width: 690px
}

.cta-inner h2 em {
  color: var(--gold)
}

.cta-inner p {
  margin-top: 13px;
  color: #ffd9dd
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0
}

.btn-light {
  background: #fff;
  color: var(--navy)
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff
}

.footer {
  background: #050f27;
  color: #fff;
  padding: 55px 0 20px
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.footer-brand img {
  width: 125px;
  /* filter: brightness(0) invert(1); */
  margin-bottom: 12px
}

.footer-brand p {
  font-size: 12px;
  color: #7f90b0
}

.footer-links {
  display: flex;
  gap: 25px;
  font-size: 12px;
  color: #9aa9c2;
  align-items: center
}

.footer-links a:hover {
  color: #fff
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  color: #687996;
  font-size: 10px;
  letter-spacing: .5px
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease
}

.reveal.visible {
  opacity: 1;
  transform: none;
      padding: 30px;
}

.delay-1 {
  transition-delay: .1s
}

.delay-2 {
  transition-delay: .2s
}

.delay-3 {
  transition-delay: .3s
}

@media(max-width:980px) {
  .nav-links {
    gap: 16px
  }

  .hero-inner {
    grid-template-columns: 1fr
  }

  .hero {
    min-height: auto
  }

  .hero-inner {
    padding: 80px 0 110px
  }

  .hero-card {
    height: 440px;
    max-width: 620px;
    margin: auto;
    width: 100%
  }

  .course-grid {
    grid-template-columns: 1fr 1fr
  }

  .schedule-layout {
    grid-template-columns: 1fr
  }

  .schedule-poster {
    position: relative;
    top: auto;
    max-width: 620px;
    margin: auto
  }

  .steps {
    grid-template-columns: 1fr 1fr
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start
  }
}

@media(max-width:720px) {
  .nav {
    height: 72px
  }

  .brand img {
    width: 90px;
    height: 60px
  }

  .menu-toggle {
    display: block
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 4%;
    right: 4%;
    background: var(--navy);
    border-radius: 18px;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25)
  }

  .nav-links.open {
    display: flex
  }

  .nav-links a {
    padding: 12px
  }

  .nav-cta {
    text-align: center
  }

  .hero {
    padding-top: 72px
  }

  .hero-inner {
    padding: 65px 0 95px
  }

  .hero-card {
    height: 350px
  }

  .hero-logo {
    width: 330px
  }

  .card-glow {
    width: 330px;
    height: 330px
  }

  .badge-one {
    left: 0;
    top: 60px
  }

  .badge-two {
    right: 0;
    bottom: 50px
  }

  .formula {
    top: 20px;
    right: 5px;
    font-size: 17px
  }

  .hero-points {
    gap: 13px
  }

  .hero-points strong {
    font-size: 12px
  }

  .hero-points span {
    font-size: 9px
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px
  }

  .stat {
    border: 0
  }

  .section {
    padding: 78px 0
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 0
  }

  .about-copy {
    padding-top: 25px
  }

  .section-top {
    display: block;
    margin-bottom: 38px
  }

  .section-top>p {
    margin-top: 15px
  }

  .course-grid {
    grid-template-columns: 1fr
  }

  .course-card {
    min-height: auto
  }

  .schedule-table-wrap {
    grid-template-columns: 1fr
  }

  .schedule-block:nth-child(1),
  .schedule-block:nth-child(6) {
    grid-column: auto
  }

  .row {
    grid-template-columns: 1fr
  }

  .further-grid {
    grid-template-columns: 1fr 1fr
  }

  .further-grid div {
    border-bottom: 1px solid #e9edf3
  }

  .further-grid div:nth-child(2n) {
    border-right: 0
  }

  .steps {
    grid-template-columns: 1fr
  }

  .cta-inner h2 {
    font-size: 40px
  }

  .cta-actions {
    flex-wrap: wrap
  }

  .footer-main {
    flex-direction: column
  }

  .footer-links {
    flex-wrap: wrap
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px
  }
}

/* =========================================================
   DR JEGAN'S MATHS ACADEMY
   PREMIUM LONDON ACADEMIC HERO
========================================================= */

.hero-new {
    min-height: 820px;
    position: relative;
    overflow: hidden;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
}

/* Dark British academic panel */
.hero-new::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 54%;
    height: 100%;
    background: #061f49;
    clip-path: polygon(
        0 0,
        92% 0,
        100% 50%,
        92% 100%,
        0 100%
    );
}

/* Red accent */
.hero-new::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54%;
    height: 7px;
    background: #df1f3d;
}

/* Background pattern */
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: .45;
    background-image:
        linear-gradient(rgba(6,31,73,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6,31,73,.035) 1px, transparent 1px);
    background-size: 45px 45px;
}

/* Decorative mathematical lines */
.hero-line {
    position: absolute;
    border: 1px solid rgba(6,31,73,.08);
    border-radius: 50%;
}

.hero-line-1 {
    width: 600px;
    height: 600px;
    right: -260px;
    top: 70px;
}

.hero-line-2 {
    width: 430px;
    height: 430px;
    right: -170px;
    top: 155px;
}

/* Main container */
.hero-new-inner {
    width: 100%;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
}

/* =========================================================
   LEFT
========================================================= */

.hero-new-content {
    padding-right: 25px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffc928;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.label-line {
    width: 45px;
    height: 2px;
    background: #ffc928;
}

.hero-new h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(55px, 6vw, 92px);
    line-height: .94;
    letter-spacing: -3px;
    margin: 28px 0;
    color: #fff;
    font-weight: 800;
}

.hero-new h1 span {
    color: #ffc928;
}

.hero-new h1 strong {
    color: #fff;
}

.hero-new-text {
    max-width: 590px;
    color: #cbdaf0;
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 35px;
}

/* Buttons */

.hero-new-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-btn {
    min-height: 53px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 5px;
    font-weight: 800;
    transition: all .3s ease;
}

.hero-btn-primary {
    background: #ffc928;
    color: #061f49;
}

.hero-btn-primary:hover {
    color: #061f49;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(255,201,40,.25);
}

.hero-btn-outline {
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}

.hero-btn-outline:hover {
    background: #fff;
    color: #061f49;
    transform: translateY(-4px);
}

.arrow {
    font-size: 20px;
}

/* Information row */

.hero-info {
    display: flex;
    flex-wrap: wrap;
    margin-top: 55px;
    gap: 28px;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-number {
    color: #df1f3d;
    font-size: 12px;
    font-weight: 900;
}

.hero-info-item strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.hero-info-item small {
    display: block;
    color: #91a9c7;
    font-size: 10px;
    margin-top: 3px;
}

/* =========================================================
   RIGHT VISUAL
========================================================= */

.hero-new-visual {
    min-height: 590px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Large gold circle */

.visual-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(6,31,73,.12);
}

.visual-circle::before {
    content: "";
    position: absolute;
    inset: 35px;
    border-radius: 50%;
    border: 1px solid rgba(223,31,61,.18);
}

/* Main logo frame */

.visual-frame {
    width: min(430px, 85%);
    background: #fff;
    padding: 20px;
    position: relative;
    z-index: 3;
    box-shadow:
        0 35px 80px rgba(6,31,73,.18);
    border: 1px solid #e2e9f2;
}

.visual-frame::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid #dfe7f0;
    pointer-events: none;
}

.frame-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 12px 15px;
    color: #061f49;
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: 900;
}

.frame-top strong {
    color: #df1f3d;
    font-size: 9px;
}

.academy-logo {
    width: 100%;
    position: relative;
    z-index: 2;
}

.frame-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 5px 5px;
    color: #061f49;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.frame-bottom i {
    width: 4px;
    height: 4px;
    background: #df1f3d;
    border-radius: 50%;
}

/* Mathematical symbols */

.math-symbol {
    position: absolute;
    font-family: Georgia, serif;
    font-weight: 700;
    z-index: 2;
}

.symbol-pi {
    right: 0;
    top: 30px;
    font-size: 110px;
    color: rgba(6,31,73,.08);
}

.symbol-sigma {
    left: 0;
    bottom: 35px;
    font-size: 100px;
    color: rgba(223,31,61,.08);
}

.symbol-integral {
    right: 25px;
    bottom: 0;
    font-size: 85px;
    color: rgba(6,31,73,.07);
}

/* Floating labels */

.floating-note {
    position: absolute;
    z-index: 6;
    background: #061f49;
    color: #fff;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(6,31,73,.18);
}

.floating-note strong {
    color: #ffc928;
    font-size: 11px;
}

.floating-note span {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
}

.note-one {
    left: 0;
    top: 90px;
}

.note-two {
    right: 0;
    bottom: 90px;
    background: #df1f3d;
}

.note-two strong {
    color: #fff;
}

/* Bottom academic strip */

.hero-bottom {
    position: absolute;
    z-index: 8;
    bottom: 0;
    right: 0;
    width: 48%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 25px;
    background: #fff;
    border-top: 1px solid #e2e9f2;
}

.hero-bottom div {
    color: #66778e;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* =========================================================
   ANIMATION
========================================================= */

.hero-new-visual {
    animation: heroAppear .9s ease both;
}

@keyframes heroAppear {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.visual-circle {
    animation: rotateCircle 18s linear infinite;
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.floating-note {
    animation: floatingNote 4s ease-in-out infinite;
}

.note-two {
    animation-delay: 1.2s;
}

@keyframes floatingNote {
    50% {
        transform: translateY(-9px);
    }
}

/* =========================================================
   TABLET
========================================================= */

@media(max-width:1100px) {

    .hero-new-inner {
        grid-template-columns: 1fr .85fr;
        gap: 35px;
    }

    .hero-new h1 {
        font-size: 65px;
    }

    .visual-circle {
        width: 420px;
        height: 420px;
    }

    .visual-frame {
        width: 360px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:767px) {

    .hero-new {
        padding: 125px 0 90px;
        min-height: auto;
    }

    .hero-new::before {
        width: 100%;
        height: 58%;
        clip-path: polygon(
            0 0,
            100% 0,
            100% 90%,
            50% 100%,
            0 90%
        );
    }

    .hero-new::after {
        width: 100%;
    }

    .hero-new-inner {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-new-content {
        padding: 0;
    }

    .hero-new h1 {
        font-size: clamp(48px, 14vw, 68px);
        letter-spacing: -2px;
    }

    .hero-new-text {
        font-size: 15px;
    }

    .hero-info {
        gap: 18px;
        margin-top: 35px;
    }

    .hero-info-item {
        width: 100%;
    }

    .hero-new-visual {
        min-height: 480px;
    }

    .visual-circle {
        width: 350px;
        height: 350px;
    }

    .visual-frame {
        width: min(330px, 82vw);
    }

    .note-one {
        left: 0;
        top: 55px;
    }

    .note-two {
        right: 0;
        bottom: 50px;
    }

    .symbol-pi {
        right: 0;
        top: 10px;
    }

    .hero-bottom {
        display: none;
    }
}

/* SMALL MOBILE */

@media(max-width:430px) {

    .hero-new {
        padding-top: 110px;
    }

    .hero-new h1 {
        font-size: 45px;
    }

    .hero-new-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-new-visual {
        min-height: 400px;
    }

    .visual-circle {
        width: 290px;
        height: 290px;
    }

    .visual-frame {
        width: 275px;
    }

    .floating-note {
        padding: 10px 12px;
    }

    .floating-note span {
        font-size: 9px;
    }
}