/* =========================================================
   TUPS TECHNOLOGIES
   PHASE 3 WEBSITE STYLES
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {

  --tups-black: #07090b;
  --tups-black-soft: #11161a;

  --tups-blue: #00a9ff;
  --tups-blue-light: #36c0ff;
  --tups-blue-dark: #007dbb;
  --tups-blue-pale: #e8f8ff;

  --tups-maroon: #800020;
  --tups-maroon-dark: #5d0018;

  --white: #ffffff;
  --off-white: #f7f9fb;
  --sidebar-bg: #f0f3f5;

  --section-bg: #f3f6f8;
  --section-bg-alt: #edf7fb;

  --border: #dce3e8;

  --text: #18212a;
  --muted: #6d7882;

  --shadow:
    0 8px 30px rgba(0, 0, 0, 0.07);

  --sidebar-width: 270px;
}

html {
  scroll-behavior: smooth;
}

body {

  min-height: 100vh;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: var(--text);

  background: var(--white);

  overflow-x: hidden;
}

button,
input,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}


/* =========================================================
   TOP CONTACT BAR
========================================================= */

.top-contact-bar {

  width: 100%;

  min-height: 52px;

  display: flex;

  align-items: center;

  background: var(--white);

  border-bottom:
    1px solid #e0e5e8;

}

.top-contact-inner {

  width: 100%;

  max-width: 1600px;

  margin: 0 auto;

  padding: 8px 25px;

  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 30px;

}

.top-contact-item {

  display: flex;

  align-items: center;

  gap: 9px;

  white-space: nowrap;

}

.top-contact-item i {

  color: var(--tups-blue);

  font-size: 17px;

}

.top-contact-item a {

  color: var(--tups-black);

  font-size: 14px;

  font-weight: 800;

  transition:
    color 0.2s ease;

}

.top-contact-item a:hover {

  color: var(--tups-blue-dark);

}


/* =========================================================
   MAIN HEADER
========================================================= */

.site-header {

  min-height: 94px;

  width: 100%;

  display: flex;

  align-items: center;

  gap: 18px;

  padding: 13px 24px;

  background: var(--tups-black);

  color: var(--white);

  border-bottom:
    3px solid var(--tups-blue);

  position: sticky;

  top: 0;

  z-index: 1000;

}


/* =========================================================
   BRAND
========================================================= */

.header-brand {

  display: flex;

  align-items: center;

  gap: 11px;

  min-width: 185px;

}

.logo-placeholder {

  width: 52px;

  height: 52px;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    2px solid var(--tups-blue);

  color: var(--tups-blue);

  font-weight: 900;

  font-size: 13px;

  letter-spacing: 1px;

}

.brand-text h1 {

  font-size: 25px;

  line-height: 1;

  letter-spacing: 1px;

}

.brand-text span {

  display: block;

  margin-top: 5px;

  color: var(--tups-blue);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 3px;

}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.main-navigation {

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 1;

  gap: 2px;

}

.nav-button {

  min-height: 47px;

  padding: 0 12px;

  border: none;

  background: transparent;

  color: #d8dde1;

  font-size: 14px;

  font-weight: 700;

  white-space: nowrap;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-button:hover {

  color: var(--tups-blue);

}

.nav-button.active {

  color: var(--tups-blue);

}

.nav-button i {

  margin-right: 5px;

}

.dropdown-trigger i {

  margin-left: 5px;

  margin-right: 0;

  font-size: 9px;

  transition:
    transform 0.2s ease;

}

.demo-nav-button {

  color: #dff6ff;

}

.demo-nav-button i {

  color: var(--tups-blue);

}


/* =========================================================
   DROPDOWNS
========================================================= */

.nav-dropdown {

  position: relative;

}

.nav-dropdown:hover
.dropdown-trigger i {

  transform:
    rotate(180deg);

}

.dropdown-menu {

  position: absolute;

  top: calc(100% + 4px);

  left: 0;

  min-width: 255px;

  padding: 7px;

  background: var(--tups-black-soft);

  border:
    1px solid #26343d;

  border-top:
    2px solid var(--tups-blue);

  border-radius:
    0 0 7px 7px;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.25);

  opacity: 0;

  visibility: hidden;

  transform:
    translateY(-7px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;

  z-index: 1200;

}

.nav-dropdown:hover
.dropdown-menu {

  opacity: 1;

  visibility: visible;

  transform:
    translateY(0);

}

.dropdown-menu button {

  width: 100%;

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 11px 12px;

  border: none;

  background: transparent;

  color: #e2e7ea;

  text-align: left;

  font-size: 12px;

  border-radius: 4px;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    padding-left 0.2s ease;

}

.dropdown-menu button i {

  width: 18px;

  color: var(--tups-blue);

  text-align: center;

}

.dropdown-menu button:hover {

  background: var(--tups-blue);

  color: #00131d;

  padding-left: 17px;

}

.dropdown-menu button:hover i {

  color: #00131d;

}


/* =========================================================
   PORTAL BUTTONS
========================================================= */

.portal-buttons {

  display: flex;

  align-items: center;

  gap: 7px;

}

.portal-button {

  min-height: 43px;

  padding: 0 12px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 7px;

  border-radius: 5px;

  border: none;

  font-size: 11px;

  font-weight: 800;

  white-space: nowrap;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;

}

.portal-button:hover {

  transform:
    translateY(-2px);

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.25);

}

.cbt-button {

  background: var(--tups-maroon);

  color: white;

}

.cbt-button:hover {

  background: var(--tups-maroon-dark);

}

.school-portal-button {

  background: var(--tups-blue);

  color: #00121a;

}

.school-portal-button:hover {

  background: var(--tups-blue-light);

  color: #00121a;

}


/* =========================================================
   NEWS TICKER
========================================================= */

.news-ticker {

  height: 42px;

  display: flex;

  align-items: center;

  background: #11181d;

  color: white;

  overflow: hidden;

  border-bottom:
    1px solid #27343c;

}

.news-label {

  height: 100%;

  min-width: 145px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 7px;

  padding: 0 14px;

  background: var(--tups-blue);

  color: #00121a;

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 0.5px;

  position: relative;

  z-index: 2;

}

.ticker-window {

  flex: 1;

  overflow: hidden;

  white-space: nowrap;

}

.ticker-content {

  display: inline-block;

  padding-left: 100%;

  font-size: 12px;

  color: #e3e8eb;

  animation:
    tickerMove 28s linear infinite;

}

@keyframes tickerMove {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }

}


/* =========================================================
   PAGE LAYOUT
========================================================= */

.page-layout {

  display: flex;

  min-height:
    calc(100vh - 188px);

}

/* =========================================================
   TUPS EDUCATION HUB / SIDEBAR
========================================================= */

.sidebar {

  width: var(--sidebar-width);

  flex-shrink: 0;

  background: var(--sidebar-bg);

  border-right:
    1px solid #d8dfe4;

  padding: 18px 12px;

}


/* =========================================================
   HUB MODULE
========================================================= */

.hub-module {

  margin-bottom: 14px;

  padding: 12px;

  background: #ffffff;

  border:
    1px solid #dce5ea;

  border-radius: 8px;

  box-shadow:
    3px 3px 0 rgba(0, 0, 0, 0.08);

}


.hub-module:last-child {

  margin-bottom: 0;

}


/* =========================================================
   PARTNER SCHOOL HEADING
========================================================= */

.sidebar-heading {

  display: flex;

  align-items: center;

  gap: 9px;

  padding: 0 2px 10px;

  margin-bottom: 10px;

  border-bottom:
    2px solid var(--tups-blue);

}


.sidebar-heading h2 {

  font-size: 13px;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  color: #252f36;

}


.sidebar-icon {

  color: var(--tups-blue);

  font-size: 15px;

}


/* =========================================================
   HUB MODULE HEADING
========================================================= */

.hub-module-heading {

  display: flex;

  align-items: center;

  gap: 8px;

  padding-bottom: 8px;

  border-bottom:
    1px solid #e3eaee;

}


.hub-module-heading h2 {

  margin: 0;

  font-size: 12px;

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 0.45px;

  color: #252f36;

}


.hub-module-icon {

  width: 27px;

  height: 27px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 5px;

  background: var(--tups-black);

  color: var(--tups-blue);

  font-size: 12px;

}


/* =========================================================
   MODULE DESCRIPTION
========================================================= */

.hub-module-description {

  margin: 9px 0;

  color: #65727a;

  font-size: 11px;

  line-height: 1.45;

}


/* =========================================================
   PARTNER SCHOOLS
========================================================= */

.partner-schools {

  display: flex;

  flex-direction: column;

  gap: 5px;

}


.school-item {

  width: 100%;

  display: flex;

  align-items: center;

  gap: 9px;

  padding: 8px;

  border:
    1px solid transparent;

  border-radius: 6px;

  background: transparent;

  color: var(--text);

  text-align: left;

  font-size: 11px;

  font-weight: 800;

  line-height: 1.35;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border 0.2s ease,
    transform 0.2s ease;

}


.school-item:hover {

  background: #e3f6fd;

  border-color:
    #c2eafa;

  transform:
    translateX(3px);

}


.school-item.active {

  background:
    var(--tups-blue-pale);

  border-color:
    var(--tups-blue);

  color:
    #006b9f;

}


.school-logo-placeholder {

  width: 38px;

  height: 38px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 5px;

  background: var(--tups-black);

  border:
    1px solid var(--tups-blue);

  color: var(--tups-blue);

  font-size: 10px;

  font-weight: 900;

}


/* =========================================================
   PREVIEW AREA
========================================================= */

.hub-preview {

  margin-top: 8px;

}


.hub-preview-item {

  padding: 8px;

  border-left:
    3px solid var(--tups-blue);

  background:
    #f5fafc;

}


.hub-preview-item strong {

  display: block;

  font-size: 11px;

  line-height: 1.4;

  color: #26333a;

}


.hub-preview-item span {

  display: block;

  margin-top: 4px;

  font-size: 9px;

  color: #7a878e;

}


/* =========================================================
   HUB ACTION BUTTON
========================================================= */

.hub-more-button {

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 8px;

  margin-top: 9px;

  padding: 7px 8px;

  border:
    1px solid #c8eaf6;

  border-radius: 5px;

  background:
    #f1fbfe;

  color:
    #0079ad;

  font-size: 10px;

  font-weight: 900;

  text-align: left;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border 0.2s ease,
    transform 0.2s ease;

}


.hub-more-button:hover {

  background:
    #dff6fc;

  border-color:
    var(--tups-blue);

  transform:
    translateX(2px);

}


/* =========================================================
   RESOURCE / TOOL LINK GRID
========================================================= */

.hub-link-grid {

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 5px;

  margin-top: 9px;

}


.hub-link-grid button {

  padding: 7px 5px;

  border:
    1px solid #e1e8ec;

  border-radius: 4px;

  background:
    #fafcfd;

  color:
    #46535a;

  font-size: 9px;

  font-weight: 800;

  line-height: 1.25;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border 0.2s ease,
    color 0.2s ease;

}


.hub-link-grid button:hover {

  background:
    #e5f7fc;

  border-color:
    #b9e7f5;

  color:
    #006b9f;

}


/* =========================================================
   ABUJA JOBS BADGE
========================================================= */

.hub-badge {

  display: inline-flex;

  align-items: center;

  gap: 5px;

  margin-top: 2px;

  padding: 4px 7px;

  border-radius: 20px;

  background:
    #eef9fc;

  color:
    #00739f;

  font-size: 9px;

  font-weight: 900;

}


/* =========================================================
   PLAY ZONE
========================================================= */

.play-mini-links {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 5px;

  margin-top: 9px;

}


.play-mini-links button {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 4px;

  min-height: 48px;

  padding: 5px 3px;

  border:
    1px solid #e1e8ec;

  border-radius: 5px;

  background:
    #fafcfd;

  color:
    #46535a;

  font-size: 8px;

  font-weight: 900;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border 0.2s ease,
    transform 0.2s ease;

}


.play-mini-links button i {

  color:
    var(--tups-blue);

  font-size: 14px;

}


.play-mini-links button:hover {

  background:
    #e5f7fc;

  border-color:
    #b9e7f5;

  transform:
    translateY(-2px);

}

/* ============================================================
   TUPS EDUCATION HUB — PROFESSIONAL MODULE STYLING
   ============================================================ */

/* ------------------------------------------------------------
   Base Education Hub Card
   ------------------------------------------------------------ */

.hub-module {
    --module-bg: #ffffff;
    --module-accent: var(--tups-blue);

    position: relative;
    overflow: hidden;

    background: var(--module-bg);
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 10px;

    box-shadow:
        3px 3px 0 rgba(0, 0, 0, 0.07);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

/* Elegant left identity strip */
.hub-module::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 4px;
    height: 100%;

    background: var(--module-accent);
}

/* Subtle professional hover */
.hub-module:hover {
    transform: translateY(-1px);

    box-shadow:
        4px 4px 0 rgba(0, 0, 0, 0.09);

    border-color: rgba(0, 0, 0, 0.14);
}


/* ------------------------------------------------------------
   Partner Schools
   Cool corporate blue-grey
   ------------------------------------------------------------ */

.partner-module {
    --module-bg: #f3f7fb;
    --module-accent: #176b91;
}


/* ------------------------------------------------------------
   Education News
   Professional steel-blue
   ------------------------------------------------------------ */

.news-module {
    --module-bg: #f1f6fb;
    --module-accent: #315f89;
}


/* ------------------------------------------------------------
   School Gist
   Warm editorial ivory
   ------------------------------------------------------------ */

.gist-module {
    --module-bg: #fbf8f0;
    --module-accent: #a87524;
}


/* ------------------------------------------------------------
   Abuja School Jobs
   Professional blue-green
   ------------------------------------------------------------ */

.jobs-module {
    --module-bg: #eef8f5;
    --module-accent: #247866;
}


/* ------------------------------------------------------------
   Teacher Resources
   Restrained professional lavender
   ------------------------------------------------------------ */

.teacher-module {
    --module-bg: #f5f2fa;
    --module-accent: #715b91;
}


/* ------------------------------------------------------------
   Student Zone
   Light academic sky-blue
   ------------------------------------------------------------ */

.student-module {
    --module-bg: #eef7fc;
    --module-accent: #287aa6;
}


/* ------------------------------------------------------------
   TUPS Tools
   Neutral technology grey
   ------------------------------------------------------------ */

.tools-module {
    --module-bg: #f3f4f5;
    --module-accent: #343a40;
}


/* ------------------------------------------------------------
   TUPS Play Zone
   Fresh cyan-blue technology tone
   ------------------------------------------------------------ */

.play-module {
    --module-bg: #edf9fc;
    --module-accent: #0098bd;
}


/* ------------------------------------------------------------
   Opportunities
   Mature academic gold
   ------------------------------------------------------------ */

.opportunities-module {
    --module-bg: #faf6eb;
    --module-accent: #967326;
}


/* ============================================================
   HUB HEADINGS
   ============================================================ */

.hub-module-heading {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 9px;

    color: #18222c;
}

.hub-module-heading h2,
.hub-module-heading h3 {
    margin: 0;

    color: #18222c;
    font-weight: 700;
    letter-spacing: 0.1px;
}


/* Module icon */

.hub-module-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    color: var(--module-accent);

    background: rgba(255, 255, 255, 0.72);

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 7px;
}


/* ------------------------------------------------------------
   Module descriptions
   ------------------------------------------------------------ */

.hub-module-description {
    color: #5b6570;
    line-height: 1.45;
}


/* ------------------------------------------------------------
   Preview areas
   ------------------------------------------------------------ */

.hub-preview {
    background: rgba(255, 255, 255, 0.58);

    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 7px;
}


/* Individual preview items */

.hub-preview-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);

    transition:
        background 0.18s ease,
        padding-left 0.18s ease;
}

.hub-preview-item:last-child {
    border-bottom: none;
}

.hub-preview-item:hover {
    background: rgba(255, 255, 255, 0.8);
    padding-left: 3px;
}


/* ------------------------------------------------------------
   More / Action buttons
   ------------------------------------------------------------ */

.hub-more-button {
    border: 1px solid rgba(0, 0, 0, 0.12);

    background: rgba(255, 255, 255, 0.78);
    color: var(--module-accent);

    font-weight: 700;

    border-radius: 6px;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.hub-more-button:hover {
    background: var(--module-accent);
    color: #ffffff;
    border-color: var(--module-accent);
}


/* ------------------------------------------------------------
   Link grids
   ------------------------------------------------------------ */

.hub-link-grid {
    display: grid;
    gap: 6px;
}

.hub-link-grid a {
    color: #37434e;

    background: rgba(255, 255, 255, 0.58);

    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 6px;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.hub-link-grid a:hover {
    background: #ffffff;
    color: var(--module-accent);
    border-color: rgba(0, 0, 0, 0.13);
}


/* ------------------------------------------------------------
   Abuja Jobs Badge
   ------------------------------------------------------------ */

.hub-badge {
    display: inline-flex;
    align-items: center;

    padding: 3px 7px;

    border-radius: 999px;

    background: rgba(36, 120, 102, 0.10);
    color: #216c5c;

    border: 1px solid rgba(36, 120, 102, 0.18);

    font-size: 0.72rem;
    font-weight: 700;
}


/* ------------------------------------------------------------
   Play Zone mini links
   ------------------------------------------------------------ */

.play-mini-links {
    display: grid;
    gap: 6px;
}

.play-mini-links a {
    background: rgba(255, 255, 255, 0.65);

    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 6px;

    color: #34424b;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.play-mini-links a:hover {
    background: #ffffff;
    color: var(--module-accent);
    transform: translateX(2px);
}


/* ============================================================
   MODULE-SPECIFIC MICRO DETAILS
   ============================================================ */

/* News */
.news-module .hub-module-icon {
    background: #e8f0f8;
}


/* School Gist */
.gist-module .hub-module-icon {
    background: #f5eddb;
}


/* Jobs */
.jobs-module .hub-module-icon {
    background: #e2f2ed;
}


/* Teacher Resources */
.teacher-module .hub-module-icon {
    background: #ece6f4;
}


/* Student Zone */
.student-module .hub-module-icon {
    background: #e3f1f8;
}


/* Tools */
.tools-module .hub-module-icon {
    background: #e8eaec;
}


/* Play Zone */
.play-module .hub-module-icon {
    background: #e0f4f8;
}


/* Opportunities */
.opportunities-module .hub-module-icon {
    background: #f3ead4;
}


/* Partner Schools */
.partner-module .hub-module-icon {
    background: #e4edf5;
}


/* ============================================================
   MOBILE REFINEMENT
   ============================================================ */

@media (max-width: 700px) {

    .hub-module {
        border-radius: 9px;
        box-shadow:
            2px 2px 0 rgba(0, 0, 0, 0.06);
    }

    .hub-module:hover {
        transform: none;

        box-shadow:
            2px 2px 0 rgba(0, 0, 0, 0.06);
    }

    .hub-module::before {
        width: 3px;
    }
}


/* ============================================================
   REDUCED MOTION ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .hub-module,
    .hub-module:hover,
    .hub-preview-item,
    .hub-more-button,
    .hub-link-grid a,
    .play-mini-links a {
        transition: none;
        transform: none;
    }
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.main-content {

  flex: 1;

  min-width: 0;

  position: relative;

  padding: 38px 48px;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f6f9fb 100%
    );

}

.content-area {

  width: 100%;

  max-width: 1150px;

  margin: 0 auto;

}

.content-page {

  animation:
    pageEnter 0.35s ease;

}

@keyframes pageEnter {

  from {

    opacity: 0;

    transform:
      translateY(12px);

  }

  to {

    opacity: 1;

    transform:
      translateY(0);

  }

}

.content-page h2 {

  font-size: 32px;

  line-height: 1.2;

  color: var(--tups-black);

  margin-bottom: 15px;

}

.content-page h2::after {

  content: "";

  display: block;

  width: 58px;

  height: 4px;

  margin-top: 11px;

  background: var(--tups-blue);

  border-radius: 3px;

}

.content-page p {

  color: var(--muted);

  line-height: 1.8;

  font-size: 15px;

  margin-bottom: 16px;

}


/* =========================================================
   HOME SECTIONS
========================================================= */

.home-section {

  margin: 25px 0;

  padding: 30px;

  border:
    1px solid #dfe7eb;

  border-radius: 12px;

  background:
    var(--section-bg);

  box-shadow:
    0 5px 18px rgba(0,0,0,0.035);

}

.home-section:nth-of-type(even) {

  background:
    var(--section-bg-alt);

}

.home-section > :last-child {

  margin-bottom: 0;

}


/* =========================================================
   HERO / HOME
========================================================= */

.home-hero {

  min-height: 380px;

  position: relative;

  overflow: hidden;

  border-radius: 12px;

  background:
    linear-gradient(
      120deg,
      #05080a,
      #101b22
    );

  color: white;

  margin-bottom: 30px;

  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.13);

}

.hero-slide {

  min-height: 380px;

  display: none;

  align-items: center;

  padding: 50px;

}

.hero-slide.active {

  display: flex;

  animation:
    heroFade 0.8s ease;

}

@keyframes heroFade {

  from {

    opacity: 0;

    transform:
      scale(1.03);

  }

  to {

    opacity: 1;

    transform:
      scale(1);

  }

}

.hero-content {

  max-width: 680px;

}

.hero-content .eyebrow {

  color: var(--tups-blue);

  font-size: 12px;

  font-weight: 900;

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-bottom: 14px;

}

.hero-content h1 {

  font-size:
    clamp(32px, 5vw, 54px);

  line-height: 1.08;

  margin-bottom: 18px;

}

.hero-content p {

  color: #cbd6dc;

  font-size: 16px;

  max-width: 650px;

  line-height: 1.8;

}

.hero-button {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: 12px;

  padding: 13px 20px;

  border: none;

  border-radius: 5px;

  background: var(--tups-blue);

  color: #00121a;

  font-weight: 800;

}

.hero-dots {

  position: absolute;

  bottom: 18px;

  left: 50%;

  transform:
    translateX(-50%);

  display: flex;

  gap: 7px;

}

.hero-dot {

  width: 8px;

  height: 8px;

  padding: 0;

  border: none;

  border-radius: 50%;

  background:
    rgba(255,255,255,0.35);

}

.hero-dot.active {

  width: 25px;

  border-radius: 5px;

  background: var(--tups-blue);

}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {

  text-align: center;

  margin-bottom: 25px;

}

.section-heading h3 {

  font-size: 26px;

  margin-bottom: 8px;

}

.section-heading p {

  margin: 0 auto;

  max-width: 650px;

}


/* =========================================================
   CONTENT CARDS
========================================================= */

.content-grid {

  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(220px, 1fr)
    );

  gap: 18px;

  margin: 25px 0 35px;

}

.content-card {

  padding: 24px;

  background: white;

  border:
    1px solid var(--border);

  border-radius: 9px;

  box-shadow:
    0 5px 20px rgba(0,0,0,0.04);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;

}

.content-card:hover {

  transform:
    translateY(-5px);

  border-color:
    rgba(0,169,255,0.45);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.08);

}

.content-card .card-icon {

  width: 45px;

  height: 45px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 14px;

  border-radius: 7px;

  background: var(--tups-black);

  color: var(--tups-blue);

}

.content-card h3 {

  font-size: 18px;

  margin-bottom: 9px;

}

.content-card p {

  margin-bottom: 0;

  font-size: 13px;

}


/* =========================================================
   STATISTICS
========================================================= */

.stats-grid {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 12px;

  margin: 30px 0;

}

.stat-card {

  padding: 25px 15px;

  text-align: center;

  border-radius: 8px;

  background: var(--tups-black);

  color: white;

}

.stat-card strong {

  display: block;

  color: var(--tups-blue);

  font-size: 30px;

  margin-bottom: 5px;

}

.stat-card span {

  color: #b8c2c8;

  font-size: 12px;

}


/* =========================================================
   ABOUT PROFILE
========================================================= */

.developer-profile {

  display: flex;

  align-items: flex-start;

  gap: 35px;

  margin-top: 25px;

  padding: 30px;

  background: white;

  border:
    1px solid var(--border);

  border-radius: 10px;

  box-shadow: var(--shadow);

}

.developer-photo {

  width: 170px;

  height: 170px;

  flex-shrink: 0;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background:
    linear-gradient(
      135deg,
      var(--tups-black),
      #26343c
    );

  border:
    5px solid var(--tups-blue);

  color: var(--tups-blue);

  font-size: 40px;

  box-shadow:
    0 0 0 7px var(--tups-blue-pale);

}

.developer-text {

  flex: 1;

}

.developer-text h3 {

  font-size: 25px;

  margin-bottom: 4px;

}

.developer-role {

  color: var(--tups-blue-dark);

  font-weight: 800;

  font-size: 13px;

  margin-bottom: 16px;

}

.profile-links {

  display: flex;

  gap: 9px;

  margin-top: 18px;

}

.profile-links a {

  width: 38px;

  height: 38px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: var(--tups-black);

  color: var(--tups-blue);

  transition:
    background 0.2s ease,
    color 0.2s ease;

}

.profile-links a:hover {

  background: var(--tups-blue);

  color: var(--tups-black);

}


/* =========================================================
   FAQ ACCORDION
========================================================= */

.faq-list {

  max-width: 950px;

  margin: 25px auto;

}

.faq-item {

  margin-bottom: 10px;

  border:
    1px solid #d5e0e5;

  border-radius: 9px;

  overflow: hidden;

  background:
    var(--sidebar-bg);

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.18);

}

.faq-question {

  width: 100%;

  min-height: 58px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  padding: 0 19px;

  border: none;

  background:
    linear-gradient(
      90deg,
      #eef2f4,
      #f7f9fa
    );

  color: var(--tups-black);

  text-align: left;

  font-size: 14px;

  font-weight: 800;

  border-left:
    4px solid transparent;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;

}

.faq-question:hover,
.faq-item.open .faq-question {

  background:
    linear-gradient(
      90deg,
      var(--tups-blue),
      #79d6ff
    );

  color: #00131d;

  border-left-color:
    var(--tups-black);

}

.faq-question i {

  color: var(--tups-blue-dark);

  transition:
    transform 0.25s ease,
    color 0.2s ease;

}

.faq-item.open
.faq-question i {

  transform:
    rotate(180deg);

  color:
    var(--tups-black);

}

.faq-answer {

  max-height: 0;

  overflow: hidden;

  background:
    #ffffff;

  transition:
    max-height 0.35s ease;

}

.faq-answer-inner {

  padding: 19px 22px;

  color: var(--muted);

  line-height: 1.8;

  font-size: 14px;

  border-top:
    1px solid #dce7eb;

}


/* =========================================================
   TESTIMONIAL SECTION
========================================================= */

.testimonials-section {

  margin-top: 45px;

  padding: 35px;

  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      #edf7fb,
      #f4f6f8
    );

  border:
    1px solid #dce7eb;

}

.testimonial-carousel {

  max-width: 900px;

  margin: 0 auto;

  position: relative;

}

.testimonial-card {

  max-width: 850px;

  margin: 0 auto;

  padding: 35px 45px;

  text-align: center;

  background:
    var(--tups-black);

  color: white;

  border-radius: 12px;

  border:
    1px solid #25343d;

  position: relative;

  box-shadow:
    0 12px 35px rgba(0,0,0,0.12);

}

.testimonial-card .quote-icon {

  font-size: 30px;

  color: var(--tups-blue);

  margin-bottom: 15px;

}

.testimonial-card blockquote {

  font-size: 16px;

  line-height: 1.85;

  color: #d5dfe4;

  font-style: italic;

}

.testimonial-author {

  margin-top: 18px;

  color: var(--tups-blue);

  font-size: 14px;

  font-weight: 900;

}

.testimonial-role {

  margin-top: 4px;

  color: #aebbc2;

  font-size: 12px;

}

.testimonial-controls {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 8px;

  margin-top: 17px;

}

.testimonial-arrow {

  width: 36px;

  height: 36px;

  border: none;

  border-radius: 50%;

  background:
    var(--tups-black);

  color:
    var(--tups-blue);

}

.testimonial-arrow:hover {

  background:
    var(--tups-blue);

  color:
    var(--tups-black);

}

.testimonial-dots {

  display: flex;

  gap: 6px;

}

.testimonial-dot {

  width: 8px;

  height: 8px;

  border: none;

  border-radius: 50%;

  background:
    #bdcbd1;

}

.testimonial-dot.active {

  width: 23px;

  border-radius: 5px;

  background:
    var(--tups-blue);

}


/* =========================================================
   REVIEWS / RATING
========================================================= */

.reviews-section {

  margin-top: 30px;

  padding: 35px;

  border-radius: 12px;

  background:
    var(--section-bg);

  border:
    1px solid #dce3e7;

}

.rating-summary {

  max-width: 520px;

  margin: 0 auto 28px;

  padding: 24px;

  text-align: center;

  border-radius: 10px;

  background:
    var(--white);

  border:
    1px solid var(--border);

  box-shadow:
    0 6px 20px rgba(0,0,0,0.04);

}

.rating-number {

  display: block;

  color:
    var(--tups-black);

  font-size: 38px;

  font-weight: 900;

}

.rating-stars-display {

  margin: 8px 0;

  color:
    #ffb400;

  font-size: 24px;

  letter-spacing: 2px;

}

.rating-count {

  color:
    var(--muted);

  font-size: 12px;

  font-weight: 700;

}


/* REVIEW FORM */

.review-form-container {

  max-width: 800px;

  margin: 0 auto;

  padding: 28px;

  border-radius: 10px;

  background:
    var(--white);

  border:
    1px solid var(--border);

}

.review-form-container h3 {

  margin-bottom: 5px;

  font-size: 20px;

}

.review-form-container > p {

  margin-bottom: 20px;

  color: var(--muted);

  font-size: 13px;

}

.star-rating-input {

  display: flex;

  flex-direction: row-reverse;

  justify-content: flex-end;

  gap: 4px;

  margin: 8px 0 18px;

}

.star-rating-input input {

  display: none;

}

.star-rating-input label {

  cursor: pointer;

  color:
    #c8d0d4;

  font-size: 28px;

  transition:
    color 0.15s ease,
    transform 0.15s ease;

}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {

  color:
    #ffb400;

}

.star-rating-input label:hover {

  transform:
    scale(1.12);

}

.review-form {

  display: flex;

  flex-direction: column;

  gap: 14px;

}

.review-form .form-row {

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 14px;

}

.review-form input,
.review-form textarea {

  width: 100%;

  padding: 12px 13px;

  border:
    1px solid #ccd6dc;

  border-radius: 6px;

  background:
    #fbfcfd;

  outline: none;

  font-size: 13px;

}

.review-form input:focus,
.review-form textarea:focus {

  border-color:
    var(--tups-blue);

  box-shadow:
    0 0 0 3px
    rgba(0,169,255,0.12);

}

.review-submit {

  align-self: flex-start;

  min-height: 43px;

  padding: 0 20px;

  border: none;

  border-radius: 5px;

  background:
    var(--tups-blue);

  color:
    #00121a;

  font-weight: 900;

}

.review-submit:hover {

  background:
    var(--tups-blue-light);

}


/* =========================================================
   REVIEW CARDS
========================================================= */

.review-list {

  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(240px, 1fr)
    );

  gap: 15px;

  margin-top: 28px;

}

.review-card {

  padding: 20px;

  background:
    var(--white);

  border:
    1px solid var(--border);

  border-radius: 9px;

  box-shadow:
    0 4px 15px rgba(0,0,0,0.04);

}

.review-card-stars {

  color:
    #ffb400;

  font-size: 14px;

  margin-bottom: 9px;

}

.review-card blockquote {

  color:
    var(--muted);

  font-size: 13px;

  line-height: 1.7;

}

.review-card-author {

  margin-top: 12px;

  color:
    var(--tups-black);

  font-size: 12px;

  font-weight: 900;

}

.review-card-company {

  margin-top: 3px;

  color:
    var(--tups-blue-dark);

  font-size: 11px;

  font-weight: 700;

}


/* =========================================================
   SCHOOL PAGE
========================================================= */

.school-page-header {

  display: flex;

  align-items: center;

  gap: 20px;

  margin-bottom: 25px;

}

.large-school-logo {

  width: 95px;

  height: 95px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  border:
    2px solid var(--tups-blue);

  border-radius: 8px;

  background:
    var(--tups-black);

  color:
    var(--tups-blue);

  font-size: 24px;

  font-weight: 900;

}


/* =========================================================
   CTA
========================================================= */

.cta-section {

  margin: 40px 0;

  padding: 35px;

  text-align: center;

  border-radius: 10px;

  background:
    linear-gradient(
      120deg,
      var(--tups-black),
      #17252e
    );

  color: white;

}

.cta-section h3 {

  font-size: 27px;

  margin-bottom: 10px;

}

.cta-section p {

  max-width: 650px;

  margin: 0 auto 18px;

}

.cta-button {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 13px 21px;

  border: none;

  border-radius: 5px;

  background:
    var(--tups-blue);

  color:
    #00121a;

  font-weight: 900;

}


/* =========================================================
   FLOATING SOCIALS
========================================================= */

.floating-socials {

  position: fixed;

  right: 18px;

  top: 50%;

  transform:
    translateY(-50%);

  display: flex;

  flex-direction: column;

  gap: 9px;

  z-index: 900;

}

.social-button {

  width: 44px;

  height: 44px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  color: white;

  font-size: 19px;

  box-shadow:
    0 5px 16px rgba(0,0,0,0.2);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;

}

.social-button:hover {

  transform:
    scale(1.12);

  box-shadow:
    0 8px 22px rgba(0,0,0,0.25);

}

.whatsapp {

  background:
    #25d366;

}

.facebook {

  background:
    #1877f2;

}

.instagram {

  background:
    linear-gradient(
      135deg,
      #833ab4,
      #fd1d1d,
      #fcb045
    );

}


/* =========================================================
   APPLICATION MODAL
========================================================= */

.modal-overlay {

  position: fixed;

  inset: 0;

  display: none;

  align-items: center;

  justify-content: center;

  padding: 20px;

  background:
    rgba(0, 0, 0, 0.72);

  z-index: 3000;

  backdrop-filter:
    blur(4px);

}

.modal-overlay.show {

  display: flex;

}

.application-modal {

  width: 100%;

  max-width: 650px;

  max-height: 90vh;

  overflow-y: auto;

  padding: 30px;

  position: relative;

  background: white;

  border-radius: 11px;

  box-shadow:
    0 25px 70px rgba(0,0,0,0.3);

  animation:
    modalEnter 0.25s ease;

}

@keyframes modalEnter {

  from {

    opacity: 0;

    transform:
      translateY(20px)
      scale(0.97);

  }

  to {

    opacity: 1;

    transform:
      translateY(0)
      scale(1);

  }

}

.modal-close {

  position: absolute;

  top: 13px;

  right: 15px;

  width: 35px;

  height: 35px;

  border: none;

  border-radius: 50%;

  background:
    #edf1f3;

  color:
    #444;

  font-size: 16px;

}

.modal-header {

  display: flex;

  align-items: center;

  gap: 15px;

  padding-right: 30px;

  margin-bottom: 25px;

}

.modal-icon {

  width: 50px;

  height: 50px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 7px;

  background:
    var(--tups-black);

  color:
    var(--tups-blue);

  font-size: 20px;

}

.modal-header h2 {

  font-size: 22px;

}

.modal-header p {

  margin-top: 4px;

  color:
    var(--tups-blue-dark);

  font-size: 13px;

  font-weight: 700;

}


/* =========================================================
   FORM
========================================================= */

.application-form {

  display: flex;

  flex-direction: column;

  gap: 15px;

}

.form-row {

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 15px;

}

.form-group {

  display: flex;

  flex-direction: column;

  gap: 6px;

}

.form-group label {

  font-size: 12px;

  font-weight: 800;

  color:
    #303b43;

}

.form-group input,
.form-group textarea {

  width: 100%;

  padding: 12px 13px;

  border:
    1px solid #ccd6dc;

  border-radius: 5px;

  outline: none;

  font-size: 13px;

  color:
    var(--text);

  background:
    #fbfcfd;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;

}

.form-group input:focus,
.form-group textarea:focus {

  border-color:
    var(--tups-blue);

  box-shadow:
    0 0 0 3px
    rgba(0,169,255,0.12);

}

.form-group textarea {

  resize: vertical;

}

.form-actions {

  display: flex;

  justify-content: flex-end;

  gap: 9px;

  margin-top: 5px;

}

.apply-button,
.cancel-button {

  min-height: 42px;

  padding: 0 17px;

  border: none;

  border-radius: 5px;

  font-weight: 800;

}

.apply-button {

  background:
    var(--tups-blue);

  color:
    #00121a;

}

.cancel-button {

  background:
    #e9edef;

  color:
    #38434a;

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

  min-height: 90px;

  padding: 20px 30px;

  background:
    var(--tups-black);

  color:
    #cbd3d7;

  border-top:
    3px solid var(--tups-blue);

}

.footer-content {

  max-width: 1400px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

}

.footer-brand strong {

  color:
    var(--tups-blue);

}

.footer-brand p {

  margin-top: 5px;

  color:
    #909ca3;

  font-size: 11px;

}

.footer-links {

  display: flex;

  gap: 17px;

  color:
    #aab5ba;

  font-size: 11px;

}

.footer-copy {

  color:
    #858f94;

  font-size: 11px;

  text-align: right;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1250px) {

  .site-header {

    flex-wrap: wrap;

  }

  .main-navigation {

    order: 3;

    flex-basis: 100%;

    justify-content: flex-start;

    overflow-x: auto;

  }

  .portal-buttons {

    margin-left: auto;

  }

}


@media (max-width: 900px) {

  .top-contact-inner {

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px 20px;

  }

  .page-layout {

    flex-direction: column;

  }

  .sidebar {

    width: 100%;

    border-right: none;

    border-bottom:
      1px solid var(--border);

  }

  .partner-schools {

    display: grid;

    grid-template-columns:
      repeat(
        auto-fit,
        minmax(210px, 1fr)
      );

  }

  .stats-grid {

    grid-template-columns:
      repeat(2, 1fr);

  }

  .developer-profile {

    flex-direction: column;

    align-items: center;

    text-align: center;

  }

  .profile-links {

    justify-content: center;

  }

}


@media (max-width: 650px) {

  .top-contact-bar {

    min-height: auto;

  }

  .top-contact-inner {

    padding: 10px 12px;

    flex-direction: column;

    align-items: flex-start;

  }

  .top-contact-item a {

    font-size: 12px;

  }

  .site-header {

    padding: 12px 14px;

  }

  .header-brand {

    width: 100%;

  }

  .portal-buttons {

    width: 100%;

    margin-left: 0;

  }

  .portal-button {

    flex: 1;

  }

  .news-label {

    min-width: 105px;

    font-size: 9px;

  }

  .main-content {

    padding: 25px 17px;

  }

  .home-section {

    padding: 20px;

  }

  .hero-slide {

    padding: 30px;

    min-height: 350px;

  }

  .home-hero {

    min-height: 350px;

  }

  .form-row,
  .review-form .form-row {

    grid-template-columns:
      1fr;

  }

  .testimonials-section,
  .reviews-section {

    padding: 22px 15px;

  }

  .testimonial-card {

    padding: 28px 20px;

  }

  .review-form-container {

    padding: 20px;

  }

  .footer-content {

    flex-direction: column;

    align-items: flex-start;

  }

  .footer-links {

    flex-wrap: wrap;

  }

  .footer-copy {

    text-align: left;

  }

  .floating-socials {

    right: 8px;

  }

  .social-button {

    width: 38px;

    height: 38px;

    font-size: 16px;

  }

}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
}

/* =========================================================
   DEMO DROPDOWN
========================================================= */

.demo-nav-dropdown {
  position: relative;
}


.demo-nav-button {
  display: flex;
  align-items: center;
  gap: 7px;
}


.demo-nav-button .fa-chevron-down {
  font-size: 10px;
  margin-left: 2px;
}


.demo-menu {
  min-width: 240px;
}


.demo-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}


.demo-menu button.active {
  background: #fc0808;
  color: #ffffff;
}



/* =========================================================
   DEMO PAGE
========================================================= */

.demo-page {
  width: 100%;
}


.demo-page-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}


.demo-page-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fc0808;
  color: #ffffff;
  font-size: 24px;
  flex-shrink: 0;
}


.demo-page-header h2 {
  margin: 0 0 7px;
}


.demo-page-header p {
  margin: 0;
}



/* =========================================================
   DEMO GALLERY
========================================================= */

.demo-gallery {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fit,
      minmax(260px, 1fr)
    );
  gap: 24px;
  width: 100%;
}



/* =========================================================
   DEMO CARD
========================================================= */

.demo-card {
  box-shadow:
  0 5px 20px rgba(0, 0, 0, 0.55),
  0 3px 12px rgba(0, 245, 255, 0.12);

  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.demo-card:hover {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.32),
    0 4px 10px rgba(0, 245, 255, 0.16);

  transform: translateY(-3px);
}


/* =========================================================
   DEMO THUMBNAIL
========================================================= */

.demo-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}


.demo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.3s ease;
}


.demo-card:hover
.demo-thumbnail img {
  transform: scale(1.04);
}



/* =========================================================
   PLAY BUTTON
========================================================= */

.demo-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


.demo-play-overlay span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 0, 0.82);
  color: #ffffff;
  font-size: 20px;
  box-shadow:
    0 0 8px rgba(255, 0, 0, 0.22);
}


.demo-play-overlay i {
  margin-left: 3px;
}



/* =========================================================
   DEMO CARD CONTENT
========================================================= */

.demo-card-content {
  padding: 18px;
}


.demo-card-content h3 {
  margin: 0 0 15px;
  font-size: 17px;
  line-height: 1.35;
}


.demo-watch-button {
  border: 0;
  background: none;
  padding: 0;
  color: #fc0808;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}


.demo-watch-button:hover {
  text-decoration: underline;
}



/* =========================================================
   DEMO LOADING
========================================================= */

.demo-loading {
  grid-column: 1 / -1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fc0808;
  font-size: 17px;
}



/* =========================================================
   DEMO MESSAGE
========================================================= */

.demo-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
}


.demo-message > i {
  font-size: 42px;
  color: #fc0808;
  margin-bottom: 15px;
}


.demo-message h3 {
  margin: 0 0 10px;
}


.demo-message p {
  margin: 0 auto;
  max-width: 600px;
}


.demo-retry-button {
  margin-top: 20px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: #fc0808;
  color: #ffffff;
  cursor: pointer;
}



/* =========================================================
   DEMO VIDEO MODAL
========================================================= */

.demo-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}


.demo-video-dialog {
  width: min(1100px, 96vw);
  max-height: 94vh;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.35);
}


.demo-video-header {
  padding: 16px 55px 16px 20px;
}


.demo-video-header h3 {
  margin: 0;
  font-size: 18px;
}


.demo-video-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-size: 18px;
  z-index: 2;
}


.demo-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}


.demo-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}



/* =========================================================
   DEMO MOBILE
========================================================= */

@media (max-width: 700px) {


  .demo-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }


  .demo-page-header {
    align-items: flex-start;
  }


  .demo-page-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }


  .demo-video-modal {
    padding: 10px;
  }


  .demo-video-dialog {
    width: 100%;
  }


}

/* =========================================================
   TUPS SCHOOL MANAGEMENT APP — SCREENSHOT GALLERY
========================================================= */

.tups-app-gallery-section {
  margin: 40px 0 45px;
}

.tups-app-gallery-heading {
  text-align: center;
  margin-bottom: 25px;
}

.tups-app-gallery-heading h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--tups-black);
}

.tups-app-gallery-heading p {
  margin: 0 auto;
  max-width: 650px;
  font-size: 14px;
  line-height: 1.6;
  color: #5f6870;
}


/* =========================================================
   GALLERY GRID
========================================================= */

.tups-app-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}


/* =========================================================
   SCREENSHOT CARD
========================================================= */

.tups-app-card {
  overflow: hidden;

  background: #ffffff;

  border: 1px solid rgba(0, 245, 255, 0.45);

  border-radius: 12px;

  box-shadow:
  0 5px 20px rgba(0, 0, 0, 0.55),
  0 3px 12px rgba(0, 245, 255, 0.12);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

  animation:
    tupsGalleryAppear 0.55s ease both;
}

.tups-app-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(0, 245, 255, 0.75);

  box-shadow:
  0 8px 20px rgba(0, 0, 0, 0.32),
  0 4px 10px rgba(0, 245, 255, 0.16);
}


/* =========================================================
   SCREENSHOT AREA
========================================================= */

.tups-app-image {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  aspect-ratio: 16 / 10;

  background: #f5f7f8;

  border-bottom:
    1px solid rgba(0, 245, 255, 0.30);
}

.tups-app-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  transition:
    transform 0.4s ease;
}

.tups-app-card:hover .tups-app-image img {
  transform: scale(1.035);
}


/* =========================================================
   CARD INFORMATION
========================================================= */

.tups-app-info {
  padding: 18px;
}

.tups-app-info h3 {
  margin: 0 0 8px;

  font-size: 18px;

  line-height: 1.35;

  color: var(--tups-black);
}

.tups-app-info p {
  margin: 0;

  font-size: 13px;

  line-height: 1.65;

  color: #5f6870;
}


/* =========================================================
   ENTRANCE ANIMATION
========================================================= */

@keyframes tupsGalleryAppear {

  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   STAGGERED CARD ANIMATION
========================================================= */

.tups-app-card:nth-child(2) {
  animation-delay: 0.05s;
}

.tups-app-card:nth-child(3) {
  animation-delay: 0.10s;
}

.tups-app-card:nth-child(4) {
  animation-delay: 0.15s;
}

.tups-app-card:nth-child(5) {
  animation-delay: 0.20s;
}

.tups-app-card:nth-child(6) {
  animation-delay: 0.25s;
}

.tups-app-card:nth-child(7) {
  animation-delay: 0.30s;
}

.tups-app-card:nth-child(8) {
  animation-delay: 0.35s;
}

.tups-app-card:nth-child(9) {
  animation-delay: 0.40s;
}

.tups-app-card:nth-child(10) {
  animation-delay: 0.45s;
}

.tups-app-card:nth-child(11) {
  animation-delay: 0.50s;
}

.tups-app-card:nth-child(12) {
  animation-delay: 0.55s;
}

.tups-app-card:nth-child(13) {
  animation-delay: 0.60s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .tups-app-gallery {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 18px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .tups-app-gallery-section {
    margin: 30px 0 35px;
  }

  .tups-app-gallery-heading h2 {
    font-size: 21px;
  }

  .tups-app-gallery-heading p {
    font-size: 13px;
  }

  .tups-app-gallery {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .tups-app-card {
    border-radius: 10px;
  }

  .tups-app-info {
    padding: 16px;
  }

  .tups-app-info h3 {
    font-size: 17px;
  }

}


/* =========================================================
   REDUCE MOTION FOR ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .tups-app-card,
  .tups-app-image img {
    animation: none;
    transition: none;
  }

  .tups-app-card:hover {
    transform: none;
  }

  .tups-app-card:hover .tups-app-image img {
    transform: none;
  }

}
/* =========================================================
   HOME PROMO CARD
========================================================= */

.home-promo-card {

  display: flex;

  width: 100%;

  min-height: 360px;

  overflow: hidden;

  margin: -20px 0 15px;

  background: #ffffff;

  border:
    1px solid rgba(0, 245, 255, 0.45);

  border-radius: 12px;

  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.24),
    0 3px 8px rgba(0, 245, 255, 0.12);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

}


/* =========================================================
   LEFT — PROMOTIONAL SLIDER
========================================================= */

.home-promo-slider {

  position: relative;

  width: 75%;

  min-height: 300px;

  overflow: hidden;

  background: #050505;

}


/* =========================================================
   PROMOTIONAL SLIDES
========================================================= */

.home-promo-slide {

  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 30px;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;

}


.home-promo-slide.active {

  opacity: 1;

  visibility: visible;

}

/* =========================================================
   HOME PROMO VIDEO
========================================================= */

.home-promo-video {

  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;
  
  object-position: center;

  background: #000000;

}

/* =========================================================
   PLACEHOLDER CONTENT
========================================================= */

.home-promo-placeholder {

  width: 100%;

  text-align: center;

  color: #ffffff;

}


.home-promo-placeholder span {

  display: inline-block;

  margin-bottom: 10px;

  color: var(--tups-blue);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 1.5px;

}


.home-promo-placeholder h2 {

  margin: 0 0 10px;

  font-size: 28px;

  line-height: 1.2;

}


.home-promo-placeholder p {

  margin: 0 auto;

  max-width: 550px;

  color: #c4ccd1;

  font-size: 13px;

  line-height: 1.6;

}


/* =========================================================
   SLIDER DOTS
========================================================= */

.home-promo-dots {

  position: absolute;

  left: 0;

  right: 0;

  bottom: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 7px;

  z-index: 5;

}


.home-promo-dot {

  width: 7px;

  height: 7px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.45);

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease;

}


.home-promo-dot.active {

  background: var(--tups-blue);

  transform: scale(1.25);

}


/* =========================================================
   RIGHT — STATIC APP IMAGE
========================================================= */

.home-promo-app {

  width: 25%;

  min-height: 300px;

  overflow: hidden;

  background: #f5f7f8;

}


.home-promo-app img {

  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;

}


/* =========================================================
   HOVER
========================================================= */

.home-promo-card:hover {

  transform: translateY(-3px);

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.32),
    0 4px 10px rgba(0, 245, 255, 0.16);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .home-promo-card {

    min-height: 250px;

  }

  .home-promo-slider {

    min-height: 250px;

  }

  .home-promo-app {

    min-height: 250px;

  }

  .home-promo-placeholder h2 {

    font-size: 23px;

  }

  .home-promo-placeholder p {

    font-size: 12px;

  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .home-promo-card {

    flex-direction: column;

    min-height: 0;

  }

  .home-promo-slider {

    width: 100%;

    min-height: 220px;

  }

  .home-promo-app {

    width: 100%;

    min-height: 220px;

  }

  .home-promo-placeholder {

    padding: 10px;

  }

  .home-promo-placeholder h2 {

    font-size: 19px;

  }

  .home-promo-placeholder p {

    font-size: 11px;

  }

}

/* =========================================================
   PARTNER SCHOOLS PUBLICITY CAROUSEL
========================================================= */

.partner-carousel-section {
  position: relative;
  width: 100%;
  margin: 10px 0 45px;
  padding: 34px 28px 30px;
  overflow: hidden;
  border-radius: 16px;
  background:
linear-gradient(
    145deg,
    #3a3a3a 0%,
    #505050 48%,
    #383838 100%
  );
  border: 1px solid rgba(0, 245, 255, 0.38);
  box-shadow:
    0 12px 0 rgba(0, 0, 0, 0.88),
    0 18px 28px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(0, 245, 255, 0.10);
}


/* HEADING */

.partner-carousel-heading {
  text-align: center;
  margin-bottom: 28px;
}

.partner-carousel-kicker {
  display: inline-block;
  margin-bottom: 7px;
  color: #00f5ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.partner-carousel-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
}

.partner-carousel-heading p {
  max-width: 700px;
  margin: 10px auto 0;
  color: #c8d1d6;
  font-size: 0.95rem;
  line-height: 1.6;
}


/* CAROUSEL */

.partner-carousel {
  position: relative;
  width: 100%;
  padding: 0 48px;
}

.partner-carousel-viewport {
  width: 100%;
  overflow: hidden;
  padding: 8px 4px 18px;
}

.partner-carousel-track {
  display: flex;
  gap: 24px;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}


/* SCHOOL CARD */

.partner-school-card {
  position: relative;
  flex: 0 0 calc((100% - 24px) / 2);
  overflow: hidden;
  border-radius: 15px;
  background: #ffffff;
  border: 2px solid rgba(0, 245, 255, 0.55);
  min-height: 600px;
  box-shadow:
    0 7px 0 #000000,
    0 13px 22px rgba(0, 0, 0, 0.65),
    0 0 18px rgba(0, 245, 255, 0.12);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.partner-school-card:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow:
    0 9px 0 #000000,
    0 18px 28px rgba(0, 0, 0, 0.72),
    0 0 25px rgba(0, 245, 255, 0.22);
}


/* IMAGE */

.partner-school-image {
  position: relative;
  width: 100%;
  height: 510px;
  overflow: hidden;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-school-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.02),
      rgba(0, 0, 0, 0.12)
    );
}

.partner-school-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition:
    transform 0.7s ease;
}

.partner-school-card:hover
.partner-school-image img {
  transform: scale(1.045);
}


/* INFORMATION BELOW IMAGE */

.partner-school-info {
  min-height: 78px;
  padding: 10px 16px 12px;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f2f6f8 100%
    );
  border-top: 3px solid #00d9e8;
}

.partner-school-info h3 {
  margin: 0;
  color: #050505;
  font-size: clamp(0.9rem, 1.4vw, 1.08rem);
  font-weight: 900;
  line-height: 1.2;
}

.partner-school-info p {
  margin: 3px 0 0;
  color: #15232b;
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  font-weight: 800;
  line-height: 1.2;
}

/* PREVIOUS / NEXT BUTTONS */

.partner-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid #00f5ff;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.88);
  color: #00f5ff;
  font-size: 1rem;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow:
    0 5px 0 #000000,
    0 0 15px rgba(0, 245, 255, 0.18);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.partner-carousel-btn:hover {
  background: #00f5ff;
  color: #000000;
  box-shadow:
    0 5px 0 #000000,
    0 0 22px rgba(0, 245, 255, 0.42);
}

.partner-carousel-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.partner-carousel-prev {
  left: 0;
}

.partner-carousel-next {
  right: 0;
}


/* DOTS */

.partner-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
}

.partner-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #58636a;
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.partner-carousel-dot.active {
  width: 28px;
  border-radius: 8px;
  background: #00f5ff;
  box-shadow:
    0 0 10px rgba(0, 245, 255, 0.45);
}


/* TABLET */

@media (max-width: 900px) {

  .partner-carousel-section {
    padding: 28px 20px 26px;
  }

  .partner-carousel {
    padding: 0 42px;
  }

  .partner-carousel-track {
    gap: 18px;
  }

  .partner-school-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .partner-carousel-btn {
    width: 40px;
    height: 40px;
  }

}

/* MOBILE */

@media (max-width: 600px) {

  .partner-carousel-section {
    margin-top: 5px;
    padding: 26px 12px 24px;
    border-radius: 13px;
  }

  .partner-carousel-heading {
    margin-bottom: 20px;
  }

  .partner-carousel-heading h2 {
    font-size: 1.45rem;
  }

  .partner-carousel-heading p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .partner-carousel {
    padding: 0 34px;
  }

  .partner-carousel-viewport {
    padding: 7px 3px 15px;
  }

  .partner-carousel-track {
    gap: 0;
  }

  .partner-school-card {
    flex: 0 0 100%;
    min-height: 510px;
    border-radius: 13px;
  }

  /* PORTRAIT FLYER */
  .partner-school-image {
    height: 430px;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .partner-school-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  /* COMPACT SCHOOL INFORMATION */
  .partner-school-info {
    min-height: 70px;
    padding: 9px 14px 10px;
  }

  .partner-school-info h3 {
    font-size: 0.98rem;
    line-height: 1.2;
    margin: 0;
  }

  .partner-school-info p {
    font-size: 0.82rem;
    line-height: 1.2;
    margin: 3px 0 0;
  }

  .partner-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

}

.technology-schools-wrapper {
  width: 100%;
  margin: 30px 0 45px;
  padding: 30px 28px 32px;

  background:
    linear-gradient(
      145deg,
      #eef2f4 0%,
      #e4e9ec 50%,
      #f4f6f7 100%
    );

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 0 18px rgba(0, 245, 255, 0.06);
}

/* =========================================================
   WHY CHOOSE TUPS
========================================================= */

.why-tups-wrapper {
  width: 100%;
  margin: 30px 0 45px;
  padding: 30px 28px 34px;

  background:
    linear-gradient(
      145deg,
      #eef2f4 0%,
      #e4e9ec 50%,
      #f4f6f7 100%
    );

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 0 18px rgba(0, 245, 255, 0.06);
}


/* HEADING */

.why-tups-section {
  margin-bottom: 28px;
}

.why-tups-section h3 {
  margin: 0;
}

.why-tups-section p {
  margin-top: 8px;
}


/* MODULE GRID */

.tups-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}


/* MODULE CARD */

.tups-module-card {
  overflow: hidden;

  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 14px;

  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.16),
    0 10px 20px rgba(0, 0, 0, 0.12),
    0 0 12px rgba(0, 245, 255, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


/* CARD HOVER */

.tups-module-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 8px 0 rgba(0, 0, 0, 0.18),
    0 15px 26px rgba(0, 0, 0, 0.16),
    0 0 18px rgba(0, 245, 255, 0.14);
}


/* MODULE IMAGE */

.tups-module-image {
  width: 100%;
  height: 210px;

  overflow: hidden;

  background: #f1f3f4;

  border-bottom: 2px solid rgba(0, 245, 255, 0.35);
}


.tups-module-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
  object-position: center;

  transition:
    transform 0.5s ease;
}


.tups-module-card:hover
.tups-module-image img {
  transform: scale(1.025);
}


/* MODULE TEXT */

.tups-module-content {
  padding: 15px 17px 18px;
}


.tups-module-content h3 {
  margin: 0;

  color: #050505;

  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}


.tups-module-content p {
  margin: 6px 0 0;

  color: #39464d;

  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 900px) {

  .why-tups-wrapper {
    padding: 28px 20px 30px;
  }

  .tups-modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .tups-module-image {
    height: 200px;
  }

}

@media (max-width: 600px) {

  .why-tups-wrapper {
    margin: 25px 0 35px;
    padding: 24px 12px 26px;
    border-radius: 13px;
  }

  .why-tups-section {
    margin-bottom: 20px;
  }

  .tups-modules-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tups-module-image {
    height: 220px;
  }

  .tups-module-content {
    padding: 13px 15px 16px;
  }

  .tups-module-content h3 {
    font-size: 1rem;
  }

  .tups-module-content p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

}

/* =========================================================
   TUPS EDUCATION NEWS PAGE
========================================================= */

.education-news-page {
    animation: tupsNewsFadeIn 0.25s ease;
}


/* =========================================================
   FEATURED STORY
========================================================= */

.education-news-featured {
    margin-top: 20px;
}


.education-news-featured-label {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 9px;

    color: #315f89;

    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


.education-news-featured-card {
    position: relative;
    overflow: hidden;

    background: #f1f6fb;

    border: 1px solid #d5e3ec;
    border-left: 5px solid #315f89;
    border-radius: 10px;

    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.07);
}


.education-news-card-content {
    padding: 20px;
}


.education-news-featured-card h3 {
    margin: 10px 0;

    color: #1d2b34;

    font-size: 1.35rem;
    line-height: 1.3;
}


.education-news-featured-card p {
    margin: 0;

    color: #56636d;

    line-height: 1.65;
}


/* =========================================================
   NEWS META
========================================================= */

.education-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 10px;

    font-size: 0.72rem;
}


.education-news-meta span {
    padding: 4px 8px;

    background: #eef5fa;

    border: 1px solid #d7e5ee;
    border-radius: 999px;

    color: #315f89;

    font-weight: 700;
}


/* =========================================================
   FEATURED SOURCE
========================================================= */

.education-news-source {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 18px;
    padding-top: 13px;

    border-top: 1px solid rgba(49, 95, 137, 0.15);

    font-size: 0.76rem;
}


.education-news-source > span {
    color: #68737d;
}


.education-news-source strong {
    color: #315f89;
}


.education-news-source a,
.education-news-card-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #176b91;

    font-weight: 800;
    text-decoration: none;

    transition: color 0.18s ease;
}


.education-news-source a:hover,
.education-news-card-footer a:hover {
    color: #003f59;
    text-decoration: underline;
}


/* =========================================================
   LATEST NEWS HEADING
========================================================= */

.education-news-latest {
    margin-top: 28px;
}


.education-news-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 15px;
}


.education-news-kicker {
    display: block;

    margin-bottom: 4px;

    color: #68737d;

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}


.education-news-section-heading h3 {
    margin: 0;

    color: #1d2b34;

    font-size: 1.15rem;
}


.education-news-count {
    white-space: nowrap;

    padding: 5px 9px;

    background: #f3f4f5;

    border: 1px solid #dfe3e6;
    border-radius: 999px;

    color: #5d6871;

    font-size: 0.7rem;
    font-weight: 700;
}


/* =========================================================
   NEWS GRID
========================================================= */

.education-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
}

@media (max-width: 900px) {
    .education-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .education-news-grid {
        grid-template-columns: 1fr;
    }
}


.education-news-card {
    position: relative;

    display: flex;
    flex-direction: column;
}


.education-news-card h3 {
    margin-top: 10px;

    color: #25343d;

    font-size: 1rem;
    line-height: 1.4;
}


.education-news-card p {
    margin-top: 8px;

    color: #5e6972;

    font-size: 0.84rem;
    line-height: 1.6;
}


.education-news-card small {
    color: #68737d;

    font-size: 0.74rem;
    font-weight: 700;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.education-news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-top: auto;
    padding-top: 14px;
}


.education-news-card-footer a {
    font-size: 0.74rem;
}


/* =========================================================
   PAGINATION
========================================================= */

.education-news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;

    margin-top: 25px;
}


.education-news-page-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 34px;

    padding: 0 9px;

    background: #ffffff;

    border: 1px solid #d7e0e6;
    border-radius: 7px;

    color: #43515a;

    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}


.education-news-page-button:hover:not(:disabled) {
    border-color: #315f89;

    color: #315f89;

    transform: translateY(-1px);
}


.education-news-page-button.active {
    background: #315f89;

    border-color: #315f89;

    color: #ffffff;
}


.education-news-page-button:disabled {
    opacity: 0.4;

    cursor: not-allowed;
}


.education-news-page-button:focus-visible {
    outline: 2px solid #315f89;
    outline-offset: 2px;
}


/* =========================================================
   CTA
========================================================= */

.education-news-cta {
    margin-top: 30px;
}


/* =========================================================
   SOURCE NOTE
========================================================= */

.education-news-source-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin-top: 15px;
    padding: 11px 12px;

    background: #f7f8f9;

    border: 1px solid #e2e6e9;
    border-radius: 7px;

    color: #6b757d;

    font-size: 0.72rem;
    line-height: 1.5;
}


.education-news-source-note i {
    margin-top: 2px;

    color: #315f89;
}


/* =========================================================
   EDUCATION NEWS — MOBILE
========================================================= */

@media (max-width: 600px) {

    .education-news-featured-card h3 {
        font-size: 1.1rem;
    }

    .education-news-card-content {
        padding: 16px;
    }

    .education-news-source {
        align-items: flex-start;
        flex-direction: column;
    }

    .education-news-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .education-news-count {
        font-size: 0.68rem;
    }

    .education-news-card h3 {
        font-size: 0.94rem;
    }

    .education-news-card p {
        font-size: 0.8rem;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .education-news-page {
        animation: none;
    }

    .education-news-page-button {
        transition: none;
    }

}


/* =========================================================
   NEWS PAGE ANIMATION
========================================================= */

@keyframes tupsNewsFadeIn {

    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================================================
   TUPS SCHOOL GIST & GOSSIP
   Full-page styling
========================================================= */

.school-gist-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0 50px;
}


/* =========================================================
   HEADER
========================================================= */

.school-gist-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    padding: 30px;
    border: 2px solid #00f5ff;
    border-radius: 16px;
    background: #050505;
    box-shadow: 8px 8px 0 #000;
}

.school-gist-header::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -150px;
    right: -80px;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.08);
    pointer-events: none;
}

.school-gist-header::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -120px;
    left: 30%;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.12);
    pointer-events: none;
}

.school-gist-title-row {
    position: relative;
    z-index: 1;
}

.school-gist-kicker {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 10px;
    border: 1px solid #00f5ff;
    border-radius: 5px;
    color: #00f5ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.school-gist-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 900;
}

.school-gist-header p {
    max-width: 760px;
    margin: 12px 0 0;
    color: #c9c9c9;
    font-size: 1rem;
    line-height: 1.6;
}


/* =========================================================
   TOPIC BAR
========================================================= */

.school-gist-topic-bar {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 245, 255, 0.25);
}

.school-gist-topic-bar span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid rgba(0, 245, 255, 0.4);
    border-radius: 20px;
    background: rgba(0, 245, 255, 0.05);
    color: #e9ffff;
    font-size: 0.76rem;
    font-weight: 700;
}


/* =========================================================
   SECTIONS
========================================================= */

.school-gist-section {
    margin-bottom: 42px;
}

.school-gist-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #111;
}

.school-gist-section-heading > div {
    min-width: 0;
}

.school-gist-section-kicker {
    display: block;
    margin-bottom: 4px;
    color: #777;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.school-gist-section-heading h2 {
    margin: 0;
    color: #111;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.2;
    font-weight: 900;
}

.school-gist-section-heading p {
    margin: 5px 0 0;
    color: #666;
    font-size: 0.88rem;
}

.school-gist-count {
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 5px;
    background: #050505;
    color: #00f5ff;
    font-size: 0.72rem;
    font-weight: 800;
}


/* =========================================================
   HOT SECTION
========================================================= */

.school-gist-hot {
    padding: 20px;
    border: 2px solid #111;
    border-radius: 14px;
    background: #f7f7f7;
}

.school-gist-hot .school-gist-section-heading {
    border-bottom-color: #00f5ff;
}


/* =========================================================
   STORY GRID
========================================================= */

.school-gist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}


/* =========================================================
   STORY CARD
========================================================= */

.school-gist-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #111;
    border-radius: 10px;
    background: #fff;
    box-shadow: 5px 5px 0 #000;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.school-gist-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #000;
}


/* =========================================================
   IMAGE
========================================================= */

.school-gist-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111;
}

.school-gist-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.school-gist-card:hover .school-gist-image-link img {
    transform: scale(1.045);
}


/* =========================================================
   HOT BADGE
========================================================= */

.school-gist-hot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid #111;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font-size: 0.68rem;
    font-weight: 900;
    box-shadow: 3px 3px 0 #000;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.school-gist-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px;
}

.school-gist-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}

.school-gist-card-meta span {
    overflow: hidden;
    color: #777;
    font-size: 0.65rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.school-gist-card-meta span:first-child {
    color: #006666;
}

.school-gist-card h3 {
    margin: 0 0 9px;
    color: #111;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 850;
}

.school-gist-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #555;
    font-size: 0.82rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.school-gist-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 13px;
    color: #777;
    font-size: 0.65rem;
    font-weight: 700;
}

.school-gist-card-footer span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.school-gist-card-footer i {
    margin-right: 3px;
    color: #008b8b;
}


/* =========================================================
   READ GIST BUTTON
========================================================= */

.school-gist-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 13px;
    padding: 9px 10px;
    border: 2px solid #111;
    border-radius: 5px;
    background: #050505;
    color: #00f5ff;
    font-size: 0.74rem;
    font-weight: 850;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.school-gist-read-more:hover {
    background: #00f5ff;
    color: #050505;
}


/* =========================================================
   PAGINATION
========================================================= */

.school-gist-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
}

.school-gist-page-button {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 2px solid #111;
    border-radius: 5px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.school-gist-page-button:hover:not(:disabled) {
    transform: translateY(-2px);
    background: #111;
    color: #00f5ff;
}

.school-gist-page-button.active {
    background: #111;
    color: #00f5ff;
    box-shadow: 3px 3px 0 #00f5ff;
}

.school-gist-page-button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.school-gist-empty {
    grid-column: 1 / -1;
    padding: 35px;
    border: 2px dashed #aaa;
    border-radius: 10px;
    color: #777;
    text-align: center;
}


/* =========================================================
   SOURCE NOTE
========================================================= */

.school-gist-source-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 35px;
    padding: 14px 16px;
    border-left: 4px solid #00f5ff;
    background: #f4f4f4;
    color: #666;
    font-size: 0.75rem;
    line-height: 1.55;
}

.school-gist-source-note i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #008b8b;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .school-gist-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 850px) {

    .school-gist-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .school-gist-header {
        padding: 24px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .school-gist-page {
        padding-bottom: 30px;
    }

    .school-gist-header {
        margin-bottom: 25px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 5px 5px 0 #000;
    }

    .school-gist-header h1 {
        font-size: 1.65rem;
    }

    .school-gist-header p {
        font-size: 0.85rem;
    }

    .school-gist-topic-bar {
        gap: 6px;
        margin-top: 18px;
        padding-top: 14px;
    }

    .school-gist-topic-bar span {
        font-size: 0.64rem;
        padding: 5px 8px;
    }

    .school-gist-hot {
        padding: 14px;
    }

    .school-gist-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .school-gist-count {
        align-self: flex-start;
    }

    .school-gist-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .school-gist-card {
        box-shadow: 4px 4px 0 #000;
    }

    .school-gist-card:hover {
        transform: none;
        box-shadow: 4px 4px 0 #000;
    }

    .school-gist-pagination {
        gap: 5px;
    }

    .school-gist-page-button {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .school-gist-card,
    .school-gist-card:hover,
    .school-gist-image-link img,
    .school-gist-page-button,
    .school-gist-read-more {
        transition: none;
        transform: none;
    }

}