/* HERO  */

/* =========================
   BASE
========================= */
.edtech-hero {
  position: relative;
  padding: 120px 40px;
  background: #071327;
  overflow: hidden;
  font-family: Inter, system-ui;
}

/* 🔥 BACKGROUND GRADIENT GLOW */
.edtech-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 20% 30%, rgba(79,124,255,.25), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255,107,27,.2), transparent 40%),
    linear-gradient(120deg, #071327 30%, #0b1f3f 100%);

  z-index: 0;
}

/* =========================
   CONTAINER
========================= */
.edtech-container {
  position: relative;
  z-index: 2;

  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* =========================
   LEFT
========================= */
.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;

  font-size: 12px;
  color: #7aa6ff;

  background: rgba(80,140,255,.1);
  border: 1px solid rgba(80,140,255,.2);

  margin-bottom: 24px;
}

.edtech-content h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.edtech-content span {
  background: linear-gradient(90deg,#ff6b1b,#ff9a3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.edtech-content p {
  font-size: 18px;
  color: #9fb1c7;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* BUTTONS */
.actions {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: linear-gradient(135deg,#ff6b1b,#ff8f3c);
  color: #fff;

  padding: 16px 26px;
  border-radius: 12px;

  font-weight: 600;

  box-shadow: 0 15px 40px rgba(255,107,27,.35);
  transition: .3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px rgba(255,107,27,.5);
}

.btn-secondary {
  padding: 16px 26px;
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,.2);
  color: #cbd5e1;

  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);

  transition: .3s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,.08);
}

/* =========================
   IMAGE
========================= */
.edtech-media {
  position: relative;
}

.image-wrap {
  border-radius: 20px;
  overflow: hidden;

  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 40px rgba(80,140,255,.1);
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   🔥 FLOATING GLASS CARD
========================= */
.floating-glass {
  position: absolute;

  bottom: -40px;   /* 🔥 OUTSIDE IMAGE */
  left: 40px;

  display: flex;
  gap: 14px;
  align-items: center;

  padding: 18px 22px;
  border-radius: 16px;

  /* LIQUID GLASS */
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255,255,255,.15);

  box-shadow:
    0 20px 50px rgba(0,0,0,.4),
    inset 0 1px 0 rgba(255,255,255,.1);

  z-index: 5;
  transition: .4s ease;
}

/* glow border */
.floating-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;

  background: linear-gradient(120deg,
    rgba(255,255,255,.2),
    transparent
  );

  opacity: .2;
  pointer-events: none;
}

/* ICON */
.floating-glass .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg,#ff6b1b,#ff8f3c);
  color: #fff;
}

/* TEXT */
.floating-glass strong {
  color: #fff;
  font-size: 15px;
}

.floating-glass span {
  display: block;
  font-size: 13px;
  color: #cbd5e1;
}

/* HOVER FLOAT */
.floating-glass:hover {
  transform: translateY(-6px) scale(1.02);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1000px) {

  .edtech-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .actions {
    justify-content: center;
  }

  .floating-glass {
    left: 50%;
    transform: translateX(-50%);
  }

  .edtech-content h1 {
    font-size: 42px;
  }
}

.edtech-media {
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: center;
}

.image-wrap {
  width: 100%;
  max-width: 620px;   /* fixed visual width */
  height: 650px;      /* fixed visual height */
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;

  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 40px rgba(80,140,255,.1);
}

.image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;      /* keeps it filled */
  object-position: center; /* keeps crop centered */
}
@media (max-width: 1000px) {
  .image-wrap {
    max-width: 560px;
    height: 520px;
  }
}

@media (max-width: 640px) {
  .image-wrap {
    max-width: 100%;
    height: 380px;
  }
}

/* SCALABILUTY */

.edu-scale {
  padding: 110px 40px;
  background: #f3f4f6;
  font-family: Inter, system-ui;
}

.edu-container {
  max-width: 1320px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 100px;
  align-items: center;
}

/* LEFT */
.edu-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.edu-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #64748b;
  margin-bottom: 36px;
  max-width: 620px;
}

/* METRICS */
.edu-metrics {
  display: flex;
  gap: 70px;
}

.metric {
  position: relative;
  padding-left: 16px;
}

/* vertical lines EXACT */
.metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 2px;
  height: 36px;
  border-radius: 2px;
}

/* colors */
.metric.orange::before { background: #f25c0d; }
.metric.blue::before { background: #4f7cff; }
.metric.gray::before { background: #cbd5e1; }

.metric h3 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.metric span {
  font-size: 13px;
  color: #6b7a90;
  letter-spacing: .08em;
}

/* RIGHT IMAGE — NO FORCED SIZE */
.edu-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;

  box-shadow:
    0 18px 40px rgba(0,0,0,.12);
}

/* RESPONSIVE */
@media (max-width: 1000px) {

  .edu-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .edu-metrics {
    justify-content: center;
    gap: 40px;
  }

}

/* ICONS  */

/* =========================
   SECTION
========================= */
.edu-solutions {
  padding: 120px 40px;
  background: linear-gradient(180deg,#071327,#0b1f3f);
  font-family: Inter, system-ui;
}

/* =========================
   HEADER
========================= */
.edu-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
}

.edu-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.edu-header p {
  font-size: 16px;
  color: #8ea2bd;
  line-height: 1.7;
}

/* =========================
   GRID
========================= */
.edu-grid {
  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* =========================
   CARD
========================= */
.edu-card {
  background: #f3f4f6;
  border-radius: 20px;
  padding: 34px;

  transition: all .35s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* subtle enterprise hover */
.edu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

/* =========================
   ICON BASE
========================= */
.icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  margin-bottom: 20px;
}

/* 🔥 EXACT COLOR MATCH SYSTEM */

/* ORANGE (cards 1 & 4) */
.icon.orange {
  background: #fde7d8;
  color: #f25c0d;
}

/* BLUE (card 2) */
.icon.blue {
  background: #e3ecff;
  color: #4f7cff;
}

/* GRAY (card 3) */
.icon.gray {
  background: #e5e7eb;
  color: #6b7280;
}

/* =========================
   TEXT
========================= */
.edu-card h3 {
  font-size: 20px;
  color: #111827;
  margin-bottom: 10px;
}

.edu-card p {
  font-size: 15px;
  color: #6b7a90;
  line-height: 1.6;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .edu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .edu-grid {
    grid-template-columns: 1fr;
  }

  .edu-header h2 {
    font-size: 30px;
  }
}

/* INFO */

/* =========================
   SECTION
========================= */
.lms-section {
  padding: 110px 40px;
  background: #f3f4f6;
  font-family: Inter, system-ui;
}

/* =========================
   CONTAINER
========================= */
.lms-container {
  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: center;
}

/* =========================
   IMAGE
========================= */
.lms-media img {
  width: 100%;
  height: auto;
  display: block;

  border-radius: 6px; /* subtle like screenshot */
}

/* =========================
   CONTENT
========================= */
.lms-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 18px;
}

.lms-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #64748b;
  margin-bottom: 28px;
  max-width: 620px;
}

/* =========================
   LIST
========================= */
.lms-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lms-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 16px;

  font-size: 15px;
  color: #4b5563;
}

/* 🔥 custom check icon */
.lms-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;

  width: 20px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: bold;

  color: #f25c0d;

  border: 2px solid #f25c0d;
  border-radius: 50%;
}
@media (max-width: 1000px) {

  .lms-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .lms-desc {
    margin: 0 auto 28px;
  }

  .lms-list li {
    text-align: left;
  }

}


/* VERSUS */

/* =========================
   SECTION
========================= */
.eco-section {
  padding: 120px 40px;
  background: linear-gradient(180deg,#071327,#0b1f3f);
  font-family: Inter, system-ui;
  text-align: center;
}

.eco-title {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 60px;
}

/* =========================
   WRAPPER (CRITICAL)
========================= */
.eco-wrapper {
  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  border-radius: 26px;
  overflow: hidden; /* 🔥 ensures perfect shared radius */

  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

/* =========================
   CARD BASE
========================= */
.eco-card {
  padding: 50px 40px 40px;
  text-align: center;
}

/* LEFT */
.eco-left {
  background: #f3f4f6;
}

/* RIGHT */
.eco-right {
  background: #e36a2c;
  color: #fff;
}

/* =========================
   LABEL
========================= */
.eco-label {
  font-size: 12px;
  letter-spacing: .15em;
  color: rgba(0,0,0,.4);
  display: block;
  margin-bottom: 12px;
}

.eco-right .eco-label {
  color: rgba(255,255,255,.7);
}

/* =========================
   TITLE
========================= */
.eco-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
}

/* =========================
   IMAGE
========================= */
.eco-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
}

.eco-img img {
  width: 100%;
  height: 260px;          /* 🔥 fixed visual height like screenshot */
  object-fit: cover;
  display: block;
}

/* =========================
   TEXT
========================= */
.eco-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7a90;
}

.eco-right p {
  color: rgba(255,255,255,.9);
}

/* =========================
   HOVER (SUBTLE)
========================= */
.eco-card:hover img {
  transform: scale(1.05);
  transition: .6s ease;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

  .eco-wrapper {
    grid-template-columns: 1fr;
  }

  .eco-card {
    padding: 40px 20px;
  }

  .eco-img img {
    height: 220px;
  }

  .eco-title {
    font-size: 30px;
  }
}

/* IMAPCT  */

/* =========================
   SECTION
========================= */
.impact-section {
  background: #f5f6f8;
  padding: 100px 40px;
  text-align: center;
  font-family: Inter, system-ui;
}

/* TITLE */
.impact-title {
  font-size: 42px;
  font-weight: 800;
  color: #0b1b34;
  margin-bottom: 60px;
}

/* =========================
   GRID
========================= */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;

  max-width: 1300px;
  margin: auto;
}

/* =========================
   CARD
========================= */
.impact-card {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 22px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);

  transition: all 0.35s ease;
  position: relative;
}

/* TOP LINE (ONLY ACTIVE) */
.impact-card.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: #ff6a2b;
  border-radius: 22px 22px 0 0;
}

/* =========================
   NUMBER
========================= */
.impact-number {
  font-size: 60px;
  font-weight: 800;
  color: #ff6a2b;
  margin-bottom: 12px;
}

/* =========================
   TITLE
========================= */
.impact-card h4 {
  font-size: 16px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #0b1b34;
  margin-bottom: 14px;
}

/* =========================
   TEXT
========================= */
.impact-card p {
  font-size: 15px;
  color: #6b7a90;
  line-height: 1.7;
  max-width: 300px;
  margin: auto;
}

/* =========================
   HOVER (SUBTLE LIFT)
========================= */
.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .impact-card {
    padding: 40px 24px;
  }

  .impact-number {
    font-size: 48px;
  }

  .impact-title {
    font-size: 30px;
  }
}
/* remove old active rule if you have it */
/* .impact-card.active::before { ... } */

.impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: #ff6a2b;
  border-radius: 22px 22px 0 0;

  opacity: 0;
  transform: scaleX(0.85);
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.impact-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

/* CTA+FORM  */

.edtech-cta {
  background: linear-gradient(180deg, #071327 0%, #091a34 100%);
  padding: 90px 40px;
  font-family: Inter, system-ui, sans-serif;
  position: relative;
  overflow: hidden;
}

.edtech-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 40%, rgba(58, 110, 255, 0.12), transparent 30%),
    radial-gradient(circle at 78% 45%, rgba(58, 110, 255, 0.14), transparent 24%);
  pointer-events: none;
}

.edtech-cta__container {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 740px;
  gap: 84px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.edtech-cta__content h2 {
  margin: 0 0 26px;
  color: #f6f8fc;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.edtech-cta__content p {
  max-width: 720px;
  margin: 0 0 36px;
  color: #7083a3;
  font-size: 23px;
  line-height: 1.55;
  font-weight: 400;
}

.edtech-cta__points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.edtech-point {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #f2f5fb;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
}

.edtech-point__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4c87ff;
  background: #10284d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  font-size: 19px;
}

.edtech-cta__formwrap {
  display: flex;
  justify-content: center;
}

.edtech-form {
  width: 100%;
  background: #f5f5f6;
  border-radius: 34px;
  padding: 42px 48px 34px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.28),
    0 0 40px rgba(58, 110, 255, 0.10);
}

.edtech-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.edtech-field {
  margin-bottom: 26px;
}

.edtech-field label {
  display: block;
  margin-bottom: 12px;
  color: #647694;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.edtech-field input,
.edtech-select select {
  width: 100%;
  height: 62px;
  border-radius: 18px;
  border: 1px solid #d8dde6;
  background: #f5f5f6;
  padding: 0 20px;
  color: #7a8698;
  font-size: 18px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  appearance: none;
}

.edtech-field input::placeholder {
  color: #7a8698;
  opacity: 1;
}

.edtech-field input:focus,
.edtech-select select:focus {
  border-color: #ff7a2f;
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.12);
  background: #ffffff;
}

.edtech-select {
  position: relative;
}

.edtech-select i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #707c8e;
  font-size: 16px;
  pointer-events: none;
}

.edtech-form__btn {
  width: 100%;
  height: 74px;
  border: none;
  border-radius: 18px;
  background: #ff7a2f;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(255, 122, 47, 0.20);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.edtech-form__btn:hover {
  transform: translateY(-2px);
  background: #ff843c;
  box-shadow: 0 20px 38px rgba(255, 122, 47, 0.26);
}

.edtech-form__note {
  margin: 24px 0 0;
  text-align: center;
  color: #78879d;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1300px) {
  .edtech-cta__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .edtech-cta__content {
    max-width: 900px;
  }

  .edtech-cta__content h2 {
    font-size: 54px;
  }

  .edtech-cta__content p {
    font-size: 20px;
    max-width: 900px;
  }

  .edtech-form {
    max-width: 860px;
  }
}

@media (max-width: 768px) {
  .edtech-cta {
    padding: 64px 20px;
  }

  .edtech-cta__content h2 {
    font-size: 40px;
  }

  .edtech-cta__content p {
    font-size: 18px;
    line-height: 1.6;
  }

  .edtech-point {
    font-size: 18px;
    gap: 14px;
  }

  .edtech-point__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 16px;
  }

  .edtech-form {
    border-radius: 24px;
    padding: 26px 20px 24px;
  }

  .edtech-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .edtech-field input,
  .edtech-select select {
    height: 56px;
    font-size: 16px;
    border-radius: 14px;
  }

  .edtech-form__btn {
    height: 62px;
    font-size: 18px;
    border-radius: 14px;
  }
}

.edtech-point:hover .edtech-point__icon {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(76, 135, 255, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.03);
  transition: all .25s ease;
}

.edtech-cta__content h2 {
  margin: 0 0 22px;
  color: #f6f8fc;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.edtech-cta__content p {
  max-width: 650px;
  margin: 0 0 32px;
  color: #7083a3;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.edtech-point {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #f2f5fb;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.edtech-point__icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  font-size: 17px;
}

.edtech-field label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.edtech-field input,
.edtech-select select {
  height: 56px;
  font-size: 15px;
}

.edtech-form__btn {
  height: 64px;
  font-size: 16px;
  font-weight: 800;
}

.edtech-form__note {
  margin: 20px 0 0;
  font-size: 12px;
}

@media (max-width: 768px) {
  .edtech-cta__content h2 {
    font-size: 34px;
  }

  .edtech-cta__content p {
    font-size: 15px;
  }

  .edtech-point {
    font-size: 15px;
  }
}

/* GLOBAL INTERACTION SYSTEM */
:root {
  --ease: cubic-bezier(.22,.61,.36,1);
}

a, button, .edu-card, .impact-card, .eco-card, .image-wrap {
  transition: all .35s var(--ease);
  will-change: transform;
}

.btn-primary,
.btn-secondary {
  position: relative;
  overflow: hidden;
}

/* glow sweep */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.4),
    transparent
  );

  transition: .6s;
}

.btn-primary:hover::after {
  left: 120%;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-glass {
  animation: floatY 5s ease-in-out infinite;
}
.edu-card {
  position: relative;
  overflow: hidden;
}

/* animated border */
.edu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;

  background: linear-gradient(120deg,
    transparent,
    rgba(79,124,255,.5),
    transparent
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: .4s;
}

.edu-card:hover::before {
  opacity: 1;
}

@media (max-width: 768px) {

  section {
    padding: 70px 20px !important;
  }

  h1 {
    font-size: 36px !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 28px !important;
  }

  .edtech-content p,
  .edu-desc,
  .lms-desc {
    font-size: 15px;
  }
}
.image-wrap img {
  transition: transform .6s var(--ease);
}

.image-wrap:hover img {
  transform: scale(1.08);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.04;
}

.image-wrap {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 4 / 5;   /* 🔥 responsive instead of fixed height */
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 1100px) {
  .edtech-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .edtech-content h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .edtech-content h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .edtech-content p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* =================================
   EDTECH PAGE BUTTON EFFECTS
   matched to actual button colors
   ================================= */

.btn-primary,
.btn-secondary,
.edtech-form__btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    color .45s ease,
    background-color .45s ease,
    background .45s ease,
    border-color .45s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

/* animated layers */
.btn-primary::before,
.btn-secondary::before,
.edtech-form__btn::before,
.btn-primary::after,
.btn-secondary::after,
.edtech-form__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    opacity .35s ease,
    background .45s ease;
}

/* subtle fill sweep */
.btn-primary::before,
.btn-secondary::before,
.edtech-form__btn::before {
  transform: translateX(-102%);
}

/* gloss sweep */
.btn-primary::after,
.btn-secondary::after,
.edtech-form__btn::after {
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.07) 35%,
    rgba(255,255,255,.16) 50%,
    rgba(255,255,255,.07) 65%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-20deg);
  opacity: 0;
}

.btn-primary:hover,
.btn-secondary:hover,
.edtech-form__btn:hover {
  transform: translateY(-3px);
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.edtech-form__btn:hover::before {
  transform: translateX(0);
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.edtech-form__btn:hover::after {
  transform: translateX(130%) skewX(-20deg);
  opacity: 1;
}

.btn-primary:active,
.btn-secondary:active,
.edtech-form__btn:active {
  transform: translateY(-1px);
}

/* keep text above layers */
.btn-primary,
.btn-secondary,
.edtech-form__btn {
  z-index: 1;
}

/* ---------------------------------
   PRIMARY BUTTON
   orange solid -> subtle orange glass
   --------------------------------- */
.btn-primary {
  background: #ff7a32;
  color: #fff !important;
  border: 1px solid #ff7a32;
  box-shadow: 0 12px 32px rgba(255,120,40,.30);
}

.btn-primary::before {
  background: rgba(255,122,50,.035);
}

.btn-primary:hover {
  background: rgba(255,122,50,.015);
  color: #ff7a32 !important;
  border-color: #ff7a32;
  box-shadow:
    0 0 0 1px rgba(255,122,50,.12),
    0 14px 30px rgba(255,120,40,.14);
}

/* ---------------------------------
   SECONDARY BUTTON
   translucent -> slightly brighter
   --------------------------------- */
.btn-secondary {
  background: rgba(255,255,255,.03);
  color: #ecf2fb !important;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.btn-secondary::before {
  background: rgba(255,255,255,.03);
}

.btn-secondary:hover {
  background: rgba(255,255,255,.035);
  color: #ffffff !important;
  border-color: rgba(255,255,255,.20);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 12px 26px rgba(0,0,0,.16);
}

/* ---------------------------------
   FORM BUTTON
   orange solid -> subtle orange glass
   --------------------------------- */
.edtech-form__btn {
  background: #ff7a32;
  color: #fff !important;
  border: 1px solid #ff7a32;
  box-shadow: 0 10px 25px rgba(255,122,50,.35);
}

.edtech-form__btn::before {
  background: rgba(255,122,50,.035);
}

.edtech-form__btn:hover {
  background: rgba(255,122,50,.015);
  color: #ff7a32 !important;
  border-color: #ff7a32;
  box-shadow:
    0 0 0 1px rgba(255,122,50,.12),
    0 16px 32px rgba(255,122,50,.16);
}

/* focus */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.edtech-form__btn:focus-visible {
  outline: 2px solid rgba(90,150,255,.7);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-secondary,
  .edtech-form__btn,
  .btn-primary::before,
  .btn-secondary::before,
  .edtech-form__btn::before,
  .btn-primary::after,
  .btn-secondary::after,
  .edtech-form__btn::after {
    transition: none !important;
  }
}