﻿:root {
  --navy: #163A70;
  --navy-dark: #082754;
  --navy-deep: #061f45;
  --gold: #F5B512;
  --gold-dark: #D99200;
  --emerald: #2ECC97;
  --bg: #F7F9FC;
  --text: #0B1C3D;
  --muted: #64748B;
  --white: #FFFFFF;
  --line: rgba(22, 58, 112, 0.13);
  --shadow: 0 22px 52px rgba(22, 58, 112, 0.14);
  --soft-shadow: 0 16px 34px rgba(22, 58, 112, 0.10);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

main p {
  font-family: "Newsreader", Arial, sans-serif;
}

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

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

button,
input {
  font: inherit;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0;
  line-height: 1.08;
}

h1,
h2{
  font-family: "Fraunces", Arial, sans-serif;
}

h3{
  font-family: "Poppins", Arial, sans-serif;
}

.section-shell {
  margin: 0 auto;
  max-width: 1260px;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.section-block {
  padding-bottom: 92px;
  padding-top: 55px;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(22, 58, 112, 0.10);
  box-shadow: 0 10px 30px rgba(22, 58, 112, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1260px;
  min-height: 78px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.brand-image img {
  height: 54px;
  object-fit: contain;
  width: auto;
}

.footer-brand img {
  height: 64px;
}

.nav-menu {
  align-items: center;
  display: flex;
  gap: 26px;
}

.nav-menu a {
  color: #061842;
  font-family: "Nunito", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 28px 0 24px;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.nav-menu a::after {
  background: var(--gold);
  border-radius: 999px;
  bottom: 17px;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  width: 30px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-menu .signin-link,
.nav-menu .nav-cta {
  padding: 0;
}

.nav-menu .signin-link::after,
.nav-menu .nav-cta::after {
  display: none;
}

.nav-menu .signin-link {
  margin-left: 8px;
}

.nav-menu .nav-cta {
  background: linear-gradient(135deg, var(--gold), #FFB000);
  border-radius: 14px;
  box-shadow: 0 14px 24px rgba(245, 181, 18, 0.28);
  color: #061842;
  padding: 13px 22px;
}

.nav-menu .nav-cta:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  width: 42px;
}

.nav-toggle span {
  background: var(--navy);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin: 6px auto;
  width: 24px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: calc(92vh - 78px);
  padding-bottom: 66px;
  padding-top: 48px;
  position: relative;
}

.hero::before {
  background: radial-gradient(circle at 25% 20%, rgba(46, 204, 151, 0.16), transparent 30%), radial-gradient(circle at 76% 18%, rgba(245, 181, 18, 0.18), transparent 28%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero .eyebrow {
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--emerald);
  /* font-family:"Petit Formal Script",sans-serif; */
  font-family:"Dancing Script",sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform:uppercase;
  margin-bottom:14px;
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(2.6rem, 5.1vw, 5rem);
  max-width: 650px;
}

.hero p {
  color: var(--muted);
  font-size: 1.04rem;
  margin-top: 20px;
  max-width: 600px;
}

.hero-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  overflow: hidden;
  padding: 0 26px;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--navy), #2A5F9E);
  box-shadow: 0 16px 28px rgba(22, 58, 112, 0.24);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  color: var(--navy);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #F0A000);
  box-shadow: 0 18px 28px rgba(245, 181, 18, 0.28);
  color: #FFFFFF;
  min-width: 132px;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: var(--white);
  min-width: 172px;
}

.hero-visual {
  min-height: 500px;
  position: relative;
}

.image-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 470px;
  overflow: hidden;
  position: relative;
}

.image-card::after {
  background: linear-gradient(180deg, transparent 55%, rgba(22, 58, 112, 0.28));
  content: "";
  inset: 0;
  position: absolute;
}

.image-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.glass-card {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 34px rgba(22, 58, 112, 0.16);
}

.hero-note {
  align-items: center;
  border-radius: 20px;
  bottom: 42px;
  display: flex;
  gap: 14px;
  left: -28px;
  padding: 18px;
  position: absolute;
  width: min(300px, 80%);
}

.icon-badge,
.feature-icon,
.course-icon {
  align-items: center;
  display: inline-flex;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 900;
  overflow: hidden;
  justify-content: center;
}

.icon-badge {
  background: var(--gold);
  border-radius: 16px;
  color: var(--navy);
  flex: 0 0 48px;
  height: 48px;
  width: 48px;
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stats {
  align-items: center;
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.hero-stat {
  min-width: 120px;
}

.hero-stat:not(:last-child) {
  border-right: 1px solid var(--line);
  padding-right: 30px;
}

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

.hero-stat strong {
  color: var(--gold);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-stat span {
  color: var(--muted);
  font-weight: 800;
  margin-top: 8px;
}

.section-heading {
  margin: 0 auto 42px;
  max-width: 720px;
  text-align: center;
}

.section-heading h2,
.final-cta h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.feature-grid,
.course-grid,
.steps {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.mission-grid {
  grid-template-columns: repeat(2, 1fr);
  margin:24px 0 28px;
}

.feature-card,
.course-card,
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  padding: 28px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-card:hover,
.course-card:hover,
.step-card:hover {
  border-color: rgba(46, 204, 151, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.feature-icon,
.course-icon {
  width: 56px;
  height: 56px;
  background: rgba(46, 204, 151, 0.12);
  border-radius: 16px;
  margin-bottom: 22px;
}

.mission-grid .feature-icon {
  background: rgba(46, 49, 204, 0.596);
}

.feature-card h3,
.course-card h3,
.step-card h3 {
  color: var(--navy);
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.feature-card p,
.course-card p,
.step-card p,
.final-cta p,
.footer p {
  color: var(--muted);
}

.courses {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(245, 181, 18, 0.08));
}

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

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

.step-card span {
  color: var(--gold);
  display: inline-block;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.final-cta {
  align-items: center;
  background: var(--navy);
  border-radius: 24px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 0;
  overflow: hidden;
  padding-bottom: 64px;
  padding-top: 64px;
  position: relative;
}

.apply-cta {
  background: var(--navy);
  box-shadow: var(--shadow);
  color: var(--white);
  align-items: center;
  margin-top: 22px;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-bottom: 25px;
  padding-top: 25px;
  border-radius: 24px;
  overflow: hidden;
}

.final-cta::before {
  background: rgba(46, 204, 151, 0.18);
  border-radius: 50%;
  bottom: -78px;
  content: "";
  height: 180px;
  left: 37%;
  position: absolute;
  width: 180px;
}

.final-cta::after {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
  height: 300px;
  position: absolute;
  right: -56px;
  top: -110px;
  width: 300px;
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.7vw, 3rem);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  margin-top: 12px;
  max-width: 780px;
}

.footer {
  background: linear-gradient(135deg, #072657, #06214A 55%, #022860);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 92px;
  padding-top: 28px;
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.45fr 0.85fr 0.95fr 1.1fr;
  padding-bottom: 28px;
  padding-top: 34px;
}

.footer h3 {
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.footer p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  margin-top: 18px;
  max-width: 320px;
}

.footer a,
.footer span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 0.94rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.social-links a {
  margin: 0;
  padding: 0;
  height: 24px;
  width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0);
  text-transform: uppercase;
}

.social-links a img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  display: block;
  object-fit: cover;
}

.social-links a:hover {
  transition: 0.3s;
  border: 1px solid var(--gold);
}

.newsletter-form {
  align-items: stretch;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  margin-top: 16px;
  max-width: 280px;
  overflow: hidden;
}

.newsletter-form input {
  border: 0;
  color: var(--text);
  flex: 1;
  min-width: 0;
  padding: 0 16px;
}

.newsletter-form button {
  background: var(--emerald);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  padding: 0 16px;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  padding-top: 22px;
}

.footer-bottom span,
.footer-bottom a,
.footer-bottom b {
  color: rgba(255, 255, 255, 0.68);
  display: inline;
  font-size: 0.92rem;
  margin: 0;
}

.footer-bottom b {
  padding: 0 12px;
}

.floating-actions {
  bottom: 24px;
  display: grid;
  gap: 12px;
  position: fixed;
  right: 22px;
  z-index: 60;
}

.float-btn {
  margin: 0;
  padding: 0;
  height: 50px;
  width: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  transition: transform 0.25s ease;
  overflow: hidden;
}

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

.float-btn:hover {
  transform: translateY(-4px) scale(1.04);
}

.whatsapp {
  background: #12B76A;
}

.call {
  background: var(--gold);
  color: #0B1C3D;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.button-ripple {
  animation: ripple 0.65s ease-out forwards;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  pointer-events: none;
  position: absolute;
  transform: scale(0);
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: scale(2.35);
  }
}
@media (max-width: 1180px) {
  .navbar {
    min-height: 74px;
  }

  .brand-image img {
    height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 6px;
    left: 24px;
    opacity: 0;
    padding: 18px;
    pointer-events: none;
    position: absolute;
    right: 24px;
    top: 86px;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 10px 12px;
  }

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

  .nav-menu .signin-link {
    margin-left: 0;
  }

  .nav-menu .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .image-card {
    height: 470px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .section-shell,
  .navbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-image img {
    height: 42px;
    max-width: 238px;
  }

  .hero {
    gap: 38px;
    padding-bottom: 52px;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-actions .btn,
  .final-cta-actions,
  .final-cta-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stat {
    min-width: 0;
  }

  .hero-stat:not(:last-child) {
    padding-right: 16px;
  }

  .hero-stat strong {
    font-size: 1.75rem;
  }

  .hero-stat span {
    font-size: 0.86rem;
  }

  .hero-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
  }

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

  .image-card {
    height: 360px;
  }

  .hero-note {
    bottom: 22px;
    left: 14px;
  }

  .section-block {
    padding-bottom: 70px;
    padding-top: 70px;
  }

  /* About Section */
.feature-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mission-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Subjects */
.course-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* Other Sections */
.steps,
.footer-grid {
  grid-template-columns: 1fr;
}
.feature-card,
.course-card {
  padding: 18px;
}

.feature-card h3,
.course-card h3 {
  font-size: 0.98rem;
}

.feature-card p,
.course-card p {
  font-size: 0.82rem;
  line-height: 1.45;
}

.feature-icon,
.course-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.feature-icon img,
.course-icon img {
  width: 28px;
  height: 28px;
}
.mission-grid .feature-card {
  min-height: 210px;
}

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-left: 18px;
    margin-right: 18px;
    padding: 36px 28px;
    width: auto;
  }

  .footer {
    margin-top: 70px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .learning-mode-strip article {
    padding: 4px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .brand-image img {
    height: 38px;
    max-width: 208px;
  }

  .feature-card,
  .course-card,
  .step-card {
    padding: 24px;
  }

  .hero-stats {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stat:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    padding-right: 0;
    width: 100%;
  }
  .hero-stat strong{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }

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

  .floating-actions {
    bottom: 16px;
    right: 16px;
  }

  .float-btn {
    height: 50px;
    width: 50px;
  }

  .eyebrow{
    font-size: 0.74rem;
    letter-spacing: 0.03em;
    font-weight: 600;
  }
}

.mission-card {
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}

.mission-card {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  display: grid;
  gap: 34px;
  padding: 38px 34px;
  margin-bottom: 22px;
}

.mission-card h2 {
  color: var(--gold);
  font-size: 1.72rem;
  margin-bottom: 12px;
}

.mission-card p {
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.05rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .mission-card {
    padding: 26px;
  }
}

/* Courses Page */

.curriculum-section {
  padding-top: 36px;
}

.curriculum-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(7, 1fr);
}

.curriculum-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  min-height: 345px;
  padding: 24px 18px;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.curriculum-card:hover,
.curriculum-card.is-selected {
  border-color: rgba(245, 181, 18, 0.78);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.curriculum-icon {
  align-items: center;
  align-self: center;
  background: rgba(22, 58, 112, 0.10);
  border-radius: 18px;
  color: var(--navy);
  display: inline-flex;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
  width: 64px;
}

.curriculum-card .curriculum-icon img {
  width:100%;
  object-fit:cover;
  display:block;
}
.curriculum-card[data-accent="emerald"] .curriculum-icon { background: rgba(46, 204, 151, 0.15); color: #0E8C62; }
.curriculum-card[data-accent="blue"] .curriculum-icon { background: rgba(53, 103, 210, 0.14); color: #234EB4; }
.curriculum-card[data-accent="purple"] .curriculum-icon { background: rgba(126, 55, 185, 0.13); color: #7436A5; }
.curriculum-card[data-accent="orange"] .curriculum-icon { background: rgba(245, 134, 18, 0.14); color: #D96300; }
.curriculum-card[data-accent="red"] .curriculum-icon { background: rgba(214, 38, 38, 0.12); color: #C32026; }

.curriculum-card h2 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.curriculum-card p {
  color: #344764;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 46px;
}

.curriculum-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 20px;
  text-align: left;
}

.curriculum-card li {
  color: #283B59;
  font-size: 0.82rem;
  font-weight: 700;
  padding-left: 18px;
  position: relative;
}

.curriculum-card li::before {
  background: var(--navy);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 6px;
}

.curriculum-btn {
  background: var(--navy);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 0.82rem;
  margin-top: auto;
  min-height: 42px;
  padding: 0 16px;
  width: 100%;
}

.curriculum-card[data-accent="emerald"] .curriculum-btn { background: #07925F; }
.curriculum-card[data-accent="blue"] .curriculum-btn { background: #244FB8; }
.curriculum-card[data-accent="purple"] .curriculum-btn { background: #7436A5; }
.curriculum-card[data-accent="orange"] .curriculum-btn { background: #F26A05; }
.curriculum-card[data-accent="red"] .curriculum-btn { background: #C32026; }

.class-selector {
  background: linear-gradient(135deg, rgba(22, 58, 112, 0.06), rgba(46, 204, 151, 0.08));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  margin-bottom: 72px;
  padding-bottom: 34px;
  padding-top: 42px;
}

.class-selector[hidden] {
  display: none;
}

.class-selector .section-heading p {
  color: var(--muted);
  font-weight: 700;
  margin-top: 12px;
}

.class-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, 1fr);
}

.class-card {
  background: var(--white);
  border: 1px solid rgba(22, 58, 112, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(22, 58, 112, 0.08);
  padding: 18px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.class-card:hover {
  box-shadow: var(--soft-shadow);
  transform: translateY(-6px);
}

.class-card strong {
  color: var(--gold);
  display: block;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.class-card h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 8px;
}

.class-card p {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  min-height: 44px;
}

.class-card .btn {
  background: var(--gold);
  color: #071B3D;
  font-size: 0.82rem;
  margin-top: 14px;
  min-height: 40px;
  padding: 0 16px;
  width: 100%;
}

.course-benefits {
  padding-top: 18px;
}

.course-benefit-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}

.course-benefit {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: 58px 1fr;
  padding: 22px;
}

.course-benefit span {
  align-items: center;
  background: var(--navy);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.course-benefit h3,
.course-benefit p {
  grid-column: 2;
}

.course-benefit h3 {
  color: var(--navy);
  font-size: 1rem;
}

.course-benefit p {
  color: #30445F;
  font-size: 0.88rem;
  font-weight: 700;
}

.learning-mode-strip {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 72px;
}

.learning-mode-strip article {
  align-items: center;
  background: linear-gradient(135deg, #EEF6FF, #FFFFFF);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: 120px 1fr;
  padding: 22px;
}

.mini-illustration {
  background: rgba(245, 181, 18, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
}

.learning-mode-strip .mini-illustration img {
  object-fit: cover;
  display:block;
}

.learning-mode-strip h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.learning-mode-strip p {
  color: #314865;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .curriculum-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .class-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .course-benefit-grid,
  .learning-mode-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .courses-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .courses-hero {
    padding-bottom: 30px;
    padding-top: 52px;
  }

  .class-card-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .class-selector{
    overflow:hidden;
  }

  .class-card{
    width:100%;
    min-width:0;
  }
  .study-illustration {
    height: 230px;
  }

  .learning-mode-strip {
    grid-template-columns: 1fr;
  }

  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .curriculum-card {
    padding: 18px 14px;
  }

  .course-icon, .feature-icon, .curriculum-icon {
    height: 52px;
    width: 52px;
    overflow: hidden;
  }
  
  .course-icon img, .feature-icon img,.curriculum-card img {
    object-fit: contain;    
    width: 100%;
    height: 100%;
  }

  .curriculum-card h3 {
      font-size: 1.05rem;
  }

  .curriculum-card p,
  .curriculum-card li {
      font-size: 0.82rem;
      line-height: 1.45;
  }

  .curriculum-card .btn {
    width: 100%;
    padding: 9px 8px;
    font-size: 0.8rem;
    border-radius: 999px;
  }
  .curriculum-section {
    padding-top: 20px;
  }
  .classes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .class-card {
    padding: 14px 10px;
  }

  .class-card strong {
    font-size: 1.6rem;
  }

  .class-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .class-card p {
    font-size: 0.72rem;
    min-height: 34px;
  }

  .class-card .btn {
    font-size: 0.72rem;
    min-height: 34px;
  }

  .class-selector {
    margin-left: 8px;
    margin-right: 8px;
    padding-left: 18px;
    padding-right: 18px;
    width: auto;
  }

}

/* Enrollment Page */
.enrollment-hero {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 42px;
  padding-top: 72px;
}

.enrollment-hero h1 {
  color: var(--navy);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.enrollment-hero p {
  color: #30445F;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 12px;
  max-width: 760px;
}

.enrollment-hero-icon {
  align-items: center;
  background: linear-gradient(135deg, #FFF8E8, #FFFFFF);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  color: var(--navy);
  display: flex;
  flex: 0 0 118px;
  font-size: 3rem;
  height: 118px;
  justify-content: center;
}

.enrollment-shell {
  padding-bottom: 24px;
}

.enrollment-form {
  width: 100%;
}

.enrollment-progress {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}

.progress-step {
  align-items: center;
  background: transparent;
  border: 0;
  color: #5E708B;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
}

.progress-step span {
  align-items: center;
  background: #EAF0F8;
  border-radius: 50%;
  color: #5E708B;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.progress-step.is-active,
.progress-step.is-complete {
  color: var(--navy);
}

.progress-step.is-active span,
.progress-step.is-complete span {
  background: var(--emerald);
  color: var(--white);
}

.enrollment-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.enrollment-main,
.summary-card,
.help-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.enrollment-main {
  padding: 28px;
}

.form-step {
  border: 0;
  display: none;
  min-inline-size: 0;
}

.form-step.is-active {
  display: block;
}

.form-step legend {
  align-items: center;
  color: var(--navy);
  display: flex;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  gap: 12px;
  margin-bottom: 26px;
}

.form-step legend span {
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: var(--gold);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid label,
.subject-picker p {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
}

.form-grid small,
.subject-picker small {
  color: var(--gold-dark);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  background: #FFFFFF;
  border: 1px solid rgba(22, 58, 112, 0.22);
  border-radius: 8px;
  color: var(--text);
  display: block;
  margin-top: 8px;
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
}

.form-grid textarea {
  padding-top: 12px;
  resize: vertical;
}

.full-span {
  grid-column: 1 / -1;
}

.subject-picker {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0;
}

.subject-picker p {
  grid-column: 1 / -1;
}

.subject-picker label {
  background: #FFFFFF;
  border: 1px solid rgba(22, 58, 112, 0.14);
  border-radius: 10px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  gap: 12px;
  min-height: 88px;
  padding: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.subject-picker label:has(input:checked) {
  background: rgba(46, 204, 151, 0.13);
  border-color: var(--emerald);
}

.subject-picker input {
  margin-top: 4px;
}

.subject-picker span,
.subject-picker b {
  display: block;
}

.subject-picker b {
  color: var(--gold-dark);
  font-size: 0.9rem;
  margin-top: 8px;
}

.review-card {
  background: linear-gradient(135deg, rgba(22, 58, 112, 0.06), rgba(46, 204, 151, 0.08));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.review-card h2 {
  color: var(--navy);
  margin-bottom: 10px;
}

.review-card p {
  color: #344A67;
  font-weight: 700;
}

.confirmation-box {
  background: rgba(46, 204, 151, 0.14);
  border: 1px solid rgba(46, 204, 151, 0.45);
  border-radius: 12px;
  color: #087F5B;
  font-weight: 900;
  margin-top: 18px;
  padding: 16px;
}

.form-navigation {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 28px;
}

.form-navigation .btn {
  border: 0;
  cursor: pointer;
}

.enrollment-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.summary-card,
.help-card {
  padding: 22px;
}

.summary-card h2,
.help-card h3 {
  color: var(--navy);
}

.summary-card h2 {
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.summary-card dl div {
  border-bottom: 1px dashed rgba(22, 58, 112, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.summary-card dt {
  color: var(--muted);
  font-weight: 700;
}

.summary-card dd {
  color: var(--navy);
  font-weight: 900;
  text-align: right;
}

.summary-card h3 {
  color: #62718A;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  margin: 20px 0 12px;
  text-transform: uppercase;
}

.summary-subjects {
  display: grid;
  gap: 8px;
}

.summary-subjects div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.summary-subjects span,
.summary-subjects strong {
  color: #344A67;
  font-size: 0.92rem;
  font-weight: 800;
}

.summary-total {
  align-items: center;
  background: rgba(46, 204, 151, 0.14);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding: 18px;
}

.summary-total span {
  color: #344A67;
  font-weight: 900;
}

.summary-total strong {
  color: var(--emerald);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1.6rem;
}

.help-card h3 {
  color: var(--gold-dark);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.help-card p,
.help-card a {
  color: #536984;
  font-weight: 800;
}

.help-card a {
  color: var(--navy);
}

@media (max-width: 1024px) {
  .enrollment-layout {
    grid-template-columns: 1fr;
  }

  .enrollment-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .enrollment-hero {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 34px;
    padding-top: 52px;
  }

  .enrollment-hero-icon {
    height: 88px;
    flex-basis: 88px;
    width: 88px;
  }

  .enrollment-progress {
    align-items: stretch;
    flex-direction: column;
  }

  .enrollment-main,
  .summary-card,
  .help-card {
    padding: 20px;
  }

  .form-grid.two-cols,
  .subject-picker {
    grid-template-columns: 1fr;
  }

  .form-navigation {
    align-items: stretch;
    flex-direction: column;
  }

  .form-navigation .btn {
    width: 100%;
  }
}

/* Utility */
[hidden] {
  display: none !important;
}


/* Fee Structure Page */

/* Study Materials Page */

/* Gallery Page */

/* Contact Page */
.contact-form,
.contact-info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}

.contact-main {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 390px;
  padding-top: 22px;
}

.contact-form {
  padding: 32px;
}

.contact-form h2,
.contact-info-panel h2 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 22px;
}

.contact-form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 24px;
  margin-top: 18px;
}

.contact-form-grid label {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
}

.contact-form-grid small {
  color: var(--gold-dark);
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
  background: var(--white);
  border: 1px solid rgba(22, 58, 112, 0.20);
  border-radius: 10px;
  color: var(--text);
  display: block;
  margin-top: 8px;
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
}

.contact-form-grid textarea {
  padding-top: 12px;
  resize: vertical;
}

.contact-full {
  grid-column: 1 / -1;
}

.contact-info-panel {
  padding: 30px;
}

.contact-info-list {
  display: grid;
  gap: 16px;
}

.contact-info-list article {
  border-bottom: 1px dashed rgba(22, 58, 112, 0.16);
  padding-bottom: 16px;
}

.contact-info-list span {
  color: var(--gold-dark);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.contact-info-list a,
.contact-info-list p {
  color: #304762;
  font-weight: 800;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-socials a {
  background: rgba(22, 58, 112, 0.08);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
  padding: 9px 13px;
}


@media (max-width: 1024px) {
  .contact-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-form,
  .contact-info-panel {
    padding: 22px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}


/* Login Pages */
.login-body {
  background: linear-gradient(135deg, #F4F8FF, #FFFFFF 46%, #FFF7DF);
  min-height: 100vh;
}

.login-page {
  align-items: center;
  display: flex;
  min-height: 100vh;
  padding: 34px 24px;
  position: relative;
}

.login-page::before {
  background: radial-gradient(circle at 18% 20%, rgba(46, 204, 151, 0.16), transparent 28%), radial-gradient(circle at 82% 12%, rgba(245, 181, 18, 0.20), transparent 26%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.login-shell {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(360px, 480px) minmax(320px, 520px);
  margin: 0 auto;
  max-width: 1040px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.login-brand {
  grid-column: 1 / -1;
  justify-self: start;
}

.login-brand img {
  height: 58px;
  width: auto;
}

.login-card,
.login-side-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.login-card {
  background: rgba(255, 255, 255, 0.94);
  padding: 38px;
}

.login-card h1 {
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 14px;
}

.login-card p {
  color: #425873;
  font-weight: 700;
  margin-bottom: 26px;
}

.portal-login-form {
  display: grid;
  gap: 18px;
}

.portal-login-form label {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
}

.portal-login-form small {
  color: var(--gold-dark);
}

.portal-login-form input,
.portal-login-form select {
  background: var(--white);
  border: 1px solid rgba(22, 58, 112, 0.20);
  border-radius: 12px;
  color: var(--text);
  display: block;
  margin-top: 8px;
  min-height: 52px;
  padding: 0 15px;
  width: 100%;
}

.login-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.remember-check {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.remember-check input {
  display: inline-block;
  margin: 0;
  min-height: auto;
  width: auto;
}

.login-row a,
.login-footnote a {
  color: var(--navy);
  font-weight: 900;
}

.login-footnote {
  align-items: center;
  border-top: 1px solid rgba(22, 58, 112, 0.10);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
}

.login-footnote span {
  color: var(--muted);
  font-weight: 700;
}

.login-side-panel {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 42px;
  position: relative;
}

.login-side-panel::before,
.login-side-panel::after {
  border-radius: 50%;
  content: "";
  position: absolute;
}

.login-side-panel::before {
  background: rgba(46, 204, 151, 0.18);
  height: 180px;
  left: -70px;
  top: -60px;
  width: 180px;
}

.login-side-panel::after {
  background: rgba(255, 255, 255, 0.12);
  bottom: -95px;
  height: 260px;
  right: -75px;
  width: 260px;
}

.login-side-panel h2,
.login-side-panel ul {
  position: relative;
  z-index: 1;
}

.login-side-panel h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-bottom: 26px;
}

.login-side-panel ul {
  display: grid;
  gap: 14px;
  list-style: none;
}

.login-side-panel li {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
  padding: 14px 16px;
}

.admin-login-body {
  background: linear-gradient(135deg, #F8FAFF, #FFFFFF 42%, #EFF6FF);
}

.admin-login-card .eyebrow {
  color: var(--gold-dark);
}

.admin-side-panel {
  background: linear-gradient(135deg, #061832, #163A70);
}

.admin-corner-link {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(22, 58, 112, 0.16);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: var(--soft-shadow);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 9px 16px;
  position: fixed;
  right: 18px;
  z-index: 5;
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-side-panel {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .login-page {
    padding: 24px 16px;
  }

  .login-brand img {
    height: 44px;
    max-width: 240px;
  }

  .login-card,
  .login-side-panel {
    padding: 26px;
  }

  .login-row,
  .login-footnote {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-login-form .btn {
    width: 100%;
  }
}

/* Student Portal Dashboard Pages */

.admin-panel-body h2{
  font-family: "Nunito", Arial, Helvetica, sans-serif;
}

.admin-panel-body p{
  font-family: "Sora", Arial, Helvetica, sans-serif;
}

.dashboard-grid-two.lower-grid {
  margin-bottom: 24px;
}

.enrolled-title {
  color: var(--navy);
  font-size: 1.25rem;
}


.course-art {
  align-items: center;
  border-radius: 10px;
  color: var(--navy);
  display: flex;
  font-weight: 900;
  height: 88px;
  justify-content: center;
  margin-bottom: 12px;
}

.course-art.green { background: #DDF8EB; }
.course-art.purple { background: #ECE7FF; }
.course-art.gold { background: #FFF0C7; }
.course-art.pink { background: #FFE0E8; }
.course-art.blue { background: #DDECFF; }

.dot {
  border-radius: 50%;
  height: 10px;
  margin-top: 7px;
  width: 10px;
}

.gold-dot { background: var(--gold); }
.blue-dot { background: #2F6EEB; }
.green-dot { background: #20B56B; }
.pink-dot { background: #FF5E88; }

.course-card-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.course-card-actions a:last-child {
  border: 1px solid #9BB8F7;
  border-radius: 8px;
  color: #075FEA;
  font-weight: 900;
  padding: 11px 16px;
  text-align: center;
}

.course-art {
  border-radius: 9px;
  font-size: 0.86rem;
  height: 68px;
  margin-bottom: 10px;
}

.course-card-actions a:last-child {
  border-radius: 7px;
  font-size: 0.78rem;
  padding: 9px 12px;
}

/* Student Portal Materials & Profile Pages */
.materials-portal-title,
.profile-title {
  background: linear-gradient(135deg, #F7FAFF, #FFFFFF 55%, #EEF5FF);
}

.portal-material-filters {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.portal-material-filters > input,
.downloaded-panel input {
  border: 1px solid rgba(22, 58, 112, 0.16);
  border-radius: 9px;
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
}

.portal-filter-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.portal-filter-grid label,
.portal-materials-panel label {
  color: #536984;
  font-size: 0.84rem;
  font-weight: 800;
}

.portal-filter-grid select,
.portal-materials-panel select {
  border: 1px solid rgba(22, 58, 112, 0.16);
  border-radius: 8px;
  display: block;
  margin-top: 6px;
  min-height: 40px;
  padding: 0 10px;
  width: 100%;
}

.portal-subject-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 18px;
}

.portal-subject-strip article {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 12px;
  grid-template-columns: 58px 1fr;
  padding: 14px;
}

.portal-subject-strip .course-art {
  height: 54px;
  margin: 0;
}

.portal-subject-strip h3,
.portal-material-card h3 {
  color: var(--navy);
  font-size: 0.92rem;
}

.portal-subject-strip p,
.portal-material-card p,
.downloaded-panel p {
  color: #536984;
  font-size: 0.8rem;
  font-weight: 700;
}

.portal-material-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.portal-material-card {
  border: 1px solid rgba(22, 58, 112, 0.12);
  border-radius: 12px;
  padding: 12px;
}

.material-art {
  align-items: flex-start;
  border-radius: 10px;
  display: flex;
  height: 94px;
  padding: 10px;
}

.material-art b {
  background: #E11D2E;
  border-radius: 5px;
  color: var(--white);
  font-size: 0.7rem;
  padding: 4px 6px;
}

.material-art.purple { background: #EDE7FF; }
.material-art.green { background: #DDF8EB; }
.material-art.gold { background: #FFF0C7; }
.material-art.pink { background: #FFE0E8; }
.material-art.blue { background: #DDECFF; }

.portal-material-card h3 {
  margin-top: 12px;
}

.portal-material-card > span {
  background: #EAF1FF;
  border-radius: 6px;
  color: #075FEA;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 900;
  margin: 10px 0;
  padding: 5px 9px;
}

.portal-material-card > div:nth-of-type(2) {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}

.portal-material-card small {
  color: #304762;
  font-weight: 800;
}

.portal-material-card > div:last-child {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.portal-material-card a,
.show-more-materials,
.portal-download-table a {
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 9px 10px;
  text-align: center;
}

.portal-material-card a:first-child {
  border: 1px solid #9BB8F7;
  color: #075FEA;
}

.portal-material-card a:last-child,
.show-more-materials {
  background: #075FEA;
  border: 1px solid #075FEA;
  color: var(--white);
}

.show-more-materials {
  background: var(--white);
  color: #075FEA;
  display: block;
  margin: 18px auto 0;
  min-width: 210px;
}

.downloaded-panel {
  margin-top: 18px;
}

.portal-download-table {
  border-collapse: collapse;
  width: 100%;
}

.portal-download-table th,
.portal-download-table td {
  border-bottom: 1px solid rgba(22, 58, 112, 0.10);
  color: #304762;
  font-size: 0.84rem;
  padding: 13px 10px;
  text-align: left;
}

.portal-download-table th {
  color: var(--navy);
  font-weight: 900;
}

.portal-download-table td:first-child a {
  color: var(--navy);
  padding: 0;
  text-align: left;
}

.portal-download-table td:first-child small {
  color: #536984;
}

.portal-download-table td span,
.profile-pill,
.paid-pill {
  background: #EAF1FF;
  border-radius: 7px;
  color: #075FEA;
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 5px 10px;
}

.profile-summary-card {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 118px 1fr repeat(4, minmax(120px, 0.6fr));
  margin-bottom: 18px;
}

.profile-avatar {
  background: linear-gradient(135deg, #E5ECFA, #FFFFFF);
  border-radius: 50%;
  height: 106px;
  width: 106px;
}

.profile-summary-card h2 {
  color: var(--navy);
  font-size: 1.65rem;
}

.profile-summary-card > div:nth-child(2) span {
  background: #EAF1FF;
  border-radius: 7px;
  color: #075FEA;
  display: inline-block;
  font-weight: 900;
  margin-top: 8px;
  padding: 7px 10px;
}

.profile-summary-card article small,
.profile-info-card dt {
  color: #536984;
  font-weight: 800;
}

.profile-summary-card article strong,
.profile-info-card dd {
  color: var(--navy);
  font-weight: 900;
}

.profile-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.profile-info-card dl {
  display: grid;
  gap: 0;
}

.profile-info-card dl div {
  border-bottom: 1px dashed rgba(22, 58, 112, 0.14);
  display: grid;
  gap: 16px;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 10px 0;
}

.profile-info-card dl div:last-child {
  border-bottom: 0;
}

.profile-info-card button {
  background: var(--white);
  border: 1px solid #9BB8F7;
  border-radius: 8px;
  color: #075FEA;
  font-weight: 900;
  padding: 8px 14px;
}

.paid-pill {
  background: #DDF8EB;
  color: #087F5B;
}

.profile-settings-card a {
  border-bottom: 1px solid rgba(22, 58, 112, 0.12);
  color: #304762;
  display: block;
  font-weight: 900;
  padding: 16px 0;
}



@media (max-width: 1180px) {
  .portal-material-grid,
  .portal-subject-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-summary-card,
  .profile-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .portal-filter-grid,
  .portal-material-grid,
  .portal-subject-strip {
    grid-template-columns: 1fr;
  }

  .portal-download-table {
    display: block;
    overflow-x: auto;
  }
}

/* Admin Panel Pages */
.admin-panel-body {
  background: #F7FAFF;
  color: var(--text);
  min-height: 100vh;
}

.admin-panel-sidebar {
  background: linear-gradient(180deg, #062B5D, #001D43);
  bottom: 0;
  color: var(--white);
  left: 0;
  padding: 20px 14px;
  position: fixed;
  top: 0;
  width: 285px;
  z-index: 20;
}

.admin-panel-logo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
}

.admin-panel-logo img {
  height: 58px;
  object-fit: contain;
  width: 190px;
}

.admin-panel-nav {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.admin-panel-nav a {
  align-items: center;
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  font-size: 0.95rem;
  font-weight: 900;
  gap: 13px;
  padding: 14px 16px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.admin-panel-nav a:hover {
  transform: translateX(3px);
}

.admin-panel-nav a.active {
  background: linear-gradient(135deg, var(--gold), #FFC440);
  color: #071B3D;
}

.admin-panel-nav span {
  font-size: 1.25rem;
}

.admin-panel-logout {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 24px;
  padding-top: 22px !important;
}

.admin-panel-page {
  /* margin-left: 280px; */
  min-height: 100vh;
}

.admin-panel-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 78px;
  width: 100%;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 12;
}

.admin-user-chip {
  align-items: center;
  display: flex;
  gap: 12px;
}

.admin-user-chip > span {
  background: linear-gradient(135deg, #D9E6FF, #FFFFFF);
  border-radius: 50%;
  height: 46px;
  width: 46px;
}

.admin-user-chip strong,
.admin-user-chip small {
  display: block;
}

.admin-user-chip strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.admin-user-chip small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}


.admin-panel-main {
  padding: 28px 32px 38px;
}

.admin-page-heading {
  margin-bottom: 24px;
}

.admin-page-heading h1 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.admin-page-heading p {
  color: #40536E;
  font-weight: 700;
  margin-top: 6px;
}

.admin-stat-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.admin-stat-grid article,
.admin-panel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
}

.admin-stat-grid article {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 72px 1fr;
  min-height: 128px;
  padding: 24px;
}

.admin-stat-grid article > span {
  align-items: center;
  border-radius: 50%;
  display: flex;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 900;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.admin-stat-grid .purple { background: #EEE5FF; color: #6F35D8; }
.admin-stat-grid .green { background: #DDF8EB; color: #087F5B; }
.admin-stat-grid .blue { background: #DDECFF; color: #075FEA; }
.admin-stat-grid .orange { background: #FFEBD7; color: #F26A05; }

.admin-stat-grid p {
  color: #536984;
  font-weight: 900;
}

.admin-stat-grid h2 {
  color: var(--navy);
  font-size: 2rem;
}

.admin-stat-grid a {
  color: #075FEA;
  display: inline-block;
  font-weight: 900;
  margin-top: 8px;
}

.admin-dashboard-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  margin-bottom: 24px;
}

.admin-panel-card {
  overflow: hidden;
  padding: 22px;
}

.admin-card-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-card-heading h2 {
  color: var(--navy);
  font-size: 1.18rem;
}

.admin-card-heading p {
  color: #536984;
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-card-heading a,
.admin-card-heading button,
.admin-table button,
.admin-add-btn {
  cursor: pointer;
  font-weight: 900;
}

.admin-card-heading a {
  border: 1px solid rgba(22, 58, 112, 0.16);
  border-radius: 7px;
  color: #075FEA;
  padding: 9px 13px;
}

.admin-table {
  border-collapse: collapse;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(22, 58, 112, 0.10);
  color: var(--navy);
  font-size: 0.86rem;
  padding: 13px 10px;
  text-align: left;
}

.admin-table th {
  background: #FAFBFE;
  color: #40536E;
  font-weight: 900;
}

.admin-table button {
  background: var(--white);
  border: 1px solid #9BB8F7;
  border-radius: 7px;
  color: #075FEA;
  font-size: 0.78rem;
  margin-right: 6px;
  padding: 7px 9px;
}

.admin-table button.delete {
  border-color: #FFC0C8;
  color: #E11D2E;
}

.admin-status {
  border-radius: 8px;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
}

.admin-status.confirmed {
  background: #DDF8EB;
  color: #087F5B;
}

.admin-status.pending {
  background: #FFF0D8;
  color: #D96300;
}

.admin-activity-list {
  display: grid;
  gap: 12px;
}

.admin-activity-list article {
  border-bottom: 1px solid rgba(22, 58, 112, 0.10);
  display: grid;
  gap: 12px;
  grid-template-columns: 12px 1fr auto;
  padding: 10px 0;
}

.admin-activity-list strong,
.admin-activity-list time {
  color: var(--navy);
  font-weight: 900;
}

.admin-activity-list p,
.admin-activity-list time {
  color: #536984;
  font-size: 0.84rem;
}

.admin-quick-actions > div {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.admin-quick-actions a {
  background: linear-gradient(135deg, #F3F7FF, #FFFFFF);
  border: 1px solid rgba(22, 58, 112, 0.10);
  border-radius: 14px;
  color: var(--navy);
  display: grid;
  font-weight: 900;
  gap: 6px;
  padding: 22px;
}

.admin-quick-actions span {
  color: #536984;
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-management-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}

.admin-add-btn {
  background: #6738D8;
  border: 0;
  border-radius: 7px;
  color: var(--white);
  padding: 10px 14px;
}

.admin-fees-card {
  padding: 24px;
}

.fees-table th,
.fees-table td {
  text-align: center;
}

.fees-table th:first-child,
.fees-table td:first-child {
  text-align: left;
}

@media (max-width: 1180px) {
  .admin-stat-grid,
  .admin-stat-grid.admin-three,
  .admin-dashboard-grid,
  .admin-management-grid,
  .admin-quick-actions > div {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .admin-panel-sidebar {
    position: static;
    width: auto;
  }

  .admin-panel-page {
    margin-left: 0;
  }

  .admin-panel-topbar {
    height: auto;
    padding: 16px;
  }

  .admin-panel-main {
    padding: 18px;
  }

  .admin-stat-grid,
  .admin-stat-grid.admin-three,
  .admin-dashboard-grid,
  .admin-management-grid,
  .admin-quick-actions > div {
    grid-template-columns: 1fr;
  }

  .admin-table-card,
  .admin-fees-card {
    overflow-x: auto;
  }
}

.profile-summary-card,
.profile-info-card,
.profile-settings-card {
  animation: studentReveal 620ms ease both;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.profile-summary-card:hover,
.profile-info-card:hover,
.profile-settings-card:hover {
  border-color: rgba(22, 58, 112, 0.18);
  box-shadow: 0 16px 38px rgba(22, 58, 112, 0.10);
  transform: translateY(-3px);
}

@keyframes studentReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.enrolled-course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-summary-card {
  gap: 18px;
  grid-template-columns: 92px 1.2fr repeat(4, minmax(110px, 0.7fr));
  padding: 18px;
}

.profile-avatar {
  height: 82px;
  width: 82px;
}

.profile-name-block h2,
.profile-summary-card h2 {
  font-size: 1.36rem;
}

.profile-summary-card article {
  border-left: 1px solid rgba(22, 58, 112, 0.12);
  display: grid;
  gap: 5px;
  justify-items: start;
  min-height: 78px;
  padding-left: 18px;
}

.profile-summary-card article small {
  font-size: 0.78rem;
}

.profile-summary-card article strong {
  font-size: 0.9rem;
}

.profile-summary-icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  font-size: 0;
  height: 32px;
  justify-content: center;
  margin-bottom: 2px;
  width: 32px;
}

.profile-summary-icon::before {
  font-size: 0.9rem;
  font-weight: 900;
}

.profile-summary-icon.purple { background: #EEE8FF; color: #6D4BEF; }
.profile-summary-icon.green { background: #DDF8EA; color: #14945E; }
.profile-summary-icon.orange { background: #FFEAD3; color: #F08A1A; }
.profile-summary-icon.blue { background: #E5F0FF; color: #236BEF; }
.profile-summary-icon.purple::before { content: 'C'; }
.profile-summary-icon.green::before { content: 'B'; }
.profile-summary-icon.orange::before { content: 'M'; }
.profile-summary-icon.blue::before { content: 'D'; }

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

@media (max-width: 1180px) {
  
  .enrolled-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-summary-card {
    grid-template-columns: 82px 1fr repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 900px) {
  .profile-summary-card,
  .profile-card-grid {
    grid-template-columns: 1fr;
  }

  .profile-summary-card article {
    border-left: 0;
    border-top: 1px solid rgba(22, 58, 112, 0.10);
    padding-left: 0;
    padding-top: 12px;
  }
}

@media (max-width: 640px) {
    .enrolled-course-grid{
    grid-template-columns: 1fr;
  }
}


.admin-top-links a.active::after {
  background: var(--gold);
  border-radius: 999px;
  bottom: 0;
  content: '';
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 74%;
}

.admin-top-links {
  align-items: center;
  display: flex;
  gap: 6px;
  height: 100%;
}

.admin-top-links a {
  align-items: center;
  justify-content: left;
  color: var(--navy);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 900;
  height: 100%;
  position: relative;
}

.admin-top-links a:hover {
  color: var(--gold-dark);
}

.admin-panel-sidebar {
  width: min(19vw, 248px);
  min-width: 218px;
  padding: 18px 14px;
}

.admin-panel-logo span {
  font-size: 0.86rem;
}

.admin-panel-nav {
  gap: 8px;
}

.admin-panel-nav a {
  border-radius: 11px;
  font-size: 0.9rem;
  gap: 10px;
  padding: 12px 14px;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.admin-panel-nav a:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateX(3px);
}

.admin-panel-topbar {
  height: 72px;
  justify-content: space-between;
  padding: 0 clamp(18px, 3vw, 42px);
}

.admin-panel-main {
  padding: 20px clamp(18px, 3vw, 38px) 24px;
}

.admin-page-heading {
  margin-bottom: 18px;
}

.admin-page-heading p,
.admin-table,
.admin-panel-card p,
.admin-stat-grid article p,
.admin-user-chip small {
  font-size: 0.82rem;
}

.admin-stat-grid article,
.admin-panel-card,
.admin-management-grid > article,
.admin-fees-card {
  animation: studentReveal 620ms ease both;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(22, 58, 112, 0.07);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.admin-stat-grid article:hover,
.admin-panel-card:hover,
.admin-management-grid > article:hover,
.admin-fees-card:hover {
  border-color: rgba(22, 58, 112, 0.18);
  box-shadow: 0 16px 38px rgba(22, 58, 112, 0.10);
  transform: translateY(-3px);
}

.admin-stat-grid article {
  min-height: 106px;
  padding: 18px;
}

.admin-stat-grid article > span {
  border-radius: 13px;
  font-size: 0.86rem;
  height: 48px;
  width: 48px;
}

.admin-stat-grid article h2 {
  font-size: 1.55rem;
}

.admin-dashboard-grid {
  gap: 16px;
}

.admin-panel-card,
.admin-management-grid > article,
.admin-fees-card {
  padding: 16px;
}

.admin-panel-card h2,
.admin-management-grid h2,
.admin-fees-card h2 {
  font-size: 1.04rem;
}

.admin-table th,
.admin-table td {
  padding: 10px 9px;
}

.admin-table th {
  font-size: 0.76rem;
}

.admin-status {
  border-radius: 8px;
  font-size: 0.72rem;
  padding: 6px 9px;
}

.admin-activity-list li,
.admin-quick-actions a {
  border-radius: 10px;
  padding: 11px;
}

.admin-quick-actions {
  gap: 12px;
}

.admin-management-grid {
  gap: 16px;
}

.admin-add-btn {
  border-radius: 8px;
  font-size: 0.78rem;
  padding: 8px 11px;
}

@media (max-width: 1180px) {

  .admin-stat-grid,
  .admin-dashboard-grid,
  .admin-management-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-panel-page {
    margin-left: 0;
  }

  .admin-panel-topbar {
    flex-wrap: wrap;
    height: auto;
    min-height: 72px;
    padding: 14px 18px;
  }

  .admin-top-links {
    min-height: 42px;
  }
}

@media (max-width: 640px) {
  .admin-stat-grid,
  .admin-dashboard-grid,
  .admin-management-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 14px;
    gap:10px;
}

  .admin-panel-logo img{
    width: 120px;
    height: auto;
  }

.admin-top-links{
    flex:1;
    display:flex;
    justify-content:center;
}

.admin-top-links a{
    font-size:12px;
    font-weight:600;
}

.admin-user-chip{
    flex:0 0 auto;
    gap:6px;
}

.admin-user-chip span{
    width:30px;
    height:30px;
}

.admin-user-chip strong{
    font-size:11px;
}

.admin-user-chip small{
    display:none;
}

.admin-stat-grid article p {
  font-size: 0.7rem;
}

.admin-stat-grid article h2 {
  font-size: 1.33rem;
}
.admin-page-heading h1 {
  font-size: 1.45rem;
}
.admin-page-heading p {
  font-size: 0.75rem;
}

}


/* Admin Enrollment Study Pages - July 2026 */

.admin-panel-body.admin-sidebar-open .admin-sidebar-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.admin-panel-body.admin-sidebar-open .admin-sidebar-toggle span:nth-child(2) {
  opacity: 0;
}

.admin-panel-body.admin-sidebar-open .admin-sidebar-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.admin-panel-body.admin-sidebar-open::before {
  background: rgba(5, 18, 38, 0.48);
  content: '';
  inset: 0;
  position: fixed;
  z-index: 78;
}

.admin-filter-panel {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.35fr repeat(4, minmax(135px, 1fr));
  margin-bottom: 18px;
}

.materials-filter-panel {
  grid-template-columns: 1.35fr repeat(4, minmax(135px, 1fr));
}

.admin-filter-panel label,
.admin-modal-form label {
  color: var(--navy);
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 7px;
}

.admin-filter-panel input,
.admin-filter-panel select,
.admin-modal-form input,
.admin-modal-form select,
.admin-modal-form textarea {
  background: var(--white);
  border: 1px solid rgba(22, 58, 112, 0.16);
  border-radius: 8px;
  color: var(--navy);
  font: inherit;
  min-height: 40px;
  padding: 0 12px;
  width: 100%;
}

.admin-modal-form textarea {
  min-height: 98px;
  padding-top: 10px;
  resize: vertical;
}

.admin-filter-actions {
  align-self: end;
  display: flex;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.admin-filter-actions button,
.admin-table-footer button,
.admin-modal-form button.primary {
  background: var(--white);
  border: 1px solid rgba(22, 58, 112, 0.16);
  border-radius: 8px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  min-height: 38px;
  padding: 0 16px;
}

.admin-filter-actions .primary,
.admin-modal-form button.primary,
.admin-table-footer button.active {
  background: linear-gradient(135deg, #6F3FF5, #3B1DD4);
  border-color: transparent;
  color: var(--white);
}

.admin-wide-table {
  overflow-x: auto;
}

.admin-wide-table .admin-table {
  min-width: 1080px;
}

.admin-icon-btn,
.admin-table button.admin-icon-btn {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 0.92rem;
  height: 30px;
  justify-content: center;
  margin-right: 5px;
  padding: 0;
  width: 30px;
}

.admin-icon-btn.view,
.admin-icon-btn.edit {
  border-color: #A9C3FB;
  color: #075FEA;
}

.admin-icon-btn.delete {
  border-color: #FFC0C8;
  color: #E11D2E;
}

.admin-status-select {
  border: 1px solid rgba(22, 58, 112, 0.16);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  min-height: 30px;
  padding: 0 8px;
}

.admin-status-select.pending { background: #FFF5E8; color: #E67B00; }
.admin-status-select.approved { background: #E9F9F0; color: #0B8A4A; }
.admin-status-select.demo { background: #EAF1FF; color: #075FEA; }

.admin-badge {
  border-radius: 7px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 9px;
}

.admin-badge.purple { background: #EEE8FF; color: #6438E8; }
.admin-badge.green { background: #E5F8EF; color: #0C8A4F; }
.admin-badge.blue { background: #E6F0FF; color: #075FEA; }
.admin-badge.orange { background: #FFF2DF; color: #E67B00; }

.pdf-mark {
  border: 1px solid #FF9BA5;
  border-radius: 5px;
  color: #E11D2E;
  display: inline-flex;
  font-size: 0.64rem;
  font-weight: 900;
  margin-right: 10px;
  padding: 4px 5px;
}

.admin-table-footer {
  align-items: center;
  color: #536984;
  display: flex;
  font-size: 0.82rem;
  justify-content: space-between;
  padding-top: 14px;
}

.admin-table-footer div {
  display: flex;
  gap: 8px;
}

.admin-page-heading-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.admin-page-heading-row .admin-add-btn {
  background: linear-gradient(135deg, #6F3FF5, #3B1DD4);
  border-color: transparent;
  color: var(--white);
  min-height: 42px;
}

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

.admin-modal {
  align-items: center;
  background: rgba(5, 18, 38, 0.56);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 120;
}

.admin-modal-box {
  animation: studentReveal 320ms ease both;
  background: var(--white);
  border: 1px solid rgba(22, 58, 112, 0.14);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(4, 22, 48, 0.24);
  max-height: 88vh;
  max-width: 720px;
  overflow: auto;
  padding: 24px;
  position: relative;
  width: min(92vw, 720px);
}

.admin-modal-large {
  height: min(80vh, 760px);
  width: min(80vw, 980px);
  max-width: 980px;
}

.admin-modal-box h2 {
  color: var(--navy);
  font-size: 1.28rem;
  margin-bottom: 18px;
}

.admin-modal-close {
  align-items: center;
  background: #F4F7FC;
  border: 1px solid rgba(22, 58, 112, 0.12);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  font-size: 1.2rem;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
}

.admin-detail-grid,
.admin-modal-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-detail-grid div {
  border-bottom: 1px dashed rgba(22, 58, 112, 0.13);
  padding-bottom: 10px;
}

.admin-detail-grid dt {
  color: #536984;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-detail-grid dd {
  color: var(--navy);
  font-weight: 900;
  margin: 4px 0 0;
}

.admin-modal-form .full {
  grid-column: 1 / -1;
}

@media (max-width: 1180px) {
  .admin-filter-panel,
  .materials-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-sidebar-toggle {
    display: inline-flex;
  }

  .admin-panel-sidebar {
    bottom: 0;
    box-shadow: 18px 0 44px rgba(4, 22, 48, 0.28);
    left: 0;
    max-width: 330px;
    min-height: 100vh;
    min-width: 0;
    overflow-y: auto;
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: transform 280ms ease;
    width: min(82vw, 330px);
    z-index: 90;
  }

  .admin-panel-body.admin-sidebar-open .admin-panel-sidebar {
    transform: translateX(0);
  }

  .admin-panel-page {
    margin-left: 0;
  }

  .admin-panel-topbar {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    justify-content: flex-start;
  }

  .admin-user-chip {
    margin-left: auto;
  }

  .admin-page-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .admin-modal-large {
    height: 88vh;
    width: 94vw;
  }
}

@media (max-width: 640px) {
  .materials-filter-panel,
  .admin-detail-grid,
  .admin-modal-form {
    grid-template-columns: 1fr;
  }
  .admin-filter-panel{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }
  .admin-filter-panel label{
    font-size:12px;
    font-weight:600;
  }

  .admin-filter-panel input,
  .admin-filter-panel select{
    height:42px;
    font-size:13px;
    padding:0 12px;
  }
  .admin-table-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .admin-user-chip small {
    display: none;
  }
}

/* Website Management and Signup Pages - July 2026 */
.website-stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.website-tabs-card {
  padding: 0;
  overflow: hidden;
}

.website-tab-nav {
  border-bottom: 1px solid rgba(22, 58, 112, 0.10);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.website-tab-nav a {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
  padding: 16px 18px;
  position: relative;
  text-align: center;
}

.website-tab-nav a.active::after {
  background: #6F3FF5;
  bottom: 0;
  content: '';
  height: 3px;
  left: 18px;
  position: absolute;
  right: 18px;
}

.website-management-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.website-edit-card {
  padding: 18px;
}

.website-edit-card + .website-edit-card {
  border-left: 1px solid rgba(22, 58, 112, 0.10);
}

.website-form {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.website-form label {
  color: var(--navy);
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 7px;
}

.website-form input,
.website-form textarea {
  background: #FAFCFF;
  border: 1px solid rgba(22, 58, 112, 0.15);
  border-radius: 8px;
  color: var(--navy);
  font: inherit;
  min-height: 38px;
  padding: 0 11px;
  width: 100%;
}

.website-form textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}

.website-form input:not([readonly]),
.website-form textarea:not([readonly]) {
  background: var(--white);
  border-color: #6F3FF5;
  box-shadow: 0 0 0 3px rgba(111, 63, 245, 0.08);
}

.website-form .full,
.website-edit-actions {
  grid-column: 1 / -1;
}

.website-edit-actions {
  display: none;
  gap: 10px;
  justify-content: flex-end;
}

.website-form.is-editing .website-edit-actions {
  display: flex;
}

.website-edit-actions button,
.website-edit-toggle {
  border: 1px solid #B8C9F4;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  min-height: 36px;
  padding: 0 13px;
}

.website-edit-actions .primary {
  background: #6F3FF5;
  border-color: #6F3FF5;
  color: var(--white);
}

.website-edit-actions .discard,
.website-edit-toggle {
  background: var(--white);
  color: #075FEA;
}

.website-lower-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 1.1fr;
  margin-top: 16px;
}

.website-lower-grid > article {
  animation: studentReveal 620ms ease both;
}

.gallery-admin-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  margin: 14px 0;
}

.gallery-admin-grid figure {
  background: #F6F9FF;
  border: 1px solid rgba(22, 58, 112, 0.10);
  border-radius: 10px;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 8px;
}

.gallery-admin-grid figure div {
  align-items: center;
  aspect-ratio: 1 / 0.75;
  background: linear-gradient(135deg, #DCEAFF, #FFF4DA);
  border-radius: 8px;
  color: #486078;
  display: flex;
  font-size: 0.78rem;
  font-weight: 900;
  justify-content: center;
}

.gallery-admin-grid figcaption {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.gallery-admin-grid button {
  background: var(--white);
  border: 1px solid rgba(22, 58, 112, 0.14);
  border-radius: 7px;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  min-height: 28px;
}

.gallery-admin-grid button.delete {
  border-color: #FFC0C8;
  color: #E11D2E;
}

.website-mini-table {
  min-width: 0;
}

.signup-shell {
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  max-width: 1160px;
}

.signup-card {
  padding: 34px;
}

.signup-card h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
}

.signup-form em {
  color: #657487;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
}

.password-fields {
  display: grid;
  gap: 18px;
}

.signup-form.is-google-mode .password-fields {
  display: none;
}

.code-input-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
}

.code-input-row button,
.google-signup-btn {
  background: var(--white);
  border: 1px solid rgba(22, 58, 112, 0.18);
  border-radius: 12px;
  color: #2A51D6;
  cursor: pointer;
  font-weight: 900;
  padding: 0 16px;
}

.signup-divider {
  align-items: center;
  color: #8A98AA;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto 1fr;
  margin: 22px 0 18px;
}

.signup-divider span {
  background: rgba(22, 58, 112, 0.12);
  height: 1px;
}

.google-signup-btn {
  align-items: center;
  color: var(--navy);
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 48px;
  width: 100%;
}

.google-signup-btn strong {
  color: #DB4437;
  font-size: 1.25rem;
}

.signup-side-panel li {
  align-items: center;
  display: flex;
  gap: 12px;
}

.signup-side-panel li::before {
  align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  content: '✓';
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

@media (max-width: 1180px) {
  .website-lower-grid,
  .website-management-grid {
    grid-template-columns: 1fr;
  }

  .website-edit-card + .website-edit-card {
    border-left: 0;
    border-top: 1px solid rgba(22, 58, 112, 0.10);
  }

  .gallery-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .website-stat-row,
  .website-tab-nav {
    grid-template-columns: 1fr 1fr;
  }

  .signup-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .website-form,
  .website-stat-row,
  .gallery-admin-grid,
  .website-tab-nav {
    grid-template-columns: 1fr;
  }

  .code-input-row {
    grid-template-columns: 1fr;
  }
}

/* Global Card Gradient Polish - July 2026 */
:root {
  --card-blue-wash: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(247,251,255,0.98) 48%, rgba(232,243,255,0.86) 100%);
  --card-green-wash: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(250,255,252,0.96) 48%, rgba(226,250,239,0.78) 100%);
  --card-yellow-wash: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,253,247,0.96) 48%, rgba(255,244,210,0.82) 100%);
  --card-portal-wash: linear-gradient(135deg, rgba(255,255,255,0.99) 0%, rgba(247,251,255,0.96) 50%, rgba(232,246,255,0.82) 100%);
  --card-portal-green-wash: linear-gradient(135deg, rgba(255,255,255,0.99) 0%, rgba(248,253,250,0.96) 54%, rgba(226,248,238,0.78) 100%);
  --card-portal-warm-wash: linear-gradient(135deg, rgba(255,255,255,0.99) 0%, rgba(255,250,250,0.96) 52%, rgba(255,235,235,0.70) 100%);
}

.hero-note.glass-card {
  animation: demoFloat 1.8s ease-in-out infinite;
  background: linear-gradient(135deg, rgba(255,255,255,0.86), rgba(232,243,255,0.66), rgba(230,250,241,0.58));
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 18px 48px rgba(22, 58, 112, 0.18);
}

@keyframes demoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.home-page .feature-card,
.home-page .course-card,
.home-page .step-card,
.about-page .approach-card,
.about-page .reason-panel,
.about-page .method-steps article,
.about-page {
  background: var(--card-blue-wash);
}

.home-page .feature-card:nth-child(even),
.home-page .course-card:nth-child(even),
.home-page .step-card:nth-child(even),
.about-page .reason-panel article:nth-child(even) {
  background: var(--card-green-wash);
}

.curriculum-card,
.class-card,
.course-benefit,
.learning-mode-strip article,
.materials-search,
.materials-filters,
.material-card,
.fee-plan-card,
.mode-price-card,
.included-grid article,
.payment-card {
  background: var(--card-green-wash);
}

.curriculum-card:nth-child(odd),
.class-card:nth-child(odd),
.course-benefit:nth-child(odd),
.material-card:nth-child(odd),
.fee-plan-card:nth-child(odd),
.mode-price-card:nth-child(odd),
.included-grid article:nth-child(odd),
.payment-card:nth-child(odd) {
  background: var(--card-yellow-wash);
}

.enrollment-form-card,
.enrollment-summary,
.gallery-card,
.testimonial-card,
.contact-card,
.contact-form-card,
.faq-card,
.login-card {
  background: var(--card-blue-wash);
}

.portal-material-card,
.profile-summary-card,
.profile-info-card,
.profile-settings-card,
.portal-download-panel,
.downloaded-panel {
  background: var(--card-portal-wash);
}

.portal-material-card:nth-child(even),
.profile-info-card:nth-child(even) {
  background: var(--card-portal-green-wash);
}

.admin-stat-grid article,
.admin-panel-card,
.admin-management-grid > article,
.admin-fees-card,
.website-edit-card,
.website-gallery-card,
.website-testimonial-card,
.website-social-card,
.admin-filter-panel {
  background: var(--card-portal-wash);
}

.admin-stat-grid article:nth-child(even),
.admin-management-grid > article:nth-child(even),
.website-lower-grid > article:nth-child(even) {
  background: var(--card-portal-green-wash);
}

.admin-stat-grid article:nth-child(4n){
  background: var(--card-portal-warm-wash);
}

.feature-card,
.course-card,
.step-card,
.curriculum-card,
.class-card,
.course-benefit,
.material-card,
.fee-plan-card,
.mode-price-card,
.payment-card,
.admin-panel-card,
.admin-stat-grid article {
  background-clip: padding-box;
}

/* Homepage Hologram Card Hover - July 2026 */
.home-page .feature-card,
.home-page .course-card,
.home-page .step-card {
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
  z-index: 0;
}

.home-page .feature-card > *,
.home-page .course-card > *,
.home-page .step-card > * {
  position: relative;
  z-index: 2;
}

.home-page .feature-card::before,
.home-page .course-card::before,
.home-page .step-card::before {
  background: linear-gradient(
    0deg,
    transparent,
    transparent 28%,
    rgba(46, 204, 151, 0.18),
    rgba(0, 208, 255, 0.30),
    rgba(245, 181, 18, 0.16),
    transparent 72%
  );
  content: "";
  height: 210%;
  left: -60%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: -60%;
  transform: rotate(-45deg) translateY(-40%);
  transition: opacity 420ms ease, transform 650ms ease;
  width: 220%;
  z-index: 1;
}

.home-page .feature-card::after,
.home-page .course-card::after,
.home-page .step-card::after {
  background: radial-gradient(circle at 50% 0%, rgba(0, 208, 255, 0.14), transparent 42%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 420ms ease;
  z-index: 1;
}

.home-page .feature-card:hover,
.home-page .course-card:hover,
.home-page .step-card:hover {
  border-color: rgba(0, 208, 255, 0.42);
  box-shadow: 0 18px 44px rgba(0, 208, 255, 0.20), 0 10px 28px rgba(22, 58, 112, 0.12);
  transform: translateY(-8px) scale(1.025);
}

.home-page .feature-card:hover::before,
.home-page .course-card:hover::before,
.home-page .step-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(96%);
}

.home-page .feature-card:hover::after,
.home-page .course-card:hover::after,
.home-page .step-card:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .home-page .feature-card::before,
  .home-page .course-card::before,
  .home-page .step-card::before {
    transition: none;
  }

  .home-page .feature-card:hover,
  .home-page .course-card:hover,
  .home-page .step-card:hover {
    transform: none;
  }
}

/* Enrollment Final Action Buttons - July 2026 */
.form-navigation {
  align-items: center;
  gap: 14px;
}

.form-navigation #bookDemoEnrollment,
.form-navigation #submitEnrollment {
  min-width: 170px;
}

.form-navigation .demo-submit-btn {
  background: linear-gradient(135deg, #163A70, #2A8FBF);
  color: var(--white);
}

@media (max-width: 760px) {
  .form-navigation #bookDemoEnrollment,
  .form-navigation #submitEnrollment {
    width: 100%;
  }
}

.view-modal{
    width:min(900px,92%);
    max-height:85vh;
    overflow-y:auto;
    border-radius:18px;
    padding-right:10px;
    box-sizing:border-box;
}
.view-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:20px;
}

.view-card{
    background:#fff;
    border:1px solid #e7e7e7;
    border-radius:14px;
    padding:20px;
}

.view-card h3{
    margin-bottom:16px;
    color:#163A70;
}

.view-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:10px 0;
    border-bottom:1px solid #f1f1f1;
}

.view-row span{
    color:#777;
}

.view-row strong{
    text-align:right;
}

.full-width{
    grid-column:1 / -1;
    margin-top:8px;
}
.view-card p{
    margin:0;
    line-height:1.8;
    color:#555;
}
.view-modal::-webkit-scrollbar{
    width:10px;
}

.view-modal::-webkit-scrollbar-track{
    background:transparent;
    margin:14px 0;
}

.view-modal::-webkit-scrollbar-thumb{
    background:#163A70;
    border-radius:20px;
    border:2px solid transparent;
    background-clip:content-box;
}

.view-modal::-webkit-scrollbar-thumb:hover{
    background:#c7d4e8;
    background-clip:content-box;
}

.bottom-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    grid-column:1/-1;
}

.message-box{
    background:#f8fafc;
    border:1px solid #e7edf7;
    border-radius:12px;
    padding:16px;
    min-height:180px;
    line-height:1.8;
    color:#555;
    white-space:pre-wrap;
    word-break:break-word;
}
@media (max-width:768px){
.bottom-grid{
    grid-template-columns:1fr;
}
}
.table-loader{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:40px 0;
}

.loader{
    width:42px;
    height:42px;
    border:4px solid #E5E7EB;
    border-top:4px solid #2563EB;
    border-radius:50%;
    animation:spin .8s linear infinite;
    margin-bottom:15px;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}
/* ===========================
   EDIT ENROLLMENT MODAL
=========================== */

#enrollmentEditModal .admin-modal-content{
    max-width:1050px;
    width:95%;
    border-radius:18px;
    padding:8px;
    margin-top: 42px;
}

#enrollmentEditModal .view-grid{
    gap:22px;
}

#enrollmentEditModal .view-card{
    background:#ffffff;
    border:1px solid #E6EBF2;
    border-radius:16px;
    padding:16px;
    box-shadow:0 8px 24px rgba(0,0,0,.05);
}

#enrollmentEditModal .view-card h3{
    font-size:18px;
    font-weight:700;
    color:#163A70;
    margin-bottom:18px;
}

#enrollmentEditModal label{
    display:flex;
    flex-direction:column;
    gap:6px;
    font-size:.85rem;
    font-weight:600;
    color:#596273;
    margin-bottom:14px;
}

#enrollmentEditModal input,
#enrollmentEditModal select,
#enrollmentEditModal textarea{

    width:100%;
    padding:12px 14px;
    border:1px solid #D6DCE8;
    border-radius:12px;
    background:#FAFBFD;
    font-size:.92rem;
    transition:.25s;
}

#enrollmentEditModal input:focus,
#enrollmentEditModal select:focus,
#enrollmentEditModal textarea:focus{

    outline:none;

    border-color:#1E40AF;

    background:#fff;

    box-shadow:0 0 0 4px rgba(30,64,175,.12);
}

#enrollmentEditModal textarea{

    min-height:180px;
    resize:vertical;
}

#enrollmentEditModal .btn{

    min-width:140px;
    height:46px;

    border-radius:12px;
}

#enrollmentEditModal .btn-secondary{

    background:#fff;
    color:#555;
    border:1px solid #D6DCE8;
}

#enrollmentEditModal .btn-secondary:hover{

    background:#F3F6FA;
}

#enrollmentEditModal .btn-primary{

    background:#163A70;
    border:none;
}

#enrollmentEditModal .btn-primary:hover{

    background:#0F2C57;
}
.edit-modal-actions{
    display:flex;
    justify-content:flex-end;
    gap:15px;
    margin-top:25px;
}
/* 15/7 */
@media (max-width:640px){

.admin-top-links span.active{
    display:none;
}

}
@media (max-width:640px){

.admin-stat-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.admin-stat-grid article{
    min-width:0;
}

.admin-stat-grid article{
    grid-template-columns:42px 1fr;
    gap:8px;
    padding:12px;
    min-height:88px;
    align-items:center;
}

.admin-stat-grid article>span{
    width:42px;
    height:42px;
    font-size:13px;
    border-radius:12px;
}

.admin-stat-grid h2{
    font-size:1.45rem;
    line-height:1;
    margin-top:2px;
}

.admin-stat-grid p{
    font-size:.68rem;
    line-height:1.2;
    font-weight:700;
}
.admin-stat-grid a{
    display:none;
}
}
@media (max-width:640px){
.admin-filter-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
}

/* Looking goo till here */

/* ==========================================================
   MANAGE ENROLLMENTS MODALS - MOBILE RESPONSIVE
   ========================================================== */

@media (max-width:768px){

    /* Overlay */
    .admin-modal{
        padding:12px;
        align-items:center;
        justify-content:center;
        overflow-y:auto;
    }

    /* Popup */
    .admin-modal-content.view-modal{
        width:100%;
        max-width:100%;
        max-height:92vh;
        overflow:hidden;
        border-radius:16px;
        display:flex;
        flex-direction:column;
    }

    /* Header */
    .admin-modal-header{
        padding:16px 12px;
        border-radius: 16px;
        margin-bottom: 8px;
        margin-top: 8px;
        flex-shrink:0;
        position:sticky;
        top:0;
        background:#fff;
        z-index:5;
        border-bottom:1px solid #E7ECF5;
    }

    .admin-modal-header h2{
        font-size: 16px;
        line-height: 1.3;
    }

    .admin-modal-close{
        width:34px;
        height:34px;
        font-size:22px;
        flex-shrink:0;
    }

    /* Body */
    .admin-modal-body{
        flex:1;
        overflow-y:auto;
        padding:16px;
        overflow-x:hidden;
    }

    /* Edit form */
    #editEnrollmentForm{
        overflow-y:auto;
        overflow-x:hidden;
        padding:0;
        flex:1;
    }

    /* Main Grid */
    .view-grid{
        display:grid;
        grid-template-columns:1fr !important;
        gap:16px;
    }

    .bottom-grid{
        display:grid;
        grid-template-columns:1fr !important;
        gap:16px;
    }

    /* Cards */
    .view-card{
        padding:16px;
        border-radius:14px;
    }

    .view-card h3{
        font-size:1rem;
        margin-bottom:14px;
    }

    /* Labels */
    .view-card label, #editEnrollmentForm label{
        display:block;
        font-size:.7rem;
        margin-bottom: 6px;
    }

    /* Inputs */
    .view-card select,
    .view-card textarea{
        width:100%;
        font-size:.88rem;
        min-height:42px;
        margin-top:6px;
        padding:10px 12px;
    }
    .view-card input, #editEnrollmentForm input{
        width:100%;
        font-size: 12px;
        min-height:36px;
        margin-top:6px;
        padding:10px 12px;
    }
    .view-card textarea{
        min-height:120px;
    }

    /* View Details rows */
    .detail-row{
        display:grid;
        grid-template-columns:90px 1fr;
        gap:10px;
        padding:10px 0;
        font-size:.85rem;
    }

    .detail-row strong{
        word-break:break-word;
    }

    /* Buttons */
    .edit-modal-actions{
      display:flex;
      flex-direction:row;
      gap:10px;
      margin-top:18px;
      padding:16px;
    }

    .edit-modal-actions .btn{
      flex: 1;  
      min-height:44px;
      font-size:.88rem;
    }
    .admin-modal-content.view-modal{
    width:96vw;
    max-width:96vw;
    height:90vh;
    max-height:90vh;
    overflow:hidden;
    border-radius:16px;
    display:flex;
    flex-direction:column;
}
.admin-filter-actions button {
  font-size: 12px;
}
/* #enrollmentEditForm label {
  font-size: 12px;
}
#enrollmentEditForm input {
  font-size: 10px;
  padding: 8px 10px;
} */
}