.home_banner_outer .banner2-con .banner_content .button_wrap {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.home_banner_outer .banner2-con .banner_content #heroBookCta {
  margin-left: 0;
  margin-right: 0;
}

.hero-classroom {
  --lesson-lime: #dcfd7d;
  --lesson-lilac: #b6b5ff;
  position: relative;
  container-type: inline-size;
  isolation: isolate;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 1.12;
  margin: 16px auto;
  color: #f5f7ff;
  text-align: left;
  pointer-events: none;
}

.hero-classroom::before {
  content: "";
  position: absolute;
  inset: 12% 2% 2%;
  z-index: -1;
  background: radial-gradient(ellipse at 60% 48%, rgba(87, 107, 235, 0.3), transparent 68%);
}

.classroom-orbit {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(147, 177, 255, 0.18);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-24deg);
}

.classroom-window {
  position: absolute;
  z-index: 2;
  top: 21%;
  left: 13%;
  width: 76%;
  padding: 1.2%;
  border: 1px solid #aebfe3;
  border-bottom-color: var(--lesson-lime);
  border-radius: 4cqw;
  background: linear-gradient(145deg, #25344d, #0b182a 45%, #182b36);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4), 0 6px 18px rgba(119, 142, 255, 0.18);
  transform: perspective(1000px) rotateY(-7deg) rotateZ(-4deg);
  animation: classroom-arrive 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.classroom-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1cqw 2cqw;
  color: #d7e1f4;
  font-size: 1.35cqw;
}

.classroom-dots {
  display: flex;
  gap: 0.7cqw;
}

.classroom-dots b {
  width: 1.1cqw;
  height: 1.1cqw;
  border-radius: 50%;
  background: #fa7b71;
}

.classroom-dots b:nth-child(2) { background: #f7c95b; }
.classroom-dots b:nth-child(3) { background: #74d88a; }

.classroom-titlebar {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.5cqw 2cqw 2cqw;
  font-size: 1.65cqw;
  font-weight: 600;
}

.classroom-titlebar > i {
  font-size: 3cqw;
}

.classroom-live {
  display: inline-flex;
  align-items: center;
  gap: 0.6cqw;
  margin-left: auto;
  padding: 0.6cqw 1cqw;
  border: 1px solid #486149;
  border-radius: 4cqw;
  color: var(--lesson-lime);
  font-size: 1.35cqw;
  white-space: nowrap;
}

.classroom-live b {
  width: 0.9cqw;
  height: 0.9cqw;
  border-radius: 50%;
  background: #9de764;
}

.classroom-workspace {
  display: flex;
  gap: 1.5cqw;
  padding: 0 1.2cqw;
}

.classroom-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3cqw;
  width: 5.2cqw;
  padding-top: 2.5cqw;
  color: #cbd6e9;
  font-size: 2.6cqw;
}

.classroom-tools i:first-child {
  color: var(--lesson-lime);
}

.classroom-board {
  flex: 1;
  min-width: 0;
  padding: 3cqw 2.8cqw 2cqw;
  border-radius: 1.2cqw;
  background: #f6f5f0;
  color: #14223e;
}

.classroom-subject {
  display: block;
  margin-bottom: 1cqw;
  font-size: 1.7cqw;
  font-weight: 700;
}

.classroom-lesson-title {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 3.8cqw;
  font-weight: 700;
  line-height: 1.2;
}

.classroom-lesson {
  display: grid;
  grid-template-columns: 41% 59%;
  align-items: center;
  margin-top: 1.5cqw;
}

.classroom-notes {
  display: grid;
  gap: 2cqw;
  font-size: 2cqw;
  line-height: 1.5;
}

.classroom-notes > span {
  padding: 1.5cqw;
  border-radius: 1cqw;
  background: #e8e7f6;
}

.classroom-notes strong {
  padding: 0.7cqw;
  border-radius: 0.7cqw;
  background: #e2f5af;
  font-family: Georgia, serif;
  font-size: 2.15cqw;
  font-style: italic;
  text-align: center;
  white-space: nowrap;
}

.classroom-triangle {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.classroom-triangle-outline {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: classroom-draw 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.classroom-statusbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5cqw;
  padding: 1.8cqw 0 0.8cqw;
  font-size: 1.5cqw;
  color: #d7e1f4;
}

.classroom-tile {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.4cqw;
  width: 23%;
  min-height: 22%;
  padding: 2cqw;
  border: 1px solid currentColor;
  border-radius: 3cqw;
  background: linear-gradient(145deg, #1e2b47, #0c172a 75%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  color: var(--lesson-lime);
  transform: rotate(var(--tile-angle, 0deg));
  animation: classroom-float 2.4s ease-in-out 2;
}

.classroom-tile i {
  font-size: 5.5cqw;
}

.classroom-tile span {
  color: #f5f7ff;
  font-family: "Outfit", sans-serif;
  font-size: 2.9cqw;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}

.classroom-tile::after {
  content: "";
  width: 5cqw;
  height: 0.5cqw;
  border-radius: 1cqw;
  background: currentColor;
}

.classroom-tile--maths {
  --tile-angle: 4deg;
  top: 7%;
  left: 2%;
  z-index: 1;
}

.classroom-tile--english {
  --tile-angle: -7deg;
  top: 5%;
  right: 2%;
  color: var(--lesson-lilac);
}

.classroom-tile--science {
  --tile-angle: 3deg;
  bottom: 7%;
  left: 2%;
  color: var(--lesson-lilac);
}

.classroom-tile--computing {
  --tile-angle: -3deg;
  right: 2%;
  bottom: 6%;
}

@keyframes classroom-arrive {
  from { transform: perspective(1000px) rotateY(-7deg) rotateZ(-4deg) translateY(16px); }
  to { transform: perspective(1000px) rotateY(-7deg) rotateZ(-4deg) translateY(0); }
}

@keyframes classroom-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes classroom-float {
  0%, 100% { transform: translateY(0) rotate(var(--tile-angle, 0deg)); }
  50% { transform: translateY(-7px) rotate(var(--tile-angle, 0deg)); }
}

@media (min-width: 768px) and (max-width: 991px) {
  .home_banner_outer .hero-layout-image {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-classroom {
    max-width: 560px;
  }
}

@media (max-width: 767px) {
  .hero-classroom {
    margin-top: 24px;
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-classroom *,
  .hero-classroom *::after {
    animation: none !important;
  }
}
