@import url("../../app/font.css");
/* =========================================================
   SUMO SCHOOL ERP WEBSITE
   SECTION 01 — GLOBAL FOUNDATION + HEADER / NAVBAR ONLY

   IMPORTANT:
   - Next sections will be added below this file one-by-one.
   - No Hero/Features/Modules/etc. CSS is included yet.
   - Visual language mixes sumo-sidebar.css + studentpage.css.
========================================================= */

:root {
  --site-primary: #0b5ed7;
  --site-primary-dark: #073b8c;
  --site-primary-soft: #eaf3ff;
  --site-cyan: #03a9d9;
  --site-orange: #ff6b00;
  --site-orange-dark: #db4f00;

  --site-text: #10213d;
  --site-muted: #74839d;
  --site-border: #d7e2f1;
  --site-border-strong: #bfd0e6;
  --site-page: #f4f8fd;
  --site-white: #ffffff;

  --site-success: #16a34a;
  --site-success-dark: #11833d;

  --site-shadow-soft: 0 4px 14px rgba(10, 50, 105, 0.07);
}

/* =========================================================
   GLOBAL RESET / BASE
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family: "Poppins", Arial, sans-serif;
  color: var(--site-text);

  background: #ffffff;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Existing page sections may still use .container.
   Their section-specific sizing will be added later. */
.container {
  width: min(1220px, calc(100% - 38px));
  margin-inline: auto;
}

/* =========================================================
   SECTION 01 — HEADER / NAVBAR
   Reference:
   - compact white navigation bar
   - clearly visible logo
   - small centered nav labels
   - low-height pill actions
   - SuMo blue/cyan/orange accents
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  height: 95px;

  border-top: 4px solid #333333;
  border-bottom: 1px solid #e2e9f3;

  background:
    radial-gradient(
      circle at 96% 115%,
      rgba(255, 107, 0, 0.045),
      transparent 24%
    ),
    rgba(255, 255, 255, 0.985);

  box-shadow: 0 2px 8px rgba(10, 50, 105, 0.035);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav-shell {
  width: min(1840px, calc(100% - 72px));
  height: 70px;

  display: grid;
  grid-template-columns: 270px 1fr auto;
  align-items: center;
  gap: 26px;

  margin-inline: auto;
}

/* -------------------------
   Logo
------------------------- */

.brand {
  width: max-content;
  min-width: 0;

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

  line-height: 0;
}

.brand-logo {
  display: block;

  width: auto;
  height: 100px;
  max-width: 235px;

  object-fit: contain;
  object-position: left center;

  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 7px rgba(7, 59, 140, 0.08));
}

/* -------------------------
   Center Navigation
------------------------- */

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;

  min-width: 0;

  color: #44546c;

  font-size: 13px;
  line-height: 1;
  font-weight: 500;

  white-space: nowrap;
}

.nav-menu a {
  position: relative;

  min-height: 34px;

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

  padding: 0 1px;

  color: #44546c;

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.nav-menu a::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: 1px;

  width: 0;
  height: 2px;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    var(--site-cyan),
    var(--site-primary),
    var(--site-orange)
  );

  transform: translateX(-50%);

  transition: width 0.2s ease;
}

.nav-menu a:hover {
  color: var(--site-primary);
  transform: translateY(-1px);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* -------------------------
   Right Action Group
------------------------- */

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;

  min-width: 0;
}

/* Same compact proportion as reference video */
.nav-demo-btn,
.nav-signin,
.nav-register-btn {
  min-height: 42px;

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

  border-radius: 999px;

  font-size: 13px;
  line-height: 1;
  font-weight: 600;

  white-space: nowrap;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

/* Live demo */
.nav-demo-btn {
  min-width: 154px;

  gap: 9px;

  padding: 0 20px;

  border: 1px solid #159849;

  background: linear-gradient(135deg, #18a653 0%, #11883f 100%);

  color: #ffffff;

  box-shadow: 0 5px 12px rgba(22, 163, 74, 0.18);
}

.nav-demo-btn:hover {
  color: #ffffff;

  background: linear-gradient(135deg, #159b4c 0%, #0f7938 100%);

  transform: translateY(-1px);

  box-shadow: 0 7px 15px rgba(22, 163, 74, 0.22);
}

.nav-demo-icon {
  display: inline-grid;
  place-items: center;

  width: 17px;
  height: 17px;

  color: #ffffff;

  font-size: 9px;

  transform: translateX(1px);
}

/* Sign in */
.nav-signin {
  min-width: 94px;

  padding: 0 19px;

  border: 1px solid #d9e3ef;

  background: #ffffff;
  color: #17233a;

  cursor: pointer;

  box-shadow: 0 2px 5px rgba(12, 47, 95, 0.025);
}

.nav-signin:hover {
  border-color: #a9c6eb;

  background: #f8fbff;
  color: var(--site-primary);

  transform: translateY(-1px);

  box-shadow: 0 4px 9px rgba(12, 47, 95, 0.07);
}

/* Register */
.nav-register-btn {
  min-width: 103px;

  padding: 0 21px;

  border: 1px solid transparent;

  background: linear-gradient(135deg, #0878dc 0%, #0b4fad 76%, #ff6b00 155%);

  color: #ffffff;

  box-shadow: 0 5px 12px rgba(11, 94, 215, 0.2);
}

.nav-register-btn:hover {
  color: #ffffff;

  background: linear-gradient(135deg, #086dc7 0%, #083f8d 76%, #eb5d00 155%);

  transform: translateY(-1px);

  box-shadow: 0 7px 15px rgba(11, 94, 215, 0.23);
}

/* -------------------------
   Mobile Toggle
------------------------- */

.nav-toggle {
  display: none;

  width: 38px;
  height: 38px;

  padding: 8px;

  border: 1px solid var(--site-border);
  border-radius: 9px;

  background: #ffffff;
  color: var(--site-primary-dark);

  cursor: pointer;

  box-shadow: 0 4px 10px rgba(10, 50, 105, 0.06);
}

.nav-toggle span {
  width: 19px;
  height: 2px;

  display: block;

  margin: 2.5px auto;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    var(--site-primary-dark),
    var(--site-primary)
  );

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

/* =========================================================
   HEADER RESPONSIVE
========================================================= */

@media (max-width: 1360px) {
  .site-nav-shell {
    width: min(1220px, calc(100% - 38px));
    grid-template-columns: 225px 1fr auto;
    gap: 20px;
  }

  .brand-logo {
    height: 46px;
    max-width: 205px;
  }

  .nav-menu {
    gap: 22px;
    font-size: 12px;
  }

  .nav-demo-btn {
    min-width: 140px;
    padding-inline: 17px;
  }

  .nav-signin {
    min-width: 84px;
    padding-inline: 15px;
  }

  .nav-register-btn {
    min-width: 92px;
    padding-inline: 18px;
  }
}

@media (max-width: 1080px) {
  .site-nav-shell {
    grid-template-columns: 190px 1fr auto;
    gap: 14px;
  }

  .brand-logo {
    height: 42px;
    max-width: 178px;
  }

  .nav-menu {
    gap: 16px;
    font-size: 11px;
  }

  .nav-demo-btn,
  .nav-signin,
  .nav-register-btn {
    min-height: 38px;
    font-size: 11px;
  }

  .nav-demo-btn {
    min-width: 126px;
    padding-inline: 14px;
  }

  .nav-signin {
    min-width: 72px;
    padding-inline: 12px;
  }

  .nav-register-btn {
    min-width: 80px;
    padding-inline: 14px;
  }
}

@media (max-width: 991.98px) {
  .site-header {
    height: 68px;
    border-top-width: 3px;
  }

  .site-nav-shell {
    position: relative;

    width: calc(100% - 26px);
    height: 65px;

    display: flex;
    align-items: center;

    gap: 9px;
  }

  .brand {
    margin-right: auto;
  }

  .brand-logo {
    height: 42px;
    max-width: 185px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;

    padding: 9px;

    border: 1px solid var(--site-border);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.99);

    box-shadow: 0 14px 30px rgba(10, 50, 105, 0.13);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  /* Supports the common classes used by existing site.js */
  .nav-menu.open,
  .nav-menu.show,
  .site-nav-shell.open .nav-menu {
    display: flex;
  }

  .nav-menu a {
    min-height: 40px;

    justify-content: flex-start;

    padding: 0 11px;

    border-radius: 8px;

    font-size: 12px;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover {
    background: var(--site-primary-soft);
    transform: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-demo-btn {
    min-width: auto;
    min-height: 38px;

    padding: 0 12px;

    font-size: 10.5px;
  }

  .nav-demo-icon {
    width: 14px;
    height: 14px;

    font-size: 7px;
  }

  .nav-signin,
  .nav-register-btn {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .site-header {
    height: 64px;
  }

  .site-nav-shell {
    width: calc(100% - 20px);
    height: 61px;
  }

  .brand-logo {
    height: 38px;
    max-width: 158px;
  }

  .nav-demo-btn {
    min-height: 35px;

    padding-inline: 10px;

    font-size: 9.5px;
  }

  .nav-toggle {
    width: 35px;
    height: 35px;

    padding: 7px;
  }
}

/* =========================================================
   SECTION 02 — HERO
   Screenshot-matched full-width composition
   Only palette adapted to SuMo blue / cyan / orange
========================================================= */

.hero {
  position: relative;
  min-height: 710px;
  overflow: hidden;
  padding: 0;
  background: #ffffff;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(rgba(11, 94, 215, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 94, 215, 0.07) 1px, transparent 1px);

  background-size: 70px 70px;
  opacity: 0.55;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(255, 107, 0, 0.08),
      transparent 24%
    ),
    radial-gradient(
      circle at 79% 72%,
      rgba(3, 169, 217, 0.06),
      transparent 23%
    ),
    radial-gradient(
      circle at 14% 92%,
      rgba(11, 94, 215, 0.055),
      transparent 20%
    );
}

.hero-shell {
  position: relative;
  z-index: 1;

  width: min(1550px, calc(100% - 100px));
  min-height: 710px;

  display: grid;
  grid-template-columns: minmax(690px, 0.98fr) minmax(760px, 1.02fr);
  align-items: center;
  gap: 50px;

  margin: 0 auto;
}

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

.hero-copy {
  padding-top: 2px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-rank-badge {
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  gap: 11px;

  padding: 0 15px;

  border: 1px solid #dce5f0;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.96);

  box-shadow: 0 4px 12px rgba(10, 50, 105, 0.035);
}

.hero-rank-badge strong {
  color: var(--site-orange);

  font-size: 19px;
  line-height: 1;
  font-weight: 800;
}

.hero-rank-badge span {
  color: #49586f;

  font-size: 10px;
  line-height: 1.25;
  font-weight: 600;
}

.hero-verified-badge {
  min-height: 40px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 0 10px 0 14px;

  border: 1px solid #dce5f0;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.96);

  box-shadow: 0 4px 12px rgba(10, 50, 105, 0.035);

  color: #17233a;

  font-size: 11px;
  font-weight: 700;
}

.hero-verified-badge i {
  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--site-primary);
  color: #fff;

  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.hero h1 {
  margin: 0;

  color: #101827;

  font-size: 58px;
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -2.9px;
}

.hero-gradient-word {
  background: linear-gradient(
    135deg,
    var(--site-primary) 0%,
    var(--site-cyan) 72%,
    var(--site-orange) 160%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  font-weight: 800;
}

.hero-gradient-word-alt {
  background: linear-gradient(
    135deg,
    var(--site-primary-dark) 0%,
    var(--site-primary) 45%,
    var(--site-cyan) 80%,
    var(--site-orange) 150%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 700px;
  margin: 25px 0 0;

  color: #56647a;

  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-top: 29px;
}

.hero-primary-btn {
  min-height: 64px;

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

  padding: 0 30px;

  border-radius: 999px;

  background: linear-gradient(135deg, #0878dc 0%, #0b4fad 72%, #ff6b00 155%);

  color: #fff;

  box-shadow: 0 11px 28px rgba(11, 94, 215, 0.23);

  font-size: 15px;
  font-weight: 700;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.hero-primary-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(11, 94, 215, 0.27);
}

.hero-demo-btn {
  min-height: 64px;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 0 22px 0 10px;

  border: 1px solid #d7e0ec;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.98);
  color: #17233a;

  box-shadow: 0 4px 12px rgba(10, 50, 105, 0.04);

  cursor: pointer;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.hero-demo-btn:hover {
  border-color: #a9c6eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(10, 50, 105, 0.08);
}

.hero-demo-play {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--site-primary), var(--site-cyan));

  color: #fff;

  box-shadow: 0 7px 16px rgba(11, 94, 215, 0.19);

  font-size: 14px;
  transform: translateX(1px);
}

.hero-demo-copy {
  display: block;
  text-align: left;
}

.hero-demo-copy b,
.hero-demo-copy small {
  display: block;
}

.hero-demo-copy b {
  color: #17233a;

  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
}

.hero-demo-copy small {
  margin-top: 4px;

  color: #8795a8;

  font-size: 11px;
  line-height: 1;
}

/* =========================================================
   TRUST ROW
========================================================= */

.hero-trust-row {
  position: relative;

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

  margin-top: 41px;
  padding-top: 34px;

  border-top: 1px solid #dce5ef;
}

.hero-trusted-schools b,
.hero-trusted-schools span {
  display: block;
}

.hero-trusted-schools b {
  color: #17233a;

  font-size: 14px;
  font-weight: 700;
}

.hero-trusted-schools span {
  margin-top: 6px;

  color: #74839a;

  font-size: 11px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 11px;

  color: #74839a;
}

.hero-stars {
  color: #304562;

  font-size: 13px;
  letter-spacing: 1.8px;
}

.hero-rating b {
  color: #17233a;

  font-size: 21px;
  line-height: 1;
  font-weight: 700;
}

.hero-rating > span:last-child {
  font-size: 11px;
}

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

.hero-visual {
  position: relative;

  min-height: 620px;

  display: grid;
  place-items: center;
}

/* back rings */
.hero-ring {
  position: absolute;
  pointer-events: none;

  border-radius: 50%;
}

.hero-ring-one {
  width: 455px;
  height: 455px;

  right: 120px;
  top: 118px;

  border: 25px solid transparent;

  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(
        from 205deg,
        var(--site-orange) 0deg 95deg,
        transparent 95deg 178deg,
        var(--site-primary) 178deg 283deg,
        transparent 283deg 360deg
      )
      border-box;

  opacity: 0.92;
}

.hero-ring-two {
  width: 330px;
  height: 330px;

  right: 150px;
  bottom: 18px;

  border: 23px solid transparent;

  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(
        from 38deg,
        transparent 0deg 90deg,
        var(--site-cyan) 90deg 185deg,
        transparent 185deg 270deg,
        var(--site-orange) 270deg 360deg
      )
      border-box;

  opacity: 0.6;
}

.hero-dashboard {
  position: absolute;
  right: 155px;
  top: 64px;
  z-index: 2;

  width: 420px;
  min-height: 490px;

  padding: 20px 19px 18px;

  border: 1px solid #e3e9f1;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.985);

  box-shadow:
    0 28px 58px rgba(10, 50, 105, 0.19),
    0 6px 16px rgba(10, 50, 105, 0.07);

  transform: rotate(-2.2deg);
  transform-origin: center;
}

.hero-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;

  margin-bottom: 17px;
}

.hero-dashboard-head h3 {
  margin: 0;

  color: #17233a;

  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
}

.hero-dashboard-head p {
  margin: 6px 0 0;

  color: #8b98aa;

  font-size: 12px;
  line-height: 1;
}

.hero-dashboard-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--site-orange), #ff9b52);

  color: #fff;

  font-size: 13px;
  font-weight: 800;
}

.hero-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-stat {
  min-height: 108px;

  padding: 15px 14px;

  border: 1px solid transparent;
  border-radius: 13px;
}

.hero-stat small,
.hero-stat b,
.hero-stat span {
  display: block;
}

.hero-stat small {
  color: #5f7088;

  font-size: 11px;
  font-weight: 700;
}

.hero-stat b {
  margin-top: 8px;

  color: #17233a;

  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.hero-stat span {
  margin-top: 8px;

  color: #90a0b4;

  font-size: 11px;
}

.hero-stat-blue {
  border-color: #bcd6f8;
  background: #eaf3ff;
}

.hero-stat-green {
  border-color: #b9ebcb;
  background: #eefbf2;
}

.hero-stat-orange {
  border-color: #f2d2ae;
  background: #fff5e9;
}

.hero-stat-red {
  border-color: #f3c7cc;
  background: #fff0f1;
}

.hero-chart-card {
  margin-top: 14px;
  padding: 17px 15px 12px;

  border: 1px solid #dfe7f1;
  border-radius: 13px;

  background: #f8fafc;
}

.hero-chart-title {
  color: #51627a;

  font-size: 12px;
  font-weight: 600;
}

.hero-bars {
  height: 82px;

  display: flex;
  align-items: flex-end;
  gap: 8px;

  padding-top: 13px;
}

.hero-bars i {
  flex: 1;
  min-height: 14px;

  border-radius: 5px 5px 0 0;

  background: linear-gradient(180deg, var(--site-cyan), var(--site-primary));

  box-shadow: 0 2px 7px rgba(11, 94, 215, 0.12);
}

/* =========================================================
   FLOATING CARDS
========================================================= */

.hero-floating-card {
  position: absolute;
  z-index: 4;

  border: 1px solid #e1e7ef;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.99);

  box-shadow:
    0 17px 34px rgba(10, 50, 105, 0.13),
    0 4px 10px rgba(10, 50, 105, 0.045);
}

.hero-floating-card small {
  display: block;

  color: #8290a4;

  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.15px;
}

.hero-floating-main {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 10px;
}

.hero-floating-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background: #eaf3ff;

  font-size: 16px;
}

.hero-floating-icon.orange {
  background: #fff0e4;
}

.hero-floating-icon.money {
  background: #fff5df;
}

.hero-floating-main b {
  color: #17233a;

  font-size: 25px;
  line-height: 1;
  font-weight: 700;
}

.hero-floating-card p {
  margin: 10px 0 0;

  color: #617189;

  font-size: 11px;
}

.hero-floating-card p strong {
  color: #17233a;
}

.hero-students-card {
  left: -8px;
  top: 181px;

  width: 194px;
  padding: 16px 15px 14px;
}

.hero-staff-card {
  right: 30px;
  top: 79px;

  width: 140px;
  padding: 16px 15px 17px;
}

.hero-collection-card {
  right: -38px;
  bottom: 144px;

  width: 218px;
  padding: 17px 17px 15px;
}

.hero-collection-card p strong {
  color: #159b4c;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1550px) {
  .hero-shell {
    width: min(1430px, calc(100% - 70px));
    grid-template-columns: minmax(560px, 0.95fr) minmax(660px, 1.05fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-dashboard {
    right: 105px;
    width: 400px;
  }

  .hero-students-card {
    left: 0;
  }

  .hero-staff-card,
  .hero-collection-card {
    right: -3px;
  }
}

@media (max-width: 1250px) {
  .hero {
    min-height: auto;
  }

  .hero-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;

    padding: 65px 0 50px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 640px;
  }

  .hero-dashboard {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(-2deg);
  }

  .hero-students-card {
    left: 7%;
  }

  .hero-staff-card {
    right: 7%;
  }

  .hero-collection-card {
    right: 5%;
  }
/* 
  .hero-side-action {
    display: none;
  } */
}

@media (max-width: 760px) {
  .hero-shell {
    width: calc(100% - 28px);
    padding-top: 44px;
  }

  .hero-badges {
    gap: 8px;
    margin-bottom: 25px;
  }

  .hero-rank-badge {
    min-height: 44px;
    padding-inline: 13px;
  }

  .hero-rank-badge strong {
    font-size: 20px;
  }

  .hero-rank-badge span {
    font-size: 9px;
  }

  .hero-verified-badge {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 57px);
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-description br {
    display: none;
  }

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

  .hero-primary-btn,
  .hero-demo-btn {
    width: 100%;
    max-width: 330px;
  }

  .hero-trust-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-dashboard {
    top: 58px;
    width: min(420px, 84vw);
    padding: 18px;
  }

  .hero-dashboard-head h3 {
    font-size: 16px;
  }

  .hero-dashboard-head p {
    font-size: 11px;
  }

  .hero-stat {
    min-height: 95px;
    padding: 14px;
  }

  .hero-stat b {
    font-size: 24px;
  }

  .hero-students-card,
  .hero-staff-card,
  .hero-collection-card {
    transform: scale(0.82);
  }

  .hero-students-card {
    left: -14px;
    top: 185px;
    transform-origin: left center;
  }

  .hero-staff-card {
    right: -14px;
    top: 52px;
    transform-origin: right top;
  }

  .hero-collection-card {
    right: -18px;
    bottom: 72px;
    transform-origin: right center;
  }

  .hero-ring-one,
  .hero-ring-two {
    transform: scale(0.8);
  }
}


/* =========================================================
   NEXT SECTION CSS STARTS BELOW THIS LINE
========================================================= */

/* =========================================================
   SECTION 03 — MODULE SHOWCASE
   Reference-video proportion pass
   HTML STRUCTURE UNCHANGED
   Colors / gradients / hover animations preserved
========================================================= */

.modules-showcase {
  position: relative;
  overflow: hidden;

  padding: 58px 0 74px;

  background:
    linear-gradient(rgba(11, 94, 215, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 94, 215, 0.032) 1px, transparent 1px),
    #ffffff;

  background-size: 34px 34px;
}

.modules-showcase::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(3, 169, 217, 0.045),
      transparent 19%
    ),
    radial-gradient(circle at 94% 82%, rgba(255, 107, 0, 0.04), transparent 18%);
}

.modules-showcase > .container {
  position: relative;
  z-index: 1;

  width: min(1546px, calc(100% - 96px));
  max-width: none;
}

/* =========================================================
   SECTION HEADING
========================================================= */

.modules-showcase-head {
  max-width: 1060px;

  margin: 0 auto 62px;

  text-align: center;
}

.modules-kicker {
  margin-bottom: 17px;

  color: var(--site-primary);

  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2.15px;
  text-transform: uppercase;
}

.modules-showcase-head h2 {
  max-width: 1040px;

  margin: 0 auto;

  color: #111827;

  font-family: "Poppins", Arial, sans-serif;
  font-size: 44px;
  line-height: 1.13;
  font-weight: 700;
  letter-spacing: -1.75px;
}

.modules-showcase-head h2 span {
  background: linear-gradient(
    135deg,
    var(--site-primary) 0%,
    var(--site-cyan) 72%,
    var(--site-orange) 155%
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.modules-showcase-head p {
  max-width: 1030px;

  margin: 24px auto 0;

  color: #6f7e93;

  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 400;
}

/* =========================================================
   CARD GRID
========================================================= */

.modules-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;

  width: 100%;
}

/* =========================================================
   LARGE VIDEO-PROPORTION CARDS
========================================================= */

.module-showcase-card {
  position: relative;

  min-height: 430px;

  padding: 26px 25px 0;

  overflow: hidden;

  border: 1px solid transparent;
  border-radius: 20px;

  box-shadow: 0 6px 18px rgba(10, 50, 105, 0.055);

  font-family: "Poppins", Arial, sans-serif;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.module-showcase-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 14px 30px rgba(10, 50, 105, 0.1);
}

/* =========================================================
   CARD PALETTES — UNCHANGED
========================================================= */

.tone-cream {
  border-color: #efdfcb;

  background:
    radial-gradient(
      circle at 12% 85%,
      rgba(255, 107, 0, 0.04),
      transparent 27%
    ),
    linear-gradient(145deg, #fff8ed 0%, #fffaf3 100%);
}

.tone-blue-soft {
  border-color: #d7e5f5;

  background:
    radial-gradient(
      circle at 82% 12%,
      rgba(3, 169, 217, 0.05),
      transparent 28%
    ),
    linear-gradient(145deg, #eef6ff 0%, #f4f9ff 100%);
}

.tone-dark {
  border-color: #0f4b96;

  background:
    radial-gradient(circle at 88% 8%, rgba(3, 169, 217, 0.15), transparent 26%),
    radial-gradient(circle at 5% 94%, rgba(255, 107, 0, 0.07), transparent 26%),
    linear-gradient(145deg, #073b8c 0%, #0b4f9f 65%, #084784 100%);

  color: #ffffff;

  box-shadow: 0 10px 26px rgba(7, 59, 140, 0.16);
}

/* =========================================================
   CARD HEADER
========================================================= */

.module-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.module-label {
  min-height: 35px;

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

  padding: 0 16px;

  border-radius: 999px;

  background: #0d376e;
  color: #ffffff;

  font-family: "Poppins", Arial, sans-serif;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 600;
}

.tone-dark .module-label {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.module-arrow {
  text-decoration: none;

  width: 46px;
  height: 46px;
  flex: 0 0 46px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #0b2f63;
  color: #ffffff;

  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.tone-dark .module-arrow {
  background: linear-gradient(135deg, var(--site-primary), var(--site-cyan));
}

.module-showcase-card:hover .module-arrow {
  transform: translateY(-2px) rotate(5deg);
}

/* =========================================================
   CARD MAIN TEXT
========================================================= */

.module-showcase-card h3 {
  max-width: 440px;

  margin: 27px 0 0;

  color: #103667;

  font-family: "Poppins", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.38;
  font-weight: 700;
  letter-spacing: -0.45px;
}

.module-showcase-card h3 span {
  color: var(--site-primary);
}

.tone-dark h3 {
  color: #ffffff;
}

.tone-dark h3 span {
  color: #7be4ff;
}

.tone-cream h3 span:last-of-type {
  color: var(--site-cyan);
}

/* =========================================================
   STUDENT LIFECYCLE PREVIEW
========================================================= */

.student-mini-preview {
  position: absolute;
  left: 50%;
  bottom: 0;

  width: 64%;
  min-height: 126px;

  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 13px;

  padding: 18px 20px 16px;

  border: 1px solid #e4e9ef;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;

  background: rgba(255, 255, 255, 0.97);

  box-shadow: 0 -5px 18px rgba(10, 50, 105, 0.07);

  transform: translateX(-50%);
}

.student-mini-avatar {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background: linear-gradient(135deg, #ffe49a, #ffb52f);

  color: #744500;

  font-size: 0;
  font-weight: 800;
}

.student-mini-avatar::before {
  content: "👨‍🎓";
  font-size: 23px;
  line-height: 1;
}

.student-mini-copy b,
.student-mini-copy small {
  display: block;
}

.student-mini-copy b {
  color: #20344f;

  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.student-mini-copy small {
  margin-top: 4px;

  color: #7f8fa3;

  font-size: 10px;
  line-height: 1.3;
}

.student-mini-tags {
  grid-column: 1 / -1;

  display: flex;
  gap: 7px;

  margin-top: 3px;
}

.student-mini-tags span {
  padding: 4px 8px;

  border-radius: 999px;

  background: #edf5ff;
  color: #48647f;

  font-size: 8px;
  line-height: 1.2;
  font-weight: 600;
}

.student-mini-tags span:first-child {
  background: #e5f9eb;
  color: #16864b;
}

.student-mini-tags span:last-child {
  background: #fff3cf;
  color: #996a00;
}

/* =========================================================
   FEES PREVIEW
========================================================= */

.fee-mini-preview {
  position: absolute;
  left: 50%;
  bottom: 0;

  width: 64%;

  padding: 18px 19px 15px;

  border-radius: 14px 14px 0 0;

  background: #ffffff;
  color: #26364f;

  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);

  transform: translateX(-50%);
}

.fee-mini-head,
.fee-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fee-mini-head {
  margin-bottom: 13px;
}

.fee-mini-head b {
  font-size: 11px;
  line-height: 1.2;
}

.fee-mini-head span {
  padding: 4px 10px;

  border-radius: 999px;

  background: #dff7e8;
  color: #138947;

  font-size: 8px;
  line-height: 1;
  font-weight: 800;
}

.fee-mini-row {
  padding: 8px 0;

  border-bottom: 1px solid #eef1f5;

  font-size: 10px;
  line-height: 1.25;
}

.fee-mini-row span {
  color: #718096;
}

.fee-mini-row b {
  color: #24364f;
}

.fee-mini-row.total {
  border-bottom: 0;

  font-weight: 700;
}

.fee-mini-row.total b {
  color: var(--site-primary);

  font-size: 15px;
}

.fee-mini-foot {
  margin-top: 8px;
  padding: 7px;

  border-radius: 7px;

  background: #eef4ff;
  color: var(--site-primary);

  font-size: 8px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

/* =========================================================
   COMMUNICATION PREVIEW
========================================================= */

.message-mini-preview {
  position: absolute;
  right: 7%;
  bottom: 0;

  width: 66%;

  display: grid;
  gap: 8px;

  padding-bottom: 14px;
}

.message-mini-preview > div {
  min-height: 58px;

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

  padding: 10px 14px;

  border: 1px solid #dce5f1;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.97);

  box-shadow: 0 4px 12px rgba(10, 50, 105, 0.045);
}

.message-icon {
  width: 22px;
  flex: 0 0 22px;

  color: var(--site-primary);

  font-size: 0;
  text-align: center;
}

.message-mini-preview > div:nth-child(1) .message-icon::before {
  content: "🧮";
  font-size: 15px;
}

.message-mini-preview > div:nth-child(2) .message-icon::before {
  content: "💬";
  font-size: 15px;
}

.message-mini-preview > div:nth-child(3) .message-icon::before {
  content: "📋";
  font-size: 15px;
}

.message-mini-preview p {
  margin: 0;
}

.message-mini-preview b,
.message-mini-preview small {
  display: block;
}

.message-mini-preview b {
  color: #364a66;

  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
}

.message-mini-preview small {
  margin-top: 4px;

  color: #8897aa;

  font-size: 8px;
  line-height: 1.3;
}

/* =========================================================
   PAYROLL PREVIEW
========================================================= */

.payroll-mini-preview {
  position: absolute;
  left: 50%;
  bottom: 0;

  width: 62%;

  padding: 16px 18px 15px;

  border: 1px solid #dce5ef;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;

  background: #ffffff;

  box-shadow: 0 -4px 14px rgba(10, 50, 105, 0.06);

  transform: translateX(-50%);
}

.payroll-title {
  margin-bottom: 11px;

  color: #273d59;

  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
}

.payroll-mini-preview > div:not(.payroll-title) {
  display: flex;
  justify-content: space-between;
  gap: 10px;

  padding: 6px 0;

  color: #708095;

  font-size: 9px;
  line-height: 1.25;
}

.payroll-mini-preview b {
  color: #31435d;
}

.payroll-mini-preview .negative b {
  color: #d94a4a;
}

.payroll-mini-preview .net {
  margin-top: 3px;
  padding-top: 8px;

  border-top: 1px solid #e7edf4;
}

.payroll-mini-preview .net b {
  color: var(--site-primary);
}

.payroll-mini-preview > small {
  display: block;

  margin-top: 9px;
  padding: 7px;

  border-radius: 7px;

  background: #e8faef;
  color: #16864b;

  font-size: 8px;
  line-height: 1;
  font-weight: 600;
  text-align: center;
}

/* =========================================================
   ATTENDANCE PREVIEW
========================================================= */

.attendance-mini-preview {
  position: absolute;
  left: 50%;
  bottom: 0;

  width: 64%;

  padding: 16px;

  border-radius: 14px 14px 0 0;

  background: rgba(6, 36, 81, 0.72);

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 -3px 14px rgba(0, 0, 0, 0.11);

  transform: translateX(-50%);
}

.attendance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  color: #d9ecff;

  font-size: 9px;
  line-height: 1.2;
}

.attendance-head b {
  padding: 4px 8px;

  border-radius: 999px;

  background: #1fad63;
  color: #ffffff;

  font-size: 8px;
  line-height: 1;
}

.attendance-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;

  margin-top: 14px;
}

.attendance-dots i {
  height: 27px;

  display: grid;
  place-items: center;

  border-radius: 6px;

  font-size: 11px;
  font-style: normal;
}

.attendance-dots i.ok {
  background: rgba(27, 177, 102, 0.25);
  color: #64e4a2;
}

.attendance-dots i.bad {
  background: rgba(239, 68, 68, 0.2);
  color: #ff9494;
}

/* =========================================================
   IMPORT PREVIEW
========================================================= */

.import-mini-preview {
  position: absolute;
  left: 50%;
  bottom: 0;

  width: 62%;

  padding: 10px 15px;

  border: 1px solid #dfe6ed;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;

  background: rgba(255, 255, 255, 0.97);

  box-shadow: 0 -4px 14px rgba(10, 50, 105, 0.05);

  transform: translateX(-50%);
}

.import-mini-preview > div {
  min-height: 39px;

  display: grid;
  grid-template-columns: 20px 1fr 22px;
  align-items: center;
  gap: 8px;

  border-bottom: 1px solid #eef2f5;
}

.import-mini-preview > div:last-child {
  border-bottom: 0;
}

.import-mini-preview span {
  color: #75879c;

  font-size: 0;
}

.import-mini-preview span::before {
  content: "▤";
  font-size: 11px;
}

.import-mini-preview b {
  color: #52677f;

  font-size: 9px;
  line-height: 1.2;
}

.import-mini-preview em {
  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #19aa59;
  color: #ffffff;

  font-size: 9px;
  font-style: normal;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1360px) {
  .modules-showcase > .container {
    width: min(1240px, calc(100% - 56px));
  }

  .modules-showcase-head h2 {
    font-size: 40px;
  }

  .module-showcase-card {
    min-height: 405px;
    padding-inline: 22px;
  }

  .module-showcase-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 991.98px) {
  .modules-showcase {
    padding: 62px 0 68px;
  }

  .modules-showcase > .container {
    width: min(900px, calc(100% - 34px));
  }

  .modules-showcase-head {
    margin-bottom: 42px;
  }

  .modules-showcase-head h2 {
    font-size: 36px;
  }

  .modules-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-showcase-card {
    min-height: 390px;
  }
}

@media (max-width: 700px) {
  .modules-showcase {
    padding: 52px 0 58px;
  }

  .modules-showcase > .container {
    width: calc(100% - 24px);
  }

  .modules-showcase-head {
    margin-bottom: 30px;
  }

  .modules-kicker {
    font-size: 9px;
    letter-spacing: 1.65px;
  }

  .modules-showcase-head h2 {
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -1px;
  }

  .modules-showcase-head p {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.65;
  }

  .modules-showcase-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .module-showcase-card {
    min-height: 375px;
  }
}

@media (max-width: 480px) {
  .modules-showcase-head h2 {
    font-size: 26px;
  }

  .module-showcase-card {
    min-height: 360px;

    padding: 20px 18px 0;

    border-radius: 18px;
  }

  .module-showcase-card h3 {
    margin-top: 22px;
    font-size: 17px;
  }

  .module-label {
    min-height: 29px;
    padding-inline: 12px;

    font-size: 9px;
  }

  .module-arrow {
    width: 38px;
    height: 38px;
    flex-basis: 38px;

    font-size: 18px;
  }

  .student-mini-preview,
  .fee-mini-preview,
  .payroll-mini-preview,
  .attendance-mini-preview,
  .import-mini-preview {
    width: 72%;
  }

  .message-mini-preview {
    width: 76%;
    right: 5%;
  }
}

/* =========================================================
   SECTION 04 — 50+ MODULES GRID
   Video-matched 4-column full-width long-scroll section
========================================================= */

.all-modules-section {
  position: relative;

  padding: 72px 0 88px;

  background: #ffffff;
}

.all-modules-shell {
  width: min(1810px, calc(100% - 112px));
  margin: 0 auto;
}

/* =========================================================
   HEADING
========================================================= */

.all-modules-head {
  margin-bottom: 42px;

  text-align: center;
}

.all-modules-kicker {
  margin-bottom: 28px;

  color: var(--site-primary);

  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.9px;
  text-transform: uppercase;
}

.all-modules-head h2 {
  margin: 0;

  color: #101827;

  font-size: 38px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.1px;
}

/* =========================================================
   GRID
========================================================= */

.all-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 22px;
}

/* =========================================================
   MODULE CARD
========================================================= */

.all-module-card {
  position: relative;

  min-height: 188px;

  padding: 24px 22px 22px;

  border: 1px solid #dfe5ed;
  border-radius: 17px;

  background: #ffffff;

  box-shadow: 0 2px 6px rgba(10, 50, 105, 0.018);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.all-module-card:hover {
  border-color: #85b8f0;

  transform: translateY(-2px);

  box-shadow:
    0 9px 22px rgba(10, 50, 105, 0.07),
    inset 0 3px 0 rgba(11, 94, 215, 0.8);
}

.all-module-card:nth-child(6n + 5):hover {
  border-color: #ff9dad;

  box-shadow:
    0 9px 22px rgba(10, 50, 105, 0.07),
    inset 0 3px 0 rgba(255, 107, 0, 0.78);
}

.all-module-card-top {
  min-height: 54px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* =========================================================
   ICON TILE
========================================================= */

.all-module-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  font-size: 23px;
  line-height: 1;

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.icon-violet {
  background: #efedff;
}

.icon-cyan {
  background: #e1f5ff;
}

.icon-green {
  background: #dcfaec;
}

.icon-yellow {
  background: #fff4c9;
}

.icon-pink {
  background: #ffe0e6;
}

.icon-blue {
  background: #e9efff;
}

/* =========================================================
   TOP-RIGHT BADGES
========================================================= */

.module-badge {
  min-height: 27px;

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

  padding: 0 11px;

  border-radius: 999px;

  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.35px;
}

.module-badge.new {
  background: #dcfae8;
  color: #16954c;
}

.module-badge.rajasthan {
  background: #fff2c9;
  color: #a86514;
}

/* =========================================================
   CARD TYPOGRAPHY
========================================================= */

.all-module-card h3 {
  margin: 15px 0 12px;

  color: #111827;

  font-size: 14px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.25px;
}

.all-module-card p {
  margin: 0;

  color: #5f6d82;

  font-size: 12px;
  line-height: 1.65;
  font-weight: 400;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1450px) {
  .all-modules-shell {
    width: min(1360px, calc(100% - 64px));
  }

  .all-module-card {
    min-height: 176px;
  }

  .all-module-card h3 {
    font-size: 15px;
  }

  .all-module-card p {
    font-size: 12px;
  }
}

@media (max-width: 1100px) {
  .all-modules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .all-modules-section {
    padding: 58px 0 66px;
  }

  .all-modules-shell {
    width: calc(100% - 32px);
  }

  .all-modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .all-modules-kicker {
    margin-bottom: 18px;

    font-size: 11px;
  }

  .all-modules-head h2 {
    font-size: 31px;
  }
}

@media (max-width: 560px) {
  .all-modules-shell {
    width: calc(100% - 22px);
  }

  .all-modules-grid {
    grid-template-columns: 1fr;
  }

  .all-module-card {
    min-height: 164px;
    padding: 20px;
  }

  .all-module-card h3 {
    font-size: 16px;
  }

  .all-module-card p {
    font-size: 12.5px;
  }
}

/* =========================================================
   SECTION 05 — ANNUAL PRICING + CUSTOM CALCULATOR
   Deep video-reference rebuild
========================================================= */

.pricing-section {
  position: relative;

  padding: 78px 0 0;

  background: linear-gradient(180deg, #fafbff 0%, #f7f9fd 100%);
}

.pricing-shell {
  width: min(1810px, calc(100% - 112px));
  margin: 0 auto;
}

/* =========================================================
   HEADING
========================================================= */

.pricing-head {
  text-align: center;
}

.pricing-kicker {
  margin-bottom: 24px;

  color: var(--site-primary);

  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.pricing-head h2 {
  margin: 0;

  color: #111827;

  font-size: 51px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -1.9px;
}

.pricing-head p {
  margin: 27px 0 0;

  color: #5f6d81;

  font-size: 18px;
  line-height: 1.5;
}

/* =========================================================
   PROVIDER NOTE
========================================================= */

.pricing-provider-note {
  width: min(920px, 100%);

  margin: 40px auto 36px;
  padding: 18px 28px;

  border: 1px solid #eedf70;
  border-radius: 12px;

  background: #fffbc4;
  color: #4b4a35;

  box-shadow: 0 2px 8px rgba(76, 68, 5, 0.035);

  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

.pricing-provider-note strong {
  color: #272719;
}

/* =========================================================
   FIXED / CUSTOMIZED SWITCH
========================================================= */

.pricing-switch {
  width: max-content;

  display: flex;
  align-items: center;

  margin: 0 auto 40px;
  padding: 6px;

  border: 1px solid #dfe3ea;
  border-radius: 999px;

  background: #f1f2f7;

  box-shadow:
    inset 0 1px 3px rgba(16, 24, 40, 0.035),
    0 2px 7px rgba(10, 50, 105, 0.035);
}

.pricing-switch-btn {
  min-width: 148px;
  min-height: 49px;

  padding: 0 22px;

  border: 0;
  border-radius: 999px;

  background: transparent;
  color: #344157;

  cursor: pointer;

  font-size: 14px;
  line-height: 1;
  font-weight: 700;

  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.pricing-switch-btn:hover {
  color: var(--site-primary);
}

.pricing-switch-btn.active {
  background: #ffffff;
  color: var(--site-primary);

  box-shadow:
    0 5px 14px rgba(10, 50, 105, 0.1),
    inset 0 0 0 1px rgba(11, 94, 215, 0.05);
}

.pricing-tab-panel[hidden] {
  display: none !important;
}

/* =========================================================
   FIXED PLANS — 4 LARGE CARDS
========================================================= */

/* =========================================================
   FIXED PLANS — COMPACT 5 CARD LAYOUT
========================================================= */

/* Pricing aur footer ke beech proper breathing space */
.pricing-section {
    padding-bottom: 80px;
}

/* 5 cards ek row me */
.fixed-pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

/* Main card */
.fixed-plan-card {
    position: relative;

    min-width: 0;
    min-height: 500px;

    display: flex;
    flex-direction: column;

    padding: 24px 20px 20px;

    border: 1px solid #dfe6ef;
    border-radius: 18px;

    background: #ffffff;

    box-shadow: 0 6px 18px rgba(10, 50, 105, 0.045);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.fixed-plan-card:hover {
    transform: translateY(-3px);
    border-color: #b7cbea;
    box-shadow: 0 12px 26px rgba(10, 50, 105, 0.08);
}


/* MOST POPULAR CARD */
.fixed-plan-card.popular-plan {
    border: 2px solid var(--site-primary);

    box-shadow:
        0 10px 25px rgba(11, 94, 215, 0.09);
}

.popular-plan-label {
    position: absolute;

    left: 50%;
    top: -14px;

    min-height: 28px;

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

    padding: 0 15px;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #5947ee,
        #5142e8
    );

    color: #ffffff;

    transform: translateX(-50%);

    box-shadow: 0 5px 12px rgba(81, 66, 232, 0.18);

    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.4px;

    white-space: nowrap;
}


/* CARD CONTENT */
.fixed-plan-copy {
    flex: 1;
    min-width: 0;
}

.fixed-plan-card h3 {
    margin: 0;

    color: #111827;

    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
}

.fixed-plan-card h3 + p {
    margin: 7px 0 0;

    color: #64748b;

    font-size: 13px;
    line-height: 1.35;
}


/* PRICE */
.fixed-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;

    margin-top: 27px;
}

.fixed-plan-price > span {
    color: #475569;

    font-size: 17px;
    font-weight: 600;
}

.fixed-plan-price b {
    color: #111827;

    font-size: 36px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.fixed-plan-price small {
    color: #94a3b8;

    font-size: 11px;
}


/* PER STUDENT PILL */
.per-student-pill {
    min-height: 30px;

    display: flex;
    align-items: center;

    margin-top: 17px;
    padding: 0 11px;

    border: 1px solid #a7ebcc;
    border-radius: 999px;

    background: #effcf5;
    color: #087f5b;

    font-size: 10.5px;
    line-height: 1;
    font-weight: 700;

    white-space: nowrap;
}


/* FEATURES */
.fixed-plan-card ul {
    display: grid;
    gap: 11px;

    margin: 22px 0 22px;
    padding: 0;

    list-style: none;
}

.fixed-plan-card li {
    position: relative;

    padding-left: 16px;

    color: #253248;

    font-size: 11.5px;
    line-height: 1.4;
}

.fixed-plan-card li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color: #111827;

    font-weight: 700;
}


/* REGISTER BUTTON */
.fixed-plan-btn {
    min-height: 44px;

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

    margin-top: auto;

    border: 1px solid #dfe5ed;
    border-radius: 999px;

    background: #ffffff;
    color: #171d2b;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.fixed-plan-btn:hover {
    border-color: var(--site-primary);

    background: #f5f8ff;
    color: var(--site-primary);

    transform: translateY(-1px);

    box-shadow: 0 5px 12px rgba(11, 94, 215, 0.08);
}


/* PRIMARY / GROWTH BUTTON */
.fixed-plan-btn.primary {
    border-color: transparent;

    background: linear-gradient(
        135deg,
        #5947ee,
        #5142e8
    );

    color: #ffffff;

    box-shadow: 0 7px 17px rgba(81, 66, 232, 0.20);
}

.fixed-plan-btn.primary:hover {
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow: 0 10px 22px rgba(81, 66, 232, 0.25);
}


/* =========================================================
   FIXED PLAN RESPONSIVE
========================================================= */

@media (max-width: 1450px) {
    .fixed-pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .fixed-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fixed-plan-card {
        min-height: 480px;
    }
}

@media (max-width: 620px) {
    .pricing-section {
        padding-bottom: 55px;
    }

    .fixed-pricing-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fixed-plan-card {
        min-height: auto;
        padding: 23px 19px 19px;
    }

    .fixed-plan-price b {
        font-size: 34px;
    }

    .fixed-plan-card li {
        font-size: 12px;
    }
}
/* =========================================================
   CUSTOMIZED PLAN — TWO COLUMN CALCULATOR
========================================================= */

.custom-pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(500px, 1fr);
  gap: 30px;

  align-items: stretch;
}

.custom-calculator-card,
.custom-estimate-card {
  border: 1px solid #dce3eb;
  border-radius: 18px;

  background: #ffffff;

  box-shadow: 0 4px 14px rgba(10, 50, 105, 0.035);
}

/* left */
.custom-calculator-card {
  min-height: 610px;

  padding: 40px 34px 33px;
}

.custom-calculator-card > h3 {
  margin: 0;

  color: #4d586a;

  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.student-count-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  align-items: center;
  gap: 24px;

  margin-top: 44px;
}

/* Range control */
.student-count-range {
  --range-fill: 15.8%;

  width: 100%;
  height: 31px;

  margin: 0;

  appearance: none;
  -webkit-appearance: none;

  border-radius: 999px;

  background: linear-gradient(
    to right,
    var(--site-primary) 0%,
    var(--site-primary) var(--range-fill),
    #ffffff var(--range-fill),
    #ffffff 100%
  );

  box-shadow:
    inset 0 0 0 1px #d8dde4,
    0 0 0 6px rgba(11, 94, 215, 0.075);

  cursor: pointer;
}

.student-count-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.student-count-range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.student-count-range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;

  margin-top: -6px;

  appearance: none;
  -webkit-appearance: none;

  border: 0;
  border-radius: 50%;

  background: var(--site-primary);

  box-shadow: 0 2px 6px rgba(11, 94, 215, 0.22);
}

.student-count-range::-moz-range-thumb {
  width: 20px;
  height: 20px;

  border: 0;
  border-radius: 50%;

  background: var(--site-primary);

  box-shadow: 0 2px 6px rgba(11, 94, 215, 0.22);
}

.student-count-number {
  width: 122px;
  height: 58px;

  padding: 0 16px;

  border: 1px solid #d9dfe7;
  border-radius: 12px;

  outline: 0;

  background: #ffffff;
  color: #111827;

  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  text-align: center;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.student-count-number:focus {
  border-color: var(--site-primary);

  box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.09);
}

.student-count-help {
  margin: 20px 0 0;

  color: #909cad;

  font-size: 12px;
  line-height: 1.5;
}

.custom-base-plans {
  display: grid;
  gap: 9px;

  margin-top: 111px;
}

.custom-base-row {
  min-height: 51px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 0 17px;

  border: 1px solid #e0e5ec;
  border-radius: 12px;

  background: #ffffff;

  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.custom-base-row b {
  color: #151d2b;

  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.custom-base-row span {
  color: var(--site-primary);

  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.custom-base-row.selected {
  border-color: var(--site-primary);

  background: #f0f4ff;

  box-shadow: inset 0 0 0 1px rgba(11, 94, 215, 0.06);
}

.custom-extra-row {
  border-style: dashed;

  background: #fbfbfc;
}

.custom-extra-row span {
  color: var(--site-primary);
}

/* right */
.custom-estimate-card {
  position: relative;

  min-height: 610px;

  padding: 42px 30px 26px;

  border: 2px solid var(--site-primary);

  box-shadow: 0 12px 30px rgba(11, 94, 215, 0.08);
}

.estimate-label {
  position: absolute;
  left: 50%;
  top: -17px;

  min-height: 34px;

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

  padding: 0 17px;

  border-radius: 999px;

  background: linear-gradient(
    135deg,
    var(--site-primary-dark),
    var(--site-primary)
  );

  color: #ffffff;

  transform: translateX(-50%);

  box-shadow: 0 5px 12px rgba(11, 94, 215, 0.19);

  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.35px;
  white-space: nowrap;
}

.estimate-student-count {
  display: flex;
  align-items: baseline;
  gap: 5px;

  padding-bottom: 21px;

  border-bottom: 1px solid #e2e6ec;
}

.estimate-student-count b,
.estimate-student-count span {
  color: #4b586c;

  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.estimate-breakdown {
  padding: 8px 0 16px;

  border-bottom: 1px solid #e2e6ec;
}

.estimate-line {
  min-height: 38px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.estimate-line span {
  color: #525f73;

  font-size: 14px;
}

.estimate-line b {
  color: #111827;

  font-size: 14px;
  font-weight: 800;
}

.estimate-total {
  display: flex;
  align-items: baseline;
  gap: 4px;

  margin-top: 22px;
}

.estimate-total > span {
  color: #4d5b70;

  font-size: 21px;
  font-weight: 600;
}

.estimate-total b {
  color: #111827;

  font-size: 45px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1.4px;
}

.estimate-total small {
  color: #8d99aa;

  font-size: 13px;
}

.estimate-per-student {
  min-height: 35px;

  display: flex;
  align-items: center;

  margin-top: 22px;
  padding: 0 13px;

  border: 1px solid #a9ebc8;
  border-radius: 999px;

  background: #eafcf2;
  color: #147f49;

  font-size: 12px;
  font-weight: 700;
}

.estimate-features {
  display: grid;
  gap: 18px;

  margin: 26px 0 26px;
  padding: 0;

  list-style: none;
}

.estimate-features li {
  position: relative;

  padding-left: 18px;

  color: #263247;

  font-size: 14px;
  line-height: 1.35;
}

.estimate-features li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: -1px;

  color: #111827;

  font-weight: 700;
}

.custom-register-btn {
  min-height: 54px;

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

  border-radius: 999px;

  background: linear-gradient(135deg, #0878dc 0%, #0b4fad 74%, #ff6b00 158%);

  color: #ffffff;

  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.22);

  font-size: 13px;
  font-weight: 700;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.custom-register-btn:hover {
  color: #ffffff;

  transform: translateY(-1px);

  box-shadow: 0 11px 25px rgba(11, 94, 215, 0.26);
}

.estimate-footnote {
  margin: 17px 0 0;

  color: #939eae;

  font-size: 11px;
  line-height: 1.45;
}

/* =========================================================
   LAUNCH OFFER
========================================================= */

.launch-offer-banner {
  min-height: 112px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;

  margin-top: 45px;
  padding: 20px 34px;

  border-radius: 18px 18px 0 0;

  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(255, 255, 255, 0.08),
      transparent 22%
    ),
    linear-gradient(100deg, #16a34a 0%, #10a660 100%);

  color: #ffffff;

  box-shadow: 0 -3px 15px rgba(22, 163, 74, 0.08);
}

.launch-offer-badge {
  min-height: 39px;

  display: flex;
  align-items: center;

  padding: 0 17px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;

  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.45px;
}

.launch-offer-copy b,
.launch-offer-copy span {
  display: block;
}

.launch-offer-copy b {
  font-size: 21px;
  line-height: 1.1;
  font-weight: 800;
}

.launch-offer-copy span {
  margin-top: 8px;

  color: rgba(255, 255, 255, 0.9);

  font-size: 12px;
}

.launch-offer-btn {
  min-width: 210px;
  min-height: 54px;

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

  padding: 0 24px;

  border-radius: 999px;

  background: #ffffff;
  color: #157c43;

  box-shadow: 0 6px 15px rgba(7, 86, 42, 0.14);

  font-size: 13px;
  font-weight: 700;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.launch-offer-btn:hover {
  color: #126d3b;

  transform: translateY(-1px);

  box-shadow: 0 9px 19px rgba(7, 86, 42, 0.18);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1450px) {
  .pricing-shell {
    width: min(1360px, calc(100% - 64px));
  }

  .pricing-head h2 {
    font-size: 44px;
  }

  .fixed-plan-card {
    min-height: 590px;
    padding-inline: 24px;
  }

  .fixed-plan-price b {
    font-size: 39px;
  }

  .fixed-plan-card li {
    font-size: 12.5px;
  }

  .custom-pricing-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(440px, 0.95fr);
  }
}

@media (max-width: 1100px) {
  .fixed-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-pricing-layout {
    grid-template-columns: 1fr;
  }

  .custom-calculator-card,
  .custom-estimate-card {
    min-height: auto;
  }

  .custom-base-plans {
    margin-top: 65px;
  }
}

@media (max-width: 760px) {
  .pricing-section {
    padding-top: 58px;
  }

  .pricing-shell {
    width: calc(100% - 28px);
  }

  .pricing-kicker {
    margin-bottom: 17px;

    font-size: 11px;
  }

  .pricing-head h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .pricing-head p {
    margin-top: 18px;

    font-size: 14px;
  }

  .pricing-provider-note {
    margin-top: 28px;
    padding: 15px 18px;

    font-size: 11px;
  }

  .pricing-switch {
    width: 100%;
    max-width: 350px;
  }

  .pricing-switch-btn {
    min-width: 0;
    flex: 1;

    min-height: 45px;
    padding-inline: 14px;

    font-size: 12px;
  }

  .fixed-pricing-grid {
    grid-template-columns: 1fr;
  }

  .fixed-plan-card {
    min-height: 555px;
  }

  .student-count-control {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .student-count-number {
    width: 100%;
  }

  .custom-base-plans {
    margin-top: 50px;
  }

  .custom-estimate-card {
    padding-inline: 22px;
  }

  .launch-offer-banner {
    grid-template-columns: 1fr;
    gap: 17px;

    padding: 24px;

    border-radius: 16px 16px 0 0;

    text-align: left;
  }

  .launch-offer-badge {
    width: max-content;
  }

  .launch-offer-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .pricing-head h2 {
    font-size: 29px;
  }

  .fixed-plan-card {
    padding: 32px 20px 23px;
  }

  .fixed-plan-price b {
    font-size: 38px;
  }

  .custom-calculator-card {
    padding: 31px 18px 24px;
  }

  .custom-calculator-card > h3 {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .custom-base-row {
    padding-inline: 12px;
  }

  .custom-base-row b,
  .custom-base-row span {
    font-size: 11px;
  }

  .estimate-total b {
    font-size: 39px;
  }
}

/* =========================================================
   SECTION 06 — FOOTER
   Video-matched dark full-width footer
========================================================= */

.site-footer {
  position: relative;
  z-index: 10;

  width: 100%;

  background:
    radial-gradient(
      circle at 92% 25%,
      rgba(11, 94, 215, 0.08),
      transparent 19%
    ),
    #080c20;

  color: #ffffff;
}

.site-footer-main {
  width: min(1810px, calc(100% - 112px));
  min-height: 152px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;

  margin: 0 auto;
  padding: 26px 0;
}

.footer-brand {
  min-width: 260px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;

  line-height: 0;
}

.footer-logo {
  display: block;

  width: auto;
  height: 102px;
  max-width: 260px;

  object-fit: contain;
  object-position: left center;

  /* filter: brightness(0) invert(1); */

  /* opacity: 0.98; */
}

.footer-contact {
  width: min(520px, 100%);

  display: grid;
  justify-items: end;
  gap: 10px;
}

.footer-contact > a,
.footer-address {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;

  color: #aeb7ca;

  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;

  text-align: right;

  transition: color 0.18s ease;
}

.footer-contact > a:hover {
  color: #ffffff;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;

  display: grid;
  place-items: center;

  color: #8996ad;
}

.footer-contact-icon svg {
  width: 100%;
  height: 100%;

  fill: currentColor;
}

.site-footer-bottom {
  width: min(1810px, calc(100% - 112px));
  min-height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  margin: 0 auto;

  border-top: 1px solid rgba(255, 255, 255, 0.085);

  color: #8f9ab0;
}

.footer-copyright {
  font-size: 12px;
  line-height: 1.5;
}

.footer-copyright strong {
  color: #c8d0df;
  font-weight: 700;
}

.footer-separator {
  margin: 0 5px;
  color: #647188;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;

  white-space: nowrap;
}

.footer-links a {
  color: #c2cada;

  font-size: 12px;
  line-height: 1;
  font-weight: 500;

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-links i {
  color: #4d5870;

  font-style: normal;
}

/* =========================================================
   GLOBAL WHATSAPP / CALL BUTTONS
   Round idle → animated expanding pill on hover
========================================================= */

.global-contact-actions {
  position: fixed;
  right: 18px;
  bottom: 23px;
  z-index: 1200;

  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 14px;

  pointer-events: none;
}

.global-contact-btn {
  position: relative;

  width: 58px;
  height: 58px;

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

  overflow: hidden;

  border: 0;
  border-radius: 999px;

  color: #ffffff;

  box-shadow:
    0 10px 23px rgba(10, 32, 73, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);

  pointer-events: auto;

  transition:
    width 0.28s cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.global-contact-btn:hover {
  width: 154px;

  color: #ffffff;

  transform: translateY(-2px);

  box-shadow:
    0 14px 29px rgba(10, 32, 73, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.global-whatsapp {
  background: linear-gradient(135deg, #2bd47d 0%, #14a95c 100%);
}

.global-call {
  background: linear-gradient(
    135deg,
    var(--site-cyan) 0%,
    var(--site-primary) 64%,
    var(--site-orange) 175%
  );
}

.global-contact-icon {
  position: relative;
  z-index: 2;

  width: 58px;
  height: 58px;
  flex: 0 0 58px;

  display: grid;
  place-items: center;
}

.global-contact-icon svg {
  width: 27px;
  height: 27px;

  fill: #ffffff;
}

.global-contact-label {
  position: relative;
  z-index: 2;

  min-width: 80px;

  padding-right: 18px;

  opacity: 0;

  transform: translateX(7px);

  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;

  transition:
    opacity 0.18s ease 0.06s,
    transform 0.22s ease 0.04s;
}

.global-contact-btn:hover .global-contact-label {
  opacity: 1;
  transform: translateX(0);
}

.global-contact-ripple {
  position: absolute;
  inset: 50% auto auto 29px;

  width: 58px;
  height: 58px;

  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;

  transform: translate(-50%, -50%);

  animation: globalContactPulse 2.2s ease-out infinite;

  pointer-events: none;
}

.global-call .global-contact-ripple {
  animation-delay: -1.05s;
}

@keyframes globalContactPulse {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.82);
  }

  70% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.55);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.55);
  }
}

/* =========================================================
   ROLE LOGIN MODAL — REQUIRED EXISTING FUNCTIONALITY
========================================================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: grid;
  place-items: center;

  padding: 22px;

  background: rgba(5, 13, 32, 0.58);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.role-modal {
  position: relative;

  width: min(640px, 100%);

  padding: 30px;

  border: 1px solid #dce5f0;
  border-radius: 20px;

  background: #ffffff;

  box-shadow: 0 30px 70px rgba(5, 22, 55, 0.24);

  text-align: center;
}

.modal-close {
  position: absolute;
  right: 17px;
  top: 17px;

  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border: 1px solid #dce5ef;
  border-radius: 10px;

  background: #ffffff;
  color: #536178;

  cursor: pointer;

  font-size: 20px;

  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.modal-close:hover {
  background: #f3f7fd;
  color: var(--site-primary);

  transform: rotate(3deg);
}

.modal-logo {
  min-height: 56px;

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

  margin-bottom: 15px;
}

.modal-logo img {
  width: auto;
  height: 50px;
  max-width: 210px;

  object-fit: contain;
}

.role-modal h3 {
  margin: 0;

  color: #111827;

  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
}

.role-modal > p {
  margin: 8px 0 24px;

  color: #74839a;

  font-size: 13px;
}

.modal-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.modal-role-grid a {
  min-height: 88px;

  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 11px;

  padding: 13px;

  border: 1px solid #dfe7f1;
  border-radius: 12px;

  background: #ffffff;

  text-align: left;

  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.modal-role-grid a:hover {
  border-color: #a7c6ea;

  background: #f8fbff;

  transform: translateY(-2px);

  box-shadow: 0 7px 16px rgba(10, 50, 105, 0.07);
}

.modal-role-grid a > span {
  width: 42px;
  height: 42px;

  grid-row: 1 / 3;

  display: grid;
  place-items: center;

  border-radius: 11px;

  font-size: 11px;
  font-weight: 800;
}

.modal-role-grid span.admin {
  background: #e8f1ff;
  color: var(--site-primary);
}

.modal-role-grid span.teacher {
  background: #fff0df;
  color: var(--site-orange);
}

.modal-role-grid span.student {
  background: #e4f8ff;
  color: #0789b7;
}

.modal-role-grid span.parent {
  background: #fff0f4;
  color: #cb4c79;
}

.modal-role-grid span.staff {
  background: #e8f8ee;
  color: #16854b;
}

.modal-role-grid b {
  color: #17233a;

  font-size: 12px;
  line-height: 1.15;
}

.modal-role-grid small {
  color: #8695a9;

  font-size: 9px;
  line-height: 1.2;
}

.modal-note {
  margin-top: 17px;
  padding-top: 15px;

  border-top: 1px solid #e7edf4;

  color: #8794a7;

  font-size: 10px;
}

/* =========================================================
   FINAL FOOTER / FLOAT RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .site-footer-main,
  .site-footer-bottom {
    width: min(1000px, calc(100% - 56px));
  }

  .site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 13px;

    padding: 18px 0;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-footer-main {
    width: calc(100% - 34px);

    align-items: flex-start;
    flex-direction: column;
    gap: 25px;

    padding: 35px 0 29px;
  }

  .footer-logo {
    height: 52px;
    max-width: 225px;
  }

  .footer-contact {
    width: 100%;

    justify-items: start;
  }

  .footer-contact > a,
  .footer-address {
    justify-content: flex-start;

    text-align: left;
  }

  .site-footer-bottom {
    width: calc(100% - 34px);
  }

  .global-contact-actions {
    right: 12px;
    bottom: 16px;

    gap: 11px;
  }

  .global-contact-btn,
  .global-contact-icon {
    width: 52px;
    height: 52px;
  }

  .global-contact-icon {
    flex-basis: 52px;
  }

  .global-contact-icon svg {
    width: 24px;
    height: 24px;
  }

  .global-contact-ripple {
    left: 26px;
    width: 52px;
    height: 52px;
  }

  /* Touch devices keep the simple round reference look. */
  .global-contact-btn:hover {
    width: 52px;
  }

  .global-contact-label {
    display: none;
  }

  .modal-role-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-copyright {
    font-size: 10.5px;
  }

  .footer-links {
    gap: 9px;
  }

  .footer-links a {
    font-size: 10.5px;
  }

  .footer-links i {
    display: none;
  }

  .role-modal {
    padding: 25px 17px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-contact-ripple {
    animation: none;
  }

  .global-contact-btn,
  .global-contact-label,
  .footer-links a,
  .modal-close,
  .modal-role-grid a {
    transition: none;
  }
}

/* =========================================================
   HOMEPAGE FINAL CSS ENDS HERE
========================================================= */

/* =========================================================
   REGISTER SCHOOL PAGE
   Student page compact forms + SuMo sidebar visual language
========================================================= */

body.auth-body {
  min-height: 100vh;
  margin: 0;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 10% 12%, rgba(3, 169, 217, 0.1), transparent 26%),
    radial-gradient(
      circle at 90% 88%,
      rgba(255, 107, 0, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
  color: var(--site-text);
}

body.auth-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 94, 215, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 94, 215, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 92%);
}

.auth-brand {
  position: fixed;
  top: 22px;
  left: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #d8e4f2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--site-primary-dark);
  font-size: 12.5px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.1px;
  box-shadow: 0 5px 15px rgba(10, 50, 105, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: 0.18s ease;
}

.auth-brand:hover {
  color: var(--site-primary);
  border-color: #b8d0ec;
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(10, 50, 105, 0.1);
}

.registration-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(520px, 1.4fr);
  overflow: hidden;
  border: 1px solid #d9e4f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(10, 50, 105, 0.12);
}

.registration-info {
  position: relative;
  overflow: hidden;
  padding: 40px 34px 34px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 8%, rgba(3, 169, 217, 0.3), transparent 25%),
    radial-gradient(circle at 12% 92%, rgba(255, 107, 0, 0.2), transparent 27%),
    linear-gradient(155deg, #073b8c 0%, #0b5ed7 60%, #084fae 100%);
}

.registration-info::before,
.registration-info::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.registration-info::before {
  width: 190px;
  height: 190px;
  top: -75px;
  right: -70px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.registration-info::after {
  width: 245px;
  height: 245px;
  left: -120px;
  bottom: -125px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.registration-info > * {
  position: relative;
  z-index: 1;
}

.registration-info > small {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dff4ff;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.75px;
}

.registration-info h1 {
  max-width: 390px;
  margin: 17px 0 12px;
  color: #fff;
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.75px;
}

.registration-info > p {
  max-width: 420px;
  margin: 0;
  color: #d9ebff;
  font-size: 13px;
  line-height: 1.75;
  font-weight: 400;
}

.registration-info ul {
  display: grid;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.registration-info li {
  position: relative;
  min-height: 37px;
  display: flex;
  align-items: center;
  padding: 8px 10px 8px 39px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.075);
  color: #edf7ff;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 500;
}

.registration-info li::before {
  content: "✓";
  position: absolute;
  left: 11px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--site-cyan), #0784cc);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.contact-strip {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-strip b,
.contact-strip span {
  display: block;
}

.contact-strip b {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.contact-strip span {
  margin-top: 4px;
  color: #bddcff;
  font-size: 11.5px;
  line-height: 1.4;
}

.registration-form-card {
  min-width: 0;
  padding: 36px 38px 34px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(3, 169, 217, 0.035),
      transparent 28%
    ),
    #fff;
}

.registration-form-card > h2,
.success-state h2 {
  margin: 0;
  color: #14233b;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.registration-form-card > p,
.success-state p {
  margin: 7px 0 22px;
  color: #718199;
  font-size: 12.5px;
  line-height: 1.65;
}

.registration-form-card .alert {
  margin: 0 0 15px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 9px;
  background: #fff6f6;
  color: #b42318;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 15px;
}

.form-grid label {
  min-width: 0;
  margin: 0;
  color: #34445c;
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 600;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--site-border);
  border-radius: 9px;
  background: #fff;
  color: #16253d;
  outline: none;
  box-shadow: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.form-grid input,
.form-grid select {
  height: 42px;
  padding: 8px 12px;
  font-size: 12.5px;
  line-height: 1.2;
}

.form-grid select {
  padding-right: 34px;
  cursor: pointer;
}

.form-grid textarea {
  min-height: 82px;
  padding: 10px 12px;
  resize: vertical;
  font-size: 12.5px;
  line-height: 1.5;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #9aa8ba;
  opacity: 1;
}

.form-grid input:hover,
.form-grid select:hover,
.form-grid textarea:hover {
  border-color: #c3d4e8;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #76abe9;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.08);
}

#customCapacityWrap small {
  display: block;
  margin-top: 5px;
  color: #8291a7;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 400;
}

.form-grid .consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 2px 1px 0;
  color: #65758c;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 500;
  cursor: pointer;
}

.form-grid .consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--site-primary);
  box-shadow: none;
}

.registration-form-card .btn {
  border: 0;
  text-decoration: none;
}

.registration-form-card .btn.btn-primary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0878dc 0%, #0b4fad 76%, #ff6b00 150%);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 5px 13px rgba(11, 94, 215, 0.22);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.registration-form-card .btn.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #086dc7 0%, #083f8d 76%, #eb5d00 150%);
  transform: translateY(-1px);
  box-shadow: 0 8px 17px rgba(11, 94, 215, 0.25);
}

.form-grid .btn.full {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
}

.success-state {
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 36px 20px;
}

.success-state > span {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid #bce7ca;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf3, #dff8e8);
  color: var(--site-success);
  font-size: 27px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.1);
}

.success-state p {
  max-width: 430px;
}

.success-state .btn {
  min-width: 165px;
}

@media (max-width: 900px) {
  body.auth-body {
    align-items: flex-start;
    padding: 88px 18px 28px;
  }

  .registration-shell {
    grid-template-columns: 1fr;
    width: min(680px, 100%);
  }

  .registration-info {
    padding: 30px 28px 27px;
  }

  .registration-info h1 {
    max-width: 540px;
    font-size: 30px;
  }

  .registration-info > p {
    max-width: 580px;
  }

  .registration-info ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 21px;
  }

  .contact-strip {
    margin-top: 21px;
  }
}

@media (max-width: 620px) {
  body.auth-body {
    padding: 76px 12px 18px;
  }

  .auth-brand {
    top: 14px;
    left: 14px;
    min-height: 37px;
    padding: 8px 11px;
    font-size: 11.5px;
  }

  .registration-shell {
    border-radius: 14px;
  }

  .registration-info,
  .registration-form-card {
    padding: 25px 20px;
  }

  .registration-info h1 {
    margin-top: 14px;
    font-size: 26px;
  }

  .registration-info > p {
    font-size: 12px;
  }

  .registration-info ul {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .registration-form-card > h2,
  .success-state h2 {
    font-size: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-grid label.full,
  .form-grid .btn.full {
    grid-column: auto;
  }

  .form-grid input,
  .form-grid select {
    height: 41px;
  }

  .success-state {
    min-height: 390px;
    padding: 28px 5px;
  }
}

@media (max-width: 390px) {
  .registration-info,
  .registration-form-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .registration-info h1 {
    font-size: 24px;
  }
}


/* =========================================================
   OWNER PANEL — SCHOOLS.PHP
   Scoped to .owner-body so public website/register stays safe
========================================================= */

.owner-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 94% 3%, rgba(3,169,217,.08), transparent 24%),
    radial-gradient(circle at 5% 96%, rgba(255,107,0,.055), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
  color: var(--site-text);
  font-family: "Poppins", Arial, sans-serif;
}

.owner-body .owner-wrap {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 38px;
}

.owner-body .owner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 17px 19px;
  border: 1px solid #dce6f2;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(3,169,217,.08), transparent 30%),
    #fff;
  box-shadow: 0 4px 15px rgba(10,50,105,.055);
}

.owner-body .owner-head small {
  display: block;
  margin-bottom: 4px;
  color: var(--site-primary);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .85px;
}

.owner-body .owner-head h1 {
  margin: 0;
  color: #10213d;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.55px;
}

.owner-body .owner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.owner-body .btn {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
  transition: .18s ease;
}

.owner-body .btn-light {
  border-color: #d8e3ef;
  background: #fff;
  color: #34465f;
  box-shadow: 0 2px 6px rgba(12,47,95,.035);
}

.owner-body .btn-light:hover {
  border-color: #a9c6eb;
  background: #f7fbff;
  color: var(--site-primary);
  transform: translateY(-1px);
}

.owner-body .btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #0878dc 0%, #0b4fad 75%, #ff6b00 155%);
  color: #fff;
  box-shadow: 0 5px 13px rgba(11,94,215,.20);
}

.owner-body .btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(11,94,215,.24);
}

.owner-body .success-banner,
.owner-body .alert {
  margin: 0 0 13px;
  padding: 11px 14px;
  border: 1px solid;
  border-radius: 9px;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 500;
}

.owner-body .success-banner {
  border-color: #b9e7c9;
  background: #effbf3;
  color: #14743b;
}

.owner-body .alert {
  border-color: #f2c3c8;
  background: #fff3f4;
  color: #b4232f;
}

.owner-body .owner-card {
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 4px 15px rgba(15,54,104,.045);
}

.owner-body .owner-card-title {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid #e2eaf4;
  background:
    linear-gradient(90deg, rgba(11,94,215,.035), rgba(3,169,217,.018) 60%, rgba(255,107,0,.025));
}

.owner-body .owner-card-title h2 {
  margin: 0;
  color: #142743;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.25px;
}

.owner-body .owner-card-title p {
  margin: 4px 0 0;
  color: #718198;
  font-size: 11.5px;
  line-height: 1.55;
  font-weight: 400;
}

.owner-body .owner-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 5px 10px;
  border: 1px solid #cfe0f4;
  border-radius: 999px;
  background: #edf5ff;
  color: #31506f;
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.owner-body .owner-card > .form-grid {
  padding: 16px;
}

.owner-body .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 13px;
}

.owner-body .form-grid label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #34465f;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 600;
}

.owner-body .form-grid .full {
  grid-column: 1 / -1;
}

.owner-body input,
.owner-body select,
.owner-body textarea {
  width: 100%;
  border: 1px solid #d5e1ef;
  border-radius: 8px;
  background: #fff;
  color: #172a45;
  outline: none;
  font-size: 12.5px;
  font-weight: 400;
  box-shadow: none;
  transition: border-color .17s ease, box-shadow .17s ease, background .17s ease;
}

.owner-body input,
.owner-body select {
  height: 39px;
  padding: 7px 10px;
}

.owner-body select {
  padding-right: 32px;
}

.owner-body textarea {
  min-height: 68px;
  padding: 9px 10px;
  line-height: 1.5;
  resize: vertical;
}

.owner-body input::placeholder,
.owner-body textarea::placeholder {
  color: #9aa8ba;
}

.owner-body input:focus,
.owner-body select:focus,
.owner-body textarea:focus {
  border-color: #72a9e8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11,94,215,.075);
}

.owner-body .form-grid label > small {
  margin-top: -1px;
  color: #8795a8;
  font-size: 9.5px;
  line-height: 1.45;
  font-weight: 400;
}

.owner-body .form-grid > .btn.full {
  width: 100%;
  min-height: 41px;
  margin-top: 2px;
  font-size: 12.5px;
}

/* Tables */
.owner-body .table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c8d7e8 transparent;
}

.owner-body .owner-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  color: #34465f;
  font-size: 11.5px;
}

.owner-body .owner-table th {
  padding: 10px 11px;
  border-bottom: 1px solid #dce6f1;
  background: #f6f9fd;
  color: #60728b;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .35px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.owner-body .owner-table td {
  padding: 10px 11px;
  border-bottom: 1px solid #edf1f6;
  background: #fff;
  vertical-align: middle;
  line-height: 1.45;
}

.owner-body .owner-table tbody tr:last-child td {
  border-bottom: 0;
}

.owner-body .owner-table tbody tr:hover td {
  background: #fbfdff;
}

.owner-body .owner-table td b {
  color: #1d3553;
  font-weight: 700;
}

.owner-body .owner-table td small {
  color: #7f8da1;
  font-size: 9.5px;
  line-height: 1.45;
}

.owner-body .owner-table code {
  display: inline-block;
  max-width: 240px;
  padding: 4px 7px;
  border: 1px solid #dbe5f0;
  border-radius: 6px;
  background: #f6f9fc;
  color: #40546f;
  font: 500 10px/1.4 "Poppins", Arial, sans-serif;
  overflow-wrap: anywhere;
}

.owner-body .request-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #d7e1ec;
  border-radius: 999px;
  background: #f2f5f8;
  color: #66758a;
  font-size: 9.5px;
  line-height: 1;
  font-weight: 700;
  text-transform: capitalize;
}

.owner-body .request-status.new {
  border-color: #b9d6f8;
  background: #eaf4ff;
  color: #0b5ed7;
}

.owner-body .request-status.contacted {
  border-color: #f2d5a6;
  background: #fff7e8;
  color: #b86b00;
}

.owner-body .request-status.approved,
.owner-body .request-status.active {
  border-color: #bce7cb;
  background: #ecfaf1;
  color: #168447;
}

.owner-body .request-status.rejected,
.owner-body .request-status.inactive {
  border-color: #f1c4c8;
  background: #fff1f2;
  color: #c33440;
}

.owner-body .table-action {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid #bfd5ef;
  border-radius: 7px;
  background: #edf5ff;
  color: #0b5ed7;
  font: 600 10.5px/1.2 "Poppins", Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: .17s ease;
}

.owner-body .table-action:hover {
  border-color: #86b5ec;
  background: #e2efff;
  color: #073b8c;
  transform: translateY(-1px);
}

/* Inline controls in Active Schools */
.owner-body .capacity-edit-form {
  min-width: 255px;
}

.owner-body .capacity-edit-form .capacity-plan-select {
  width: 112px;
  height: 32px;
  padding: 4px 25px 4px 7px;
  border-radius: 7px;
  font-size: 10.5px;
}

.owner-body .capacity-edit-form .capacity-exact-input {
  width: 82px !important;
  height: 32px;
  padding: 4px 7px;
  border-radius: 7px;
  font-size: 10.5px;
}

.owner-body .capacity-edit-form small {
  margin-top: 1px;
}

.owner-body .owner-table td form:not(.capacity-edit-form) input[type="password"] {
  width: 150px !important;
  height: 32px !important;
  margin: 0 0 5px !important;
  padding: 5px 8px !important;
  border: 1px solid #d5e1ef !important;
  border-radius: 7px !important;
  font-size: 10.5px !important;
}

.owner-body .owner-table td form:not(.capacity-edit-form) > small {
  margin-top: 5px !important;
  color: #7b899d;
  font-size: 9px !important;
}

/* Responsive */
@media (max-width: 991.98px) {
  .owner-body .owner-wrap {
    width: calc(100% - 24px);
    padding-top: 14px;
  }

  .owner-body .owner-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .owner-body .owner-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .owner-body .owner-head h1 {
    font-size: 22px;
  }

  .owner-body .owner-card-title {
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .owner-body .owner-wrap {
    width: calc(100% - 18px);
  }

  .owner-body .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .owner-body .form-grid .full {
    grid-column: auto;
  }

  .owner-body .owner-card > .form-grid {
    padding: 12px;
  }

  .owner-body .owner-card-title {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .owner-body .owner-card-title h2 {
    font-size: 15.5px;
  }

  .owner-body .owner-chip {
    align-self: flex-start;
  }

  .owner-body .owner-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 420px) {
  .owner-body .owner-head h1 {
    font-size: 20px;
  }

  .owner-body .owner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .owner-body .owner-actions .btn:first-child {
    grid-column: 1 / -1;
  }
}


/* =========================================================
   OWNER LOGIN — login.php
   Scoped to .login-page so other auth/public pages stay safe
========================================================= */

.auth-body.login-page {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(3,169,217,.13), transparent 24%),
    radial-gradient(circle at 91% 88%, rgba(255,107,0,.09), transparent 24%),
    linear-gradient(145deg, #f8fbff 0%, #f2f7fd 48%, #edf4fc 100%);
  color: var(--site-text);
}

.auth-body.login-page::before,
.auth-body.login-page::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(1px);
}

.auth-body.login-page::before {
  width: 360px;
  height: 360px;
  top: -170px;
  right: -120px;
  background: radial-gradient(circle, rgba(11,94,215,.14), transparent 68%);
}

.auth-body.login-page::after {
  width: 320px;
  height: 320px;
  left: -140px;
  bottom: -145px;
  background: radial-gradient(circle, rgba(255,107,0,.09), transparent 68%);
}

.login-page .signin-card {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding: 30px 30px 28px;
  border: 1px solid #d9e5f2;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(3,169,217,.055), transparent 28%),
    rgba(255,255,255,.985);
  box-shadow:
    0 24px 60px rgba(10,50,105,.13),
    0 4px 14px rgba(10,50,105,.055);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.login-page .signin-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, var(--site-primary), var(--site-cyan), var(--site-orange));
}

.login-page .signin-card h1 {
  margin: 0;
  color: #10213d;
  font-size: 27px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.7px;
}

.login-page .signin-card > p {
  margin: 8px 0 22px;
  color: #75849a;
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 400;
}

.login-page .signin-card .alert {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #f2c3c8;
  border-radius: 8px;
  background: #fff3f4;
  color: #b4232f;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 500;
}

.login-page .signin-form {
  display: grid;
  gap: 13px;
}

.login-page .signin-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #34465f;
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 600;
}

.login-page .signin-form input {
  width: 100%;
  height: 42px;
  padding: 8px 11px;
  border: 1px solid #d4e1ef;
  border-radius: 9px;
  background: #fff;
  color: #172a45;
  outline: none;
  font-size: 12.5px;
  font-weight: 400;
  box-shadow: none;
  transition:
    border-color .17s ease,
    box-shadow .17s ease,
    background .17s ease;
}

.login-page .signin-form input:hover {
  border-color: #bfd2e8;
}

.login-page .signin-form input:focus {
  border-color: #72a9e8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11,94,215,.08);
}

.login-page .signin-form .btn {
  width: 100%;
  min-height: 43px;
  margin-top: 3px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
}

.login-page .signin-form .btn-primary {
  background: linear-gradient(135deg, #0878dc 0%, #0b4fad 74%, #ff6b00 155%);
  color: #fff;
  box-shadow: 0 6px 15px rgba(11,94,215,.22);
}

.login-page .signin-form .btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(11,94,215,.26);
}

@media (max-width: 575.98px) {
  .auth-body.login-page {
    padding: 18px 13px;
  }

  .login-page .signin-card {
    padding: 24px 20px 22px;
    border-radius: 15px;
  }

  .login-page .signin-card::before {
    border-radius: 15px 0 0 15px;
  }

  .login-page .signin-card h1 {
    font-size: 23px;
  }

  .login-page .signin-card > p {
    margin-bottom: 18px;
    font-size: 11.5px;
  }

  .login-page .signin-form input {
    height: 40px;
  }

  .login-page .signin-form .btn {
    min-height: 41px;
  }
}


/* =========================================================
   PUBLIC LOGIN ROLE CHOOSER — login.php
   Screenshot-inspired 4-role layout
========================================================= */

.auth-body.login-page {
  min-height: 100vh;
  margin: 0;
  padding: 28px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(3,169,217,.09), transparent 24%),
    radial-gradient(circle at 88% 90%, rgba(255,107,0,.06), transparent 24%),
    linear-gradient(180deg, #f8f9ff 0%, #f5f7fc 100%);
}

.auth-body.login-page .auth-brand {
  position: fixed;
  top: 22px;
  left: 28px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--site-primary-dark);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .15px;
}

.login-page .login-choice-card {
  width: min(1025px, calc(100% - 28px));
  padding: 48px 48px 42px;
  border: 1px solid #dce3ee;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(11,94,215,.38), rgba(3,169,217,.28), rgba(255,107,0,.24)) top/100% 3px no-repeat,
    #fff;
  box-shadow:
    0 18px 46px rgba(35,55,95,.10),
    0 3px 10px rgba(35,55,95,.04);
}

.login-page .login-choice-card > h1 {
  margin: 0;
  color: #101c31;
  font-size: 31px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -1px;
}

.login-page .login-choice-card > p {
  margin: 11px 0 31px;
  color: #4f607a;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.login-page .login-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.login-page .login-role-grid > a {
  min-width: 0;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid #dce3ec;
  border-radius: 18px;
  background: #fff;
  color: #132039;
  box-shadow: 0 2px 7px rgba(20,45,85,.045);
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.login-page .login-role-grid > a:hover {
  transform: translateY(-2px);
  border-color: #aac9ef;
  background: #fbfdff;
  box-shadow: 0 10px 22px rgba(20,55,100,.09);
}

.login-page .login-role-grid > a:first-child {
  border: 2px solid var(--site-primary);
  box-shadow:
    0 0 0 3px rgba(11,94,215,.08),
    0 8px 18px rgba(11,94,215,.08);
}

.login-page .login-role-grid > a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  border-radius: 999px 999px 0 0;
  opacity: 0;
  transition: opacity .18s ease;
}

.login-page .login-role-grid > a:hover::after {
  opacity: 1;
}

.login-page .login-role-grid > a:nth-child(1)::after {
  background: var(--site-primary);
}

.login-page .login-role-grid > a:nth-child(2)::after {
  background: var(--site-cyan);
}

.login-page .login-role-grid > a:nth-child(3)::after {
  background: var(--site-orange);
}

.login-page .login-role-grid > a:nth-child(4)::after {
  background: #16a34a;
}

.login-page .login-role-grid > a > span {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border: 1px solid;
  border-radius: 15px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.15px;
}

.login-page .login-role-grid > a:nth-child(1) > span {
  border-color: #c7d1ff;
  background: #f0efff;
  color: #4a57d6;
}

.login-page .login-role-grid > a:nth-child(2) > span {
  border-color: #b9e6f3;
  background: #ebfaff;
  color: #058cb9;
}

.login-page .login-role-grid > a:nth-child(3) > span {
  border-color: #ffd2ac;
  background: #fff4e8;
  color: #d86b00;
}

.login-page .login-role-grid > a:nth-child(4) > span {
  border-color: #b8e7d7;
  background: #ebfaf4;
  color: #13966a;
}

.login-page .login-role-grid > a > b {
  display: block;
  margin: 0;
  color: #101c31;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.35px;
}

.login-page .login-role-grid > a > small {
  display: block;
  margin-top: 6px;
  color: #5e708d;
  font-size: 12px;
  line-height: 1.52;
  font-weight: 400;
}

.login-page .safe-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 27px auto 0;
  color: #159447;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
}

.login-page .safe-note::before {
  content: "✓";
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #8ed3aa;
  border-radius: 50%;
  background: #effbf3;
  color: #159447;
  font-size: 10px;
  font-weight: 800;
}

/* Selected role sign-in view */
.login-page .signin-card {
  width: min(455px, calc(100% - 28px));
  padding: 28px 29px 26px;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  background:
    linear-gradient(90deg, var(--site-primary), var(--site-cyan), var(--site-orange)) top/100% 3px no-repeat,
    #fff;
  box-shadow: 0 18px 42px rgba(30,55,95,.10);
}

.login-page .signin-role-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e7edf4;
}

.login-page .signin-role-head > span {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border: 1px solid #cfe0f4;
  border-radius: 11px;
  background: #edf5ff;
  color: var(--site-primary);
  font-size: 14px;
  font-weight: 700;
}

.login-page .signin-role-head > div {
  min-width: 0;
  flex: 1;
}

.login-page .signin-role-head small,
.login-page .signin-role-head b {
  display: block;
}

.login-page .signin-role-head small {
  color: #8291a6;
  font-size: 9.5px;
  font-weight: 500;
}

.login-page .signin-role-head b {
  margin-top: 2px;
  color: #172944;
  font-size: 13px;
  font-weight: 700;
}

.login-page .signin-role-head > a {
  color: var(--site-primary);
  font-size: 10.5px;
  font-weight: 600;
}

.login-page .signin-role-head > a:hover {
  color: var(--site-primary-dark);
}

.login-page .password-wrap {
  position: relative;
}

.login-page .password-wrap input {
  padding-right: 62px;
}

.login-page .show-pass {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  min-width: 48px;
  height: 29px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: #edf5ff;
  color: var(--site-primary);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.login-page .show-pass:hover {
  background: #e2efff;
}

.login-page .signin-form .consent {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  margin-top: 1px;
  color: #687890;
  font-size: 10.5px;
  font-weight: 400;
}

.login-page .signin-form .consent input {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin: 0;
  accent-color: var(--site-primary);
}

@media (max-width: 900px) {
  .login-page .login-choice-card {
    width: min(760px, calc(100% - 22px));
    padding: 34px 30px 31px;
  }

  .login-page .login-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .login-page .login-role-grid > a {
    min-height: 166px;
  }
}

@media (max-width: 575.98px) {
  .auth-body.login-page {
    justify-content: flex-start;
    padding: 76px 10px 18px;
  }

  .auth-body.login-page .auth-brand {
    top: 17px;
    left: 17px;
    font-size: 10.5px;
  }

  .login-page .login-choice-card {
    width: 100%;
    padding: 25px 17px 23px;
    border-radius: 16px;
  }

  .login-page .login-choice-card > h1 {
    font-size: 24px;
  }

  .login-page .login-choice-card > p {
    margin: 8px 0 21px;
    font-size: 13px;
  }

  .login-page .login-role-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .login-page .login-role-grid > a {
    min-height: 118px;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 13px;
    align-items: center;
    padding: 15px;
    border-radius: 13px;
  }

  .login-page .login-role-grid > a > span {
    width: 48px;
    height: 48px;
    grid-row: 1 / 3;
    margin: 0;
    border-radius: 12px;
  }

  .login-page .login-role-grid > a > b {
    align-self: end;
    font-size: 15px;
  }

  .login-page .login-role-grid > a > small {
    align-self: start;
    margin-top: 3px;
    font-size: 10.5px;
  }

  .login-page .safe-note {
    margin-top: 18px;
    font-size: 10px;
  }

  .login-page .signin-card {
    width: 100%;
    padding: 23px 18px 21px;
    border-radius: 15px;
  }
}
