﻿:root {
  --smk-green: #1f6f43;
  --smk-green-dark: #145332;
  --smk-gold: #d7a437;
  --smk-gold-soft: #f1c76a;
  --smk-ink: #132238;
  --smk-surface: #f7f9f4;
}

body {
  color: var(--smk-ink);
}

.main-menu__list > li > a,
.site-footer__title,
.section-title__title,
.page-header__inner h2 {
  color: var(--smk-ink);
}

.section-title__tagline,
.page-header .thm-breadcrumb li,
.page-header .thm-breadcrumb li a {
  color: var(--smk-green);
}

.thm-btn {
  background-color: var(--smk-green);
  color: #fff;
}

.thm-btn:hover {
  background-color: var(--smk-gold);
  color: var(--smk-ink);
}

.thm-btn--outline {
  background: transparent;
  color: var(--smk-green);
  border: 1px solid rgba(31, 111, 67, 0.25);
}

.thm-btn--outline:hover {
  background: var(--smk-green);
  color: #fff;
}

.school-page-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--smk-surface) 100%);
}

.school-page-section--white {
  background: #fff;
}

.school-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(31, 111, 67, 0.12);
  color: var(--smk-green);
  font-weight: 600;
  margin-bottom: 16px;
}

.school-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 16px 45px rgba(19, 34, 56, 0.08);
  border: 1px solid rgba(31, 111, 67, 0.08);
  height: 100%;
}

.school-card--premium {
  background:
    radial-gradient(circle at top right, rgba(215, 164, 55, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f9fbf7 100%);
}

.school-card h3,
.school-card h4 {
  color: var(--smk-ink);
  margin-bottom: 14px;
}

.school-card p,
.school-card li,
.school-copy,
.school-meta {
  color: #44526a;
}

.school-list,
.school-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.school-list li,
.school-feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.school-list li::before,
.school-feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--smk-green), var(--smk-gold));
  position: absolute;
  left: 0;
  top: 9px;
}

.school-grid-gap {
  row-gap: 30px;
}

.school-stat {
  background: linear-gradient(145deg, var(--smk-green), var(--smk-green-dark));
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  height: 100%;
}

.school-stat .number {
  font-size: 42px;
  font-weight: 700;
  color: var(--smk-gold-soft);
  line-height: 1;
  margin-bottom: 12px;
}

.school-hero-panel {
  background: linear-gradient(135deg, rgba(31,111,67,0.94), rgba(215,164,55,0.88));
  padding: 40px;
  border-radius: 32px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(19, 34, 56, 0.12);
}

.school-hero-panel h3,
.school-hero-panel h4,
.school-hero-panel p,
.school-hero-panel li {
  color: #fff;
}

.school-cta-box {
  background: linear-gradient(135deg, rgba(31, 111, 67, 0.95), rgba(215, 164, 55, 0.95));
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 20px 45px rgba(19, 34, 56, 0.12);
}

.school-cta-box h3,
.school-cta-box p {
  color: #fff;
}

.school-cta-box .school-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.school-profile-card {
  height: 100%;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(19, 34, 56, 0.08);
  border: 1px solid rgba(31, 111, 67, 0.08);
}

.school-profile-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.school-profile-card__body {
  padding: 24px;
}

.school-profile-card__role {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(215, 164, 55, 0.18);
  color: #7b5600;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.school-profile-card__body h3 {
  margin-bottom: 12px;
}

.school-profile-card__body p {
  color: #44526a;
  margin-bottom: 0;
}

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

.school-table th,
.school-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(19, 34, 56, 0.08);
  vertical-align: top;
}

.school-table th {
  color: var(--smk-green);
  font-weight: 700;
  width: 32%;
}

.school-dashboard-hero {
  background:
    linear-gradient(135deg, rgba(31, 111, 67, 0.96), rgba(20, 83, 50, 0.96)),
    linear-gradient(180deg, rgba(215, 164, 55, 0.18), rgba(215, 164, 55, 0));
  border-radius: 30px;
  padding: 34px 36px;
  box-shadow: 0 24px 60px rgba(19, 34, 56, 0.14);
}

.school-dashboard-hero h3,
.school-dashboard-hero p,
.school-dashboard-hero strong {
  color: #fff;
}

.school-dashboard-hero__meta {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 22px 24px;
}

.school-dashboard-hero__meta .school-pill {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.school-card .form-control,
.school-card select,
.school-card textarea {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(31, 111, 67, 0.14);
  background: #fcfdfb;
  color: var(--smk-ink);
  box-shadow: none;
}

.school-card textarea.form-control {
  min-height: 120px;
}

.school-card .form-control:focus,
.school-card select:focus,
.school-card textarea:focus {
  border-color: rgba(31, 111, 67, 0.35);
  box-shadow: 0 0 0 4px rgba(31, 111, 67, 0.08);
}

.school-card label,
.school-card .form-label {
  color: var(--smk-ink);
  font-weight: 600;
}

.school-table td .thm-btn,
.school-table td .thm-btn--outline {
  padding: 10px 18px;
  font-size: 14px;
}

.school-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(215, 164, 55, 0.18);
  color: #7b5600;
  font-weight: 600;
}

.school-search-note {
  font-size: 14px;
  color: #667085;
  margin-top: 10px;
}

.site-footer__newsletter-title,
.site-footer__copyright-text,
.site-footer__contact-text,
.footer-widget__page-link-list p,
.footer-widget__post-content h4 a,
.footer-widget__post-content p,
.footer-widget__contact-text a {
  color: #fff;
}

.site-footer__newsletter-inner-content {
  background: linear-gradient(135deg, var(--smk-green), var(--smk-green-dark));
}

.site-footer__bottom {
  background: transparent !important;
}

.main-menu__list li ul li > a:hover,
.main-menu__list > li.current > a,
.main-menu__list > li:hover > a,
.footer-widget__page-link-list a:hover p,
.blog-one__title a:hover,
.blog-list__title a:hover {
  color: var(--smk-green);
}

.page-header__wrap {
  background: linear-gradient(180deg, rgba(31,111,67,0.10), rgba(215,164,55,0.10));
}

.login-page__form,
.sign-up-page__form {
  box-shadow: 0 18px 40px rgba(19, 34, 56, 0.1);
}

@media (max-width: 767px) {
  .school-page-section {
    padding: 90px 0;
  }

  .school-hero-panel,
  .school-card,
  .school-stat {
    padding: 26px 22px;
  }
}

body {
  background: var(--smk-surface);
}

.preloader,
.custom-cursor__cursor,
.custom-cursor__cursor-two,
.page-header__shape-1,
.page-header__shape-2,
.page-header__shape-3,
.page-header__shape-4,
.page-header__shape-5 {
  display: none !important;
}

.page-header {
  background:
    radial-gradient(circle at top left, rgba(215, 164, 55, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(31, 111, 67, 0.96), rgba(20, 83, 50, 0.96));
}

.page-header__wrap {
  background: transparent !important;
}

.page-header__inner h2,
.page-header .thm-breadcrumb li,
.page-header .thm-breadcrumb li a {
  color: #fff !important;
}

.main-menu__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 111, 67, 0.10);
  color: var(--smk-green);
  transition: all 0.3s ease;
}

.main-menu__social a:hover {
  background: var(--smk-gold);
  color: var(--smk-ink);
}

.main-menu__teacher-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-right: 12px;
  border-radius: 999px;
  background: var(--smk-gold);
  color: var(--smk-ink) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(215, 164, 55, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.main-menu__teacher-login:hover,
.main-menu__teacher-login:focus-visible {
  transform: translateY(-1px);
  background: #f3c05c;
  color: var(--smk-ink) !important;
  box-shadow: 0 14px 28px rgba(215, 164, 55, 0.28);
}

.school-profile-card--campus img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.school-profile-card__body--compact {
  padding: 18px 20px 20px;
}

.school-profile-card__body--compact h4 {
  margin-bottom: 8px;
}

.school-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.school-gallery-grid .school-profile-card:nth-child(1) {
  grid-column: span 5;
}

.school-gallery-grid .school-profile-card:nth-child(2) {
  grid-column: span 3;
}

.school-gallery-grid .school-profile-card:nth-child(3) {
  grid-column: span 4;
}

.school-gallery-grid .school-profile-card:nth-child(4) {
  grid-column: span 4;
}

.school-gallery-grid .school-profile-card:nth-child(5) {
  grid-column: span 8;
}

.school-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.school-subnav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 67, 0.15);
  background: #ffffff;
  color: var(--smk-green-dark);
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(20, 83, 50, 0.08);
  transition: all 0.3s ease;
}

.school-subnav__link:hover,
.school-subnav__link--active {
  background: linear-gradient(135deg, var(--smk-green), var(--smk-gold));
  color: #ffffff;
  border-color: transparent;
}

.school-copy--center {
  max-width: 780px;
  margin: 14px auto 0;
  text-align: center;
}

.school-gallery-tile {
  position: relative;
}

.school-gallery-tile__button {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #d6e5dc;
  aspect-ratio: 1 / 1;
  box-shadow: 0 22px 46px rgba(20, 83, 50, 0.12);
}

.school-gallery-tile__button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.school-gallery-tile__hint,
.school-gallery-tile__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  color: #ffffff;
  transition: all 0.32s ease;
}

.school-gallery-tile__hint {
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(12, 22, 19, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.school-profile-card__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.school-profile-card__roles .school-profile-card__role {
  margin-bottom: 0;
}

.school-toolbar {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.school-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 780px);
  min-height: 64px;
  padding: 10px 18px 10px 10px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(31, 111, 67, 0.14);
  box-shadow: 0 18px 38px rgba(19, 34, 56, 0.08);
  overflow: hidden;
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.school-search-box__button {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #11371f 0%, #1f6f43 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.school-search-box__button:hover,
.school-search-box__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(17, 55, 31, 0.18);
}

.school-search-box__input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #132238;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  padding: 0;
}

.school-search-box__input::placeholder {
  color: #5f6f85;
  opacity: 1;
}

.school-search-empty {
  margin-top: 18px;
  text-align: center;
  color: #4c607a;
  font-size: 16px;
}

.school-section-disabled {
  display: none !important;
}

.school-coming-soon {
  padding: 72px 0;
}

.school-coming-soon__card {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  padding: 58px 42px;
  border-radius: 24px;
  background: linear-gradient(135deg, #115f37 0%, #1f8a4c 62%, #d9aa36 100%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(17, 95, 55, 0.22);
  text-align: center;
}

.school-coming-soon__card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  pointer-events: none;
}

.school-coming-soon__badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-coming-soon__card h2 {
  margin: 22px 0 12px;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 800;
}

.school-coming-soon__card p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.7;
}

.page-guru-staf .school-profile-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.page-guru-staf .school-profile-card__body h3 {
  order: 1;
  margin-bottom: 0;
  line-height: 1.16;
  font-weight: 700;
  word-break: break-word;
}

.page-guru-staf .school-profile-card__body p {
  order: 3;
  margin-top: 8px;
  margin-bottom: 0;
  font-style: italic;
  line-height: 1.7;
  word-break: break-word;
}

.page-guru-staf .school-profile-card {
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.page-guru-staf .school-profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 67, 0.18);
  box-shadow: 0 22px 48px rgba(19, 34, 56, 0.12);
}

.page-guru-staf .school-profile-card img {
  height: 230px;
  aspect-ratio: auto;
  background: #eef4ef;
  object-position: center top;
}

.page-guru-staf .school-profile-card__role {
  order: 2;
  width: auto;
  max-width: 100%;
  align-self: center;
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #001b3d;
  border-radius: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
  white-space: normal;
}

.page-guru-staf .school-profile-card__roles {
  order: 2;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0 6px;
}

.page-guru-staf .school-profile-card__roles .school-profile-card__role {
  flex: 0 1 auto;
  align-self: center;
}

.page-guru-staf .school-profile-card__roles .school-profile-card__role:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #001b3d;
  font-weight: 500;
}

.team-one__home-grid {
  row-gap: 30px;
}

.team-one__home-grid .team-one__single {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-one__home-grid .team-one__img {
  background: #eef4ef;
}

.team-one__home-grid .team-one__img img {
  width: 100%;
  height: 328px;
  object-fit: cover;
  object-position: center top;
}

.team-one__home-grid .team-one__content {
  flex: 1;
  min-height: 126px;
}

.team-one__home-grid .team-one__title {
  font-size: 22px;
  line-height: 1.28;
}

.team-one__home-grid .team-one__sub-title {
  line-height: 1.45;
}

.team-one__more-column {
  display: flex;
  align-items: center;
}

.team-one__more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid rgba(31, 111, 67, 0.22);
  border-radius: 999px;
  color: #1f6f43;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  background: #fff;
  box-shadow: 0 10px 24px rgba(19, 34, 56, 0.08);
}

.team-one__more-link:hover {
  color: #fff;
  background: #1f6f43;
  border-color: #1f6f43;
}

.team-one__more-link span {
  font-size: 13px;
}

.team-one__more-card {
  height: 100%;
  min-height: 454px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #11371f 0%, #1f6f43 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(19, 34, 56, 0.1);
}

.team-one__more-card:hover {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(19, 34, 56, 0.16);
}

.team-one__more-card span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.team-one__more-card strong {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
}

.team-one__more-card i {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 20px;
}

.school-admin-body {
  background: #eef2f6;
  color: #1f2937;
  font-family: 'Poppins', sans-serif;
}

.school-admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
}

.school-admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #263345;
  color: #fff;
  box-shadow: 8px 0 24px rgba(18, 31, 49, 0.14);
  z-index: 20;
}

.school-admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  background: #43526a;
  border-bottom: 3px solid #d6b448;
}

.school-admin-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.school-admin-brand strong,
.school-admin-brand span {
  display: block;
  color: #fff;
  line-height: 1.25;
}

.school-admin-brand span {
  font-size: 12px;
  opacity: 0.78;
}

.school-admin-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.school-admin-nav a,
.school-admin-logout {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
}

.school-admin-nav a:hover,
.school-admin-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #12b7d8;
}

.school-admin-logout {
  margin-top: auto;
  justify-content: center;
  background: #e84d5b;
  color: #fff;
  min-height: 40px;
}

.school-admin-main {
  min-width: 0;
  padding: 18px 22px 34px;
}

.school-admin-topbar {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: -18px -22px 20px;
  padding: 12px 24px;
  background: #4a586f;
  color: #fff;
  border-top: 4px solid #d6b448;
}

.school-admin-topbar h1 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.school-admin-topbar p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.school-admin-toplink,
.school-admin-menu {
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
}

.school-admin-menu {
  display: none;
  margin-left: 0;
}

.school-admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.school-admin-stat {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 3px 10px rgba(18, 31, 49, 0.16);
}

.school-admin-stat strong {
  align-self: flex-end;
  color: #fff;
  font-size: 46px;
  line-height: 1;
  font-weight: 400;
}

.school-admin-stat span {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 700;
}

.school-admin-stat--purple { background: linear-gradient(135deg, #6f5fe8, #8c38b7); }
.school-admin-stat--green { background: linear-gradient(135deg, #13b7a5, #23d85b); }
.school-admin-stat--pink { background: linear-gradient(135deg, #f770c4, #f24368); }
.school-admin-stat--blue { background: linear-gradient(135deg, #38b8ff, #04d6df); }
.school-admin-stat--orange { background: linear-gradient(135deg, #ff8b71, #f5bd34); }

.school-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 18px;
  margin-bottom: 18px;
}

.school-admin-panel {
  padding: 18px;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(18, 31, 49, 0.1);
}

.school-admin-panel--wide {
  min-height: 270px;
}

.school-admin-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.school-admin-panel__head h2 {
  margin: 0;
  color: #3b4352;
  font-size: 18px;
  font-weight: 800;
}

.school-admin-panel__head span {
  color: #657187;
  font-size: 13px;
  font-weight: 700;
}

.school-admin-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: stretch;
}

.school-admin-profile dl {
  margin: 0;
}

.school-admin-profile dl div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  padding: 5px 0;
}

.school-admin-profile dt {
  color: #667085;
  font-weight: 600;
}

.school-admin-profile dd {
  margin: 0;
  color: #1f2937;
  font-weight: 800;
}

.school-admin-data-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 230px;
  padding: 24px;
  border-radius: 6px;
  background: linear-gradient(145deg, #21315c, #182644);
  color: #fff;
}

.school-admin-data-card strong {
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}

.school-admin-data-card span {
  color: rgba(255, 255, 255, 0.78);
}

.school-admin-note,
.school-admin-maintenance > div {
  padding: 14px;
  border-radius: 6px;
  background: #f5f7fa;
}

.school-admin-maintenance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.school-admin-maintenance p {
  margin: 8px 0 0;
}

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

.school-admin-table th,
.school-admin-table td {
  padding: 12px 11px;
  border-bottom: 1px solid #e7ebf0;
  color: #1f2937;
  vertical-align: middle;
}

.school-admin-table th {
  color: #4b5565;
  font-size: 13px;
  font-weight: 800;
  background: #f8fafc;
}

.school-admin-table td span {
  color: #6b7280;
  font-size: 12px;
}

.school-admin-access-form {
  display: contents;
}

.school-admin-access-form .form-control {
  min-width: 120px;
  height: 38px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.school-admin-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.school-admin-small-btn {
  border: 0;
  border-radius: 6px;
  background: #1f6f43;
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.school-admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f3f5f8;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.school-admin-badge--super {
  background: #e8efff;
  color: #214ec7;
}

.school-admin-badge--active {
  background: #e8f8ee;
  color: #14733c;
}

.school-admin-badge--warning {
  background: #fff6dc;
  color: #936200;
}

.school-admin-badge--danger {
  background: #ffe8ec;
  color: #b4233c;
}

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

.school-admin-access-card {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) minmax(260px, 1.4fr) 140px 130px minmax(260px, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 14px;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  background: #fff;
}

.school-admin-access-card__person strong,
.school-admin-access-card__person span,
.school-admin-access-card__field span,
.school-admin-access-card__field strong {
  display: block;
}

.school-admin-access-card__person strong {
  color: #172033;
  font-size: 17px;
  line-height: 1.25;
}

.school-admin-access-card__person span,
.school-admin-access-card__field span:first-child {
  margin-top: 5px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.school-admin-access-card__field strong {
  color: #101828;
  font-size: 15px;
  line-height: 1.35;
}

.school-admin-access-form {
  display: grid;
  grid-template-columns: minmax(104px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}

.school-admin-access-form label {
  margin: 0;
}

.school-admin-access-form label > span {
  display: block;
  margin-bottom: 5px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.school-admin-access-form .form-control {
  min-width: 118px;
  height: 42px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 14px;
}

.school-admin-lock-note {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.teacher-account-list {
  display: grid;
  gap: 12px;
}

.teacher-account-search {
  width: 100%;
  min-height: 56px;
  margin: 16px 0 10px;
  border-radius: 8px;
  box-shadow: none;
}

.teacher-account-search i {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef5f0;
  color: #126337;
}

.teacher-account-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font-size: 15px;
  font-weight: 600;
}

.teacher-account-item {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) minmax(150px, 0.8fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(18, 31, 49, 0.12);
}

.teacher-account-item:last-child {
  border-bottom: 0;
}

.teacher-account-item__main strong,
.teacher-account-item__main span,
.teacher-account-item__meta span {
  display: block;
}

.teacher-account-item__main strong {
  color: #071a35;
  font-weight: 800;
  line-height: 1.35;
}

.teacher-account-item__main span,
.teacher-account-item__meta span {
  color: #34445f;
  font-size: 14px;
  line-height: 1.45;
}

.teacher-account-item__actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.teacher-account-item__actions .thm-btn,
.teacher-account-item__actions .thm-btn--outline {
  min-width: 96px;
  padding: 10px 16px;
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
  line-height: 1;
}

.school-admin-agenda-list {
  display: grid;
}

.school-admin-agenda-list article {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #e7ebf0;
}

.school-admin-agenda-list article:last-child {
  border-bottom: 0;
}

.school-admin-agenda-list time {
  color: #176b3d;
  font-weight: 800;
}

.school-admin-agenda-list strong {
  display: block;
  color: #172033;
  font-weight: 800;
}

.school-admin-agenda-list p {
  margin: 5px 0 0;
  color: #526070;
}

.school-admin-export-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.school-admin-export-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px;
  border: 1px solid #dce6df;
  border-radius: 8px;
  background: #f8faf9;
  color: #0f5f36;
  font-weight: 800;
}

.school-admin-export-grid i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e4f3ea;
}

.attendance-location-status {
  padding: 12px 14px;
  border-radius: 8px;
  background: #eef2f6;
  color: #34445f;
  font-weight: 700;
}

.export-data-list {
  display: grid;
  gap: 12px;
}

.export-data-list article {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(18, 31, 49, 0.12);
}

.export-data-list article:last-child {
  border-bottom: 0;
}

.export-data-list strong {
  color: #172033;
  font-size: 17px;
}

.export-data-list article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.student-point-note {
  min-width: 220px;
  resize: vertical;
  font-size: 13px;
}

.student-point-form {
  display: grid;
  grid-template-columns: minmax(95px, 120px) auto;
  gap: 10px;
  align-items: end;
}

.student-point-form label {
  margin: 0;
}

.student-point-form label span {
  display: block;
  margin-bottom: 5px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.student-point-form .form-control {
  height: 38px;
  padding: 6px 10px;
  border-radius: 6px;
}

.student-delete-form {
  margin-top: 8px;
}

.school-admin-small-btn--danger {
  background: #b4233c;
}

.student-violation-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.student-violation-guide article {
  padding: 14px;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  background: #f8faf9;
}

.student-violation-guide span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f8ee;
  color: #14733c;
  font-size: 12px;
  font-weight: 800;
}

.student-violation-guide strong {
  display: block;
  color: #172033;
  font-size: 15px;
  line-height: 1.35;
}

.student-violation-guide p {
  margin: 6px 0 0;
  color: #526070;
  font-size: 13px;
  line-height: 1.45;
}

.student-create-form {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 0.45fr 1.2fr auto;
  gap: 10px;
  align-items: end;
}

.student-create-form .form-control {
  height: 44px;
  border-radius: 6px;
}

.teacher-inline-form {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.7fr 1fr 1fr 0.9fr auto auto;
  gap: 10px;
  align-items: end;
}

.teacher-inline-form .form-control {
  height: 44px;
  border-radius: 6px;
}

.teacher-profile-list {
  display: grid;
}

.teacher-profile-item {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 2.6fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e7ebf0;
}

.teacher-profile-item:last-child {
  border-bottom: 0;
}

.teacher-profile-item__identity strong,
.teacher-profile-item__identity span,
.teacher-profile-readonly span {
  display: block;
}

.teacher-profile-item__identity strong {
  color: #071a35;
  font-weight: 800;
  line-height: 1.3;
}

.teacher-profile-item__identity span,
.teacher-profile-readonly span {
  color: #34445f;
  font-size: 14px;
}

.teacher-profile-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  align-items: end;
}

.teacher-profile-form .form-control {
  height: 40px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.teacher-profile-actions {
  display: grid;
  gap: 8px;
}

.teacher-profile-readonly {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 12px;
}

@media (max-width: 1199px) {
  .school-admin-shell {
    grid-template-columns: 1fr;
  }

  .school-admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  .school-admin-shell.is-sidebar-open .school-admin-sidebar {
    transform: translateX(0);
  }

  .school-admin-menu {
    display: inline-flex;
  }

  .school-admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-admin-grid,
  .school-admin-profile,
  .school-admin-maintenance {
    grid-template-columns: 1fr;
  }

  .school-admin-access-card,
  .teacher-account-item {
    grid-template-columns: 1fr 1fr;
  }

  .school-admin-access-form {
    grid-column: 1 / -1;
  }

  .export-data-list article {
    grid-template-columns: 1fr;
  }

  .export-data-list article > div {
    justify-content: flex-start;
  }

  .student-violation-guide,
  .student-create-form,
  .teacher-inline-form,
  .teacher-profile-item,
  .teacher-profile-form {
    grid-template-columns: 1fr 1fr;
  }

  .teacher-profile-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .school-admin-main {
    padding: 14px;
  }

  .school-admin-topbar {
    margin: -14px -14px 16px;
    padding: 12px 14px;
  }

  .school-admin-topbar h1 {
    font-size: 15px;
  }

  .school-admin-stats {
    grid-template-columns: 1fr;
  }

  .school-admin-profile dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .school-admin-access-card,
  .teacher-account-item,
  .school-admin-access-form {
    grid-template-columns: 1fr;
  }

  .school-admin-agenda-list article,
  .school-admin-export-grid {
    grid-template-columns: 1fr;
  }

  .teacher-account-item__actions {
    justify-items: start;
  }

  .student-violation-guide,
  .student-create-form,
  .student-point-form,
  .teacher-inline-form,
  .teacher-profile-item,
  .teacher-profile-form,
  .teacher-profile-readonly {
    grid-template-columns: 1fr;
  }
}

.school-search-box:focus-within {
  border-color: rgba(31, 111, 67, 0.28);
  box-shadow: 0 20px 42px rgba(19, 34, 56, 0.1);
}

@media (max-width: 767px) {
  .school-search-box {
    width: 100%;
  }

  .page-guru-staf .school-profile-card img {
    height: 220px;
  }

  .team-one__home-grid .team-one__img img {
    height: 300px;
  }

  .team-one__more-card {
    min-height: 240px;
  }
}

.school-gallery-tile__caption {
  bottom: 18px;
  z-index: 3;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 22, 19, 0.08) 0%, rgba(12, 22, 19, 0.84) 100%);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
}

.school-gallery-tile__button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 83, 50, 0.02) 20%, rgba(20, 83, 50, 0.34) 100%);
  transition: opacity 0.32s ease;
}

.school-gallery-tile__button.is-active .school-gallery-tile__caption {
  opacity: 1;
  transform: translateY(0);
}

.school-gallery-tile__button.is-active .school-gallery-tile__hint {
  opacity: 0;
  transform: translateY(12px);
}

.school-gallery-tile--full .school-gallery-tile__button {
  border-radius: 30px;
}

.services-two__img {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(20, 83, 50, 0.12);
}

.services-two__img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.site-footer__contact-text a[href*="maps"] {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
}

.site-footer__contact-text a[href*="maps"]:hover {
  color: #f6c35b;
  border-bottom-color: rgba(246, 195, 91, 0.8);
}

@media (max-width: 991px) {
  .school-page-section {
    padding: 80px 0;
  }

  .section-title__title,
  .page-header__inner h2 {
    font-size: 38px;
    line-height: 1.2;
  }

  .main-slider__title {
    font-size: 54px;
    line-height: 1.05;
  }

  .gallery-one__top,
  .blog-one__top,
  .about-one__left,
  .about-one__right,
  .school-card,
  .school-hero-panel,
  .school-stat {
    margin-bottom: 22px;
  }
}

@media (max-width: 767px) {
  .main-slider__title {
    font-size: 42px;
    line-height: 1.04;
  }

  .section-title__title,
  .page-header__inner h2 {
    font-size: 30px;
    line-height: 1.22;
  }

  .main-slider__text,
  .school-copy,
  .services-two__text,
  .about-one__text-1,
  .about-one__text-2 {
    font-size: 15px;
    line-height: 1.75;
  }

  .services-two__single,
  .gallery-one__single,
  .blog-one__single,
  .testimonial-one__single {
    margin-bottom: 18px;
  }

  .gallery-one__top-text,
  .blog-one__btn-box,
  .about-one__btn-box {
    margin-top: 18px !important;
  }

  .school-gallery-grid {
    grid-template-columns: 1fr;
  }

  .school-gallery-grid .school-profile-card:nth-child(1),
  .school-gallery-grid .school-profile-card:nth-child(2),
  .school-gallery-grid .school-profile-card:nth-child(3),
  .school-gallery-grid .school-profile-card:nth-child(4),
  .school-gallery-grid .school-profile-card:nth-child(5) {
    grid-column: auto;
  }

  .school-subnav__link {
    width: 100%;
  }
}

/* Hide mobile slide navbar toggle globally */
.main-menu .mobile-nav__toggler,
.mobile-nav__wrapper,
.mobile-nav__overlay,
.mobile-nav__close {
  display: none !important;
}

/* Responsive header cleanup: no side panel, no slide mobile nav */
.main-menu__nav-sidebar-icon,
.xs-sidebar-group,
.xs-overlay,
.xs-sidebar-widget,
.info-sidebar,
.navSidebar-button {
  display: none !important;
}

@media (max-width: 1199px) {
  .stricky-header {
    display: none !important;
  }

  .main-header__wrapper,
  .main-menu__wrapper,
  .main-menu__wrapper-inner {
    border-radius: 0 !important;
  }

  .main-menu__wrapper-inner {
    display: block !important;
    padding: 14px 0 18px !important;
  }

  .main-menu__left,
  .main-menu__right,
  .main-menu__main-menu-box {
    width: 100%;
  }

  .main-menu__left {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
  }

  .main-header__logo a,
  .main-header__logo img {
    max-width: 170px;
  }

  .main-menu__main-menu-box {
    display: block !important;
  }

  .main-menu .main-menu__list {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-menu .main-menu__list > li {
    display: block;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-menu .main-menu__list > li + li {
    margin-left: 0 !important;
  }

  .main-menu .main-menu__list > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 14px 18px !important;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .main-menu .main-menu__list > li > a::before {
    display: none !important;
  }

  .main-menu .main-menu__list > li.dropdown > a:after {
    position: static !important;
    transform: none !important;
    margin-left: 10px;
  }

  .main-menu .main-menu__list > li > ul,
  .main-menu .main-menu__list > li > ul > li > ul {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    min-width: 100% !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 8px 0 0 14px !important;
    margin: 0 !important;
  }

  .main-menu .main-menu__list > li > ul > li,
  .main-menu .main-menu__list > li > ul > li > ul > li {
    border: 0 !important;
    margin: 0 0 8px !important;
  }

  .main-menu .main-menu__list > li > ul > li > a,
  .main-menu .main-menu__list > li > ul > li > ul > li > a {
    display: block;
    padding: 10px 14px !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .main-menu .main-menu__list > li > ul > li > a:hover,
  .main-menu .main-menu__list > li > ul > li > ul > li > a:hover {
    background: rgba(241, 178, 74, 0.18) !important;
    color: #ffffff !important;
  }

  .main-menu__right {
    display: flex !important;
    justify-content: center;
    margin-top: 16px;
  }

  .main-menu__social {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .main-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-menu__wrapper-inner {
    padding: 12px 0 16px !important;
  }

  .main-menu .main-menu__list {
    gap: 8px;
  }

  .main-menu .main-menu__list > li > a {
    min-height: 48px;
    padding: 12px 15px !important;
    font-size: 14px !important;
  }

  .main-menu .main-menu__list > li > ul {
    padding-left: 10px !important;
  }

  .main-menu .main-menu__list > li > ul > li > a,
  .main-menu .main-menu__list > li > ul > li > ul > li > a {
    padding: 9px 12px !important;
    font-size: 13px !important;
  }

  .main-menu__social a {
    width: 40px;
    height: 40px;
  }
}
/* Restore clean slide mobile nav, keep sidebar widget disabled */
.main-menu__nav-sidebar-icon,
.xs-sidebar-group,
.xs-overlay,
.xs-sidebar-widget,
.info-sidebar,
.navSidebar-button {
  display: none !important;
}

@media (max-width: 1199px) {
  .stricky-header {
    display: none !important;
  }

  .main-menu .mobile-nav__toggler {
    display: inline-block !important;
  }

  .mobile-nav__wrapper,
  .mobile-nav__overlay,
  .mobile-nav__close {
    display: block !important;
  }

  .main-menu__wrapper-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 !important;
  }

  .main-menu__left,
  .main-menu__right {
    width: auto !important;
    margin: 0 !important;
  }

  .main-menu__left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .main-menu__main-menu-box {
    width: auto !important;
    display: block !important;
  }

  .main-menu .main-menu__list {
    display: none !important;
  }

  .main-menu__right {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-top: 0 !important;
  }

  .main-menu__social {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 767px) {
  .main-menu__teacher-login {
    min-height: 38px;
    padding: 0 12px;
    margin-right: 8px;
    font-size: 12px;
  }

  .main-menu__social a {
    width: 38px !important;
    height: 38px !important;
  }
}
/* Tighten mobile header spacing */
@media (max-width: 1199px) {
  .main-menu__wrapper-inner {
    gap: 10px !important;
  }

  .main-menu__main-menu-box {
    margin-left: auto !important;
    margin-right: 10px !important;
  }

  .main-menu__right {
    margin-left: 0 !important;
    gap: 8px !important;
  }

  .main-menu__teacher-login {
    margin-right: 0;
  }

  .main-menu__social {
    gap: 8px !important;
  }
}

/* Premium homepage hero and footer refresh */
.main-slider__wrap {
  max-width: 1740px !important;
  border-radius: 48px !important;
  overflow: hidden !important;
  box-shadow: 0 30px 70px rgba(8, 30, 13, 0.24) !important;
}

.main-slider .item.main-slider__slide-item {
  min-height: 660px !important;
  padding-top: 200px !important;
  padding-bottom: 95px !important;
  border-radius: 48px !important;
  overflow: hidden !important;
  background: #173a21 !important;
}

.main-slider__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 6s ease;
}

.main-slider .active .main-slider__bg {
  transform: scale(1.1);
}

.main-slider__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 30, 13, 0.82) 0%, rgba(13, 40, 19, 0.74) 34%, rgba(13, 40, 19, 0.28) 66%, rgba(13, 40, 19, 0.18) 100%),
    linear-gradient(180deg, rgba(214, 154, 54, 0.08) 0%, rgba(0, 0, 0, 0.14) 100%);
}

.main-slider__shape-1,
.main-slider__img {
  display: none !important;
}

.main-slider__content {
  max-width: 760px;
  padding-right: 24px;
}

.main-slider__eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f6d487;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.main-slider__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f1b24a;
  box-shadow: 0 0 0 6px rgba(241, 178, 74, 0.16);
}

.main-slider__title {
  max-width: 760px;
  margin-bottom: 20px !important;
  font-size: 64px !important;
  line-height: 1.08 !important;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.main-slider__title span {
  color: #7dcc5a !important;
}

.main-slider__text {
  max-width: 620px;
  font-size: 17px !important;
  line-height: 1.68 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.main-slider__btn-and-video-box {
  gap: 16px !important;
  flex-wrap: wrap;
  margin-top: 30px !important;
}

.main-slider__text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.main-slider__text-link:hover {
  color: #0f2615;
  background: #f1b24a;
  border-color: #f1b24a;
}

.main-slider .owl-theme .owl-nav {
  top: 50% !important;
  transform: translateY(-50%);
  padding: 0 36px;
}

.main-slider .owl-theme .owl-nav [class*=owl-] {
  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  background: rgba(8, 30, 13, 0.32) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(10px);
}

.main-slider .owl-theme .owl-nav [class*=owl-]:hover {
  background: rgba(241, 178, 74, 0.2) !important;
  border-color: rgba(241, 178, 74, 0.72) !important;
}

.site-footer__wrap {
  background: linear-gradient(135deg, #11371f 0%, #1f6f43 100%) !important;
  border-radius: 48px 48px 0 0 !important;
  overflow: hidden !important;
}

.site-footer__shape-1 {
  display: none !important;
}

.site-footer__shape-2 {
  display: none !important;
}

.site-footer__top-inner {
  padding: 54px 0 48px !important;
}

.footer-widget__about-logo {
  margin-bottom: 20px !important;
}

.footer-widget__contact-list li + li {
  margin-top: 18px !important;
}

.site-footer__bottom-inner {
  padding: 18px 24px !important;
  border-radius: 24px 24px 0 0;
  background: #1f6f43 !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none !important;
}

.site-footer__bottom-inner::before {
  display: none !important;
}

.site-footer__copyright-text,
.site-footer__bottom-menu a {
  color: #ffffff !important;
}

.site-footer__bottom-menu a:hover,
.site-footer__bottom-menu a:focus,
.site-footer__copyright-text a:hover,
.site-footer__copyright-text a:focus {
  color: #9fe3b3 !important;
}

@media (max-width: 1199px) {
  .main-slider .item.main-slider__slide-item {
    min-height: 580px !important;
    padding-top: 165px !important;
    padding-bottom: 95px !important;
  }

  .main-slider .owl-theme .owl-nav {
    padding: 0 24px;
  }

  .main-slider .owl-theme .owl-nav [class*=owl-] {
    width: 50px !important;
    height: 50px !important;
  }
}

@media (max-width: 767px) {
  .main-slider__wrap {
    border-radius: 30px !important;
  }

  .main-slider .item.main-slider__slide-item {
    min-height: 500px !important;
    padding-top: 120px !important;
    padding-bottom: 72px !important;
    border-radius: 30px !important;
  }

  .main-slider__overlay {
    background:
      linear-gradient(180deg, rgba(8, 30, 13, 0.72) 0%, rgba(8, 30, 13, 0.84) 58%, rgba(8, 30, 13, 0.9) 100%),
      linear-gradient(90deg, rgba(241, 178, 74, 0.08) 0%, rgba(0, 0, 0, 0) 100%);
  }

  .main-slider__content {
    max-width: 100%;
    padding-right: 0;
  }

  .main-slider__eyebrow {
    padding: 8px 14px;
    margin-bottom: 18px;
    font-size: 11px;
  }

  .main-slider__title {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }

  .main-slider__text {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .main-slider__btn-and-video-box {
    margin-top: 28px !important;
    gap: 14px !important;
  }

  .main-slider__text-link {
    width: 100%;
    justify-content: center;
  }

  .main-slider .owl-theme .owl-nav {
    top: auto !important;
    bottom: 20px;
    transform: none;
    justify-content: flex-end !important;
    gap: 10px;
    padding: 0 20px;
  }

  .main-slider .owl-theme .owl-nav [class*=owl-] {
    width: 42px !important;
    height: 42px !important;
  }

  .site-footer__wrap {
    border-radius: 28px 28px 0 0 !important;
  }

  .site-footer__bottom-inner {
    padding: 20px 16px !important;
    border-radius: 18px 18px 0 0;
  }
}

/* Minat theme and mobile slider controls */
.contact-one {
  position: relative;
  padding-top: 30px;
}

.contact-one__left-content {
  background:
    linear-gradient(145deg, #10331a 0%, #16512d 52%, #123d22 100%) !important;
  border-radius: 38px !important;
  box-shadow: 0 24px 60px rgba(9, 27, 13, 0.18);
}

.contact-one__shape-1,
.contact-one__shape-2 {
  display: none !important;
}

.contact-one__title-box p {
  color: #9fe3b3 !important;
  letter-spacing: 0.08em;
}

.contact-one__title-box h3,
.contact-one__input-box input,
#hasil-minat,
#hasil-minat p,
#hasil-minat h4 {
  color: #ffffff !important;
}

.contact-one__input-box input {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 18px !important;
}

.contact-one__input-box input::placeholder {
  color: rgba(255, 255, 255, 0.72) !important;
}

.contact-one__btn-box {
  margin-top: 6px;
}

.contact-one__btn {
  background: linear-gradient(135deg, #2f8c4d 0%, #246d3d 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 35px rgba(27, 86, 48, 0.32);
}

.contact-one__btn:hover {
  color: #10331a !important;
}

.contact-one__btn::after {
  background: #f1b24a !important;
}

.contact-one__right .contact-one__img > img {
  border-radius: 32px;
  object-fit: cover;
}

.contact-one__experience {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(31, 111, 67, 0.18);
}

.main-slider .owl-theme .owl-dots {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 48px;
  z-index: 20;
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.main-slider .owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.main-slider .owl-theme .owl-dots .owl-dot.active span,
.main-slider .owl-theme .owl-dots .owl-dot:hover span {
  width: 34px;
  background: #f1b24a;
  border-color: #f1b24a;
}

@media (max-width: 991px) {
  .contact-one__left-content {
    padding: 44px 28px 30px !important;
  }

  .contact-one__right {
    margin-top: 28px;
  }
}

@media (max-width: 767px) {
  .main-slider__btn-and-video-box {
    gap: 12px !important;
  }

  .main-slider__btn-box,
  .main-slider__btn-box .thm-btn,
  .main-slider__text-link {
    width: 100%;
  }

  .main-slider__btn-box .thm-btn,
  .main-slider__text-link {
    justify-content: center;
    min-height: 54px;
  }

  .main-slider .owl-theme .owl-nav {
    left: 16px;
    right: 16px;
    bottom: 18px;
    padding: 0;
    justify-content: space-between !important;
    pointer-events: none;
  }

  .main-slider .owl-theme .owl-nav [class*=owl-] {
    pointer-events: auto;
    background: rgba(11, 31, 16, 0.52) !important;
  }

  .main-slider .owl-theme .owl-dots {
    left: 50%;
    right: auto;
    bottom: 34px;
    transform: translateX(-50%);
    justify-content: center;
    gap: 8px;
  }

  .counter-one {
    margin-top: -4px;
  }

  .counter-one__inner {
    border-radius: 24px !important;
    margin-top: -18px;
  }

  .contact-one {
    padding-top: 14px;
  }

  .contact-one__left-content {
    padding: 34px 18px 24px !important;
    border-radius: 28px !important;
  }

  .contact-one__title-box h3 {
    font-size: 34px !important;
    line-height: 1.18 !important;
  }

  .contact-one__input-box input {
    height: 58px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
  }

  .contact-one__btn {
    width: 100%;
    min-height: 56px;
    justify-content: center;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .contact-one__right .contact-one__img > img {
    min-height: 260px;
  }

  .contact-one__experience-box {
    right: 12px !important;
    bottom: 12px !important;
  }
}
/* Mobile header order and spacing cleanup */
@media (max-width: 1199px) {
  .main-menu__wrapper-inner {
    justify-content: flex-start !important;
  }

  .main-menu__left {
    order: 1;
    flex: 0 0 auto;
  }

  .main-menu__right {
    order: 2;
    margin-left: auto !important;
    margin-right: 8px !important;
    gap: 8px !important;
  }

  .main-menu__main-menu-box {
    order: 3;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .main-menu .mobile-nav__toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 767px) {
  .main-header {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .main-menu__wrapper-inner {
    gap: 6px !important;
  }

  .main-header__logo img {
    max-width: 128px;
    height: auto;
  }

  .main-menu__right {
    margin-right: 4px !important;
    gap: 6px !important;
  }

  .main-menu__social {
    gap: 6px !important;
  }

  .main-menu__social a,
  .main-menu .mobile-nav__toggler {
    width: 36px !important;
    height: 36px !important;
  }

  .faq-one {
    padding: 40px 0 72px !important;
  }

  .faq-one .section-title {
    margin-bottom: 26px !important;
  }

  .faq-one__inner-content {
    margin-top: 0 !important;
  }

  .faq-one .faq-one-accrodion .accrodion-title {
    padding: 24px 20px 20px 64px !important;
  }

  .faq-one .faq-one__accrodion-title-count {
    left: 22px !important;
  }

  .faq-one .faq-one-accrodion .accrodion-title h4 {
    font-size: 17px !important;
    line-height: 1.45 !important;
    padding-right: 42px !important;
  }

  .faq-one .faq-one-accrodion .accrodion-title h4::before {
    right: -2px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 14px !important;
  }

  .faq-one .faq-one-accrodion .accrodion-content {
    padding: 0 20px 22px 64px !important;
    margin-top: -4px !important;
  }

  .scroll-to-top__text {
    display: none !important;
  }
}
.contact-one__field-label {
  display: block;
  margin-bottom: 10px;
  padding-left: 8px;
  color: #f5d487;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (max-width: 767px) {
  .contact-one__field-label {
    margin-bottom: 8px;
    padding-left: 4px;
    font-size: 14px;
  }
}
/* Unified subpage typography and active nav states */
.school-themed-page,
.school-themed-page body {
  font-family: 'Poppins', sans-serif;
}

.school-themed-page h1,
.school-themed-page h2,
.school-themed-page h3,
.school-themed-page h4,
.school-themed-page h5,
.school-themed-page h6,
.school-themed-page .section-title__title,
.school-themed-page .page-header__inner h2,
.school-themed-page .thm-breadcrumb li,
.school-themed-page .school-copy,
.school-themed-page p,
.school-themed-page a,
.school-themed-page .school-profile-card__body,
.school-themed-page .school-profile-card__body h3,
.school-themed-page .school-profile-card__body span {
  font-family: 'Poppins', sans-serif;
}

.school-themed-page .page-header {
  position: relative;
  padding: 0;
  background: linear-gradient(135deg, #1e6a43 0%, #27784d 52%, #c9a443 100%);
}

.school-themed-page .page-header__wrap {
  background: linear-gradient(135deg, rgba(14, 52, 28, 0.92) 0%, rgba(28, 105, 62, 0.84) 60%, rgba(201, 164, 67, 0.72) 100%) !important;
  padding: 130px 0 90px !important;
  min-height: 340px;
}

.school-themed-page .page-header__shape-1,
.school-themed-page .page-header__shape-2,
.school-themed-page .page-header__shape-3,
.school-themed-page .page-header__shape-4,
.school-themed-page .page-header__shape-5,
.school-themed-page .page-header__img-1,
.school-themed-page .page-header__img-2 {
  display: none !important;
}

.school-themed-page .page-header__inner {
  max-width: 860px;
}

.school-themed-page .page-header__inner h2 {
  color: #ffffff !important;
  font-size: 58px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.school-themed-page .thm-breadcrumb li,
.school-themed-page .thm-breadcrumb li a,
.school-themed-page .thm-breadcrumb li span {
  color: rgba(255, 255, 255, 0.92) !important;
}

.page-tentang-group .main-menu__list > li:nth-child(2) > a,
.page-informasi-group .main-menu__list > li:nth-child(4) > a,
.page-berita-group .main-menu__list > li:nth-child(5) > a,
.page-guru-staf .main-menu__list > li:nth-child(2) > a,
.page-galeri-sekolah .main-menu__list > li:nth-child(4) > a,
.page-semua-berita .main-menu__list > li:nth-child(5) > a {
  color: var(--thm-base) !important;
}

.page-tentang-group .main-menu__list > li:nth-child(2) > a::before,
.page-informasi-group .main-menu__list > li:nth-child(4) > a::before,
.page-berita-group .main-menu__list > li:nth-child(5) > a::before,
.page-guru-staf .main-menu__list > li:nth-child(2) > a::before,
.page-galeri-sekolah .main-menu__list > li:nth-child(4) > a::before,
.page-semua-berita .main-menu__list > li:nth-child(5) > a::before {
  width: 100% !important;
  opacity: 1 !important;
}

.school-themed-page .main-menu__list li ul li.current > a,
.school-themed-page .main-menu__list li ul li > a:hover {
  color: var(--thm-base) !important;
  font-weight: 600;
}

@media (max-width: 991px) {
  .school-themed-page .page-header__wrap {
    padding: 118px 0 78px !important;
    min-height: 280px;
  }

  .school-themed-page .page-header__inner h2 {
    font-size: 44px;
  }
}

@media (max-width: 767px) {
  .school-themed-page .page-header__wrap {
    padding: 94px 0 56px !important;
    min-height: 220px;
  }

  .school-themed-page .page-header__inner h2 {
    font-size: 34px;
    margin-bottom: 10px;
  }

  .school-themed-page .thm-breadcrumb li {
    font-size: 15px;
  }
}

/* Subpage nav and typography tightening */
.school-themed-page,
.school-themed-page p,
.school-themed-page a,
.school-themed-page li,
.school-themed-page h1,
.school-themed-page h2,
.school-themed-page h3,
.school-themed-page h4,
.school-themed-page h5,
.school-themed-page h6,
.school-themed-page .main-menu__list > li > a,
.school-themed-page .school-profile-card__body h3,
.school-themed-page .section-title__title {
  letter-spacing: 0 !important;
  font-kerning: normal;
}

.school-themed-page .main-menu__list > li.current > a,
.school-themed-page .main-menu__list > li.dropdown.current > a {
  color: var(--thm-base) !important;
}

.school-themed-page .main-menu__list > li.current > a::before,
.school-themed-page .main-menu__list > li.dropdown.current > a::before {
  width: 100% !important;
  opacity: 1 !important;
}

/* Family sub-navigation for child pages */
.school-family-nav-wrap {
  padding: 28px 0 0;
  background: transparent;
}

.school-family-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.school-family-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(28, 77, 43, 0.08);
  border: 1px solid rgba(28, 77, 43, 0.1);
  color: #12311f;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.school-family-nav a:hover,
.school-family-nav a.is-active {
  background: linear-gradient(135deg, #1f6a43 0%, #c9a443 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(25, 84, 49, 0.18);
}

.school-family-nav--wide a {
  flex: 0 0 auto;
}

.school-themed-page .thm-breadcrumb li a {
  color: rgba(255, 255, 255, 0.94) !important;
}

.school-themed-page .page-header__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 767px) {
  .school-family-nav-wrap {
    padding: 18px 0 0;
  }

  .school-family-nav {
    gap: 10px;
  }

  .school-family-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 18px;
    font-size: 15px;
  }
}

/* Strong current menu state for school pages */
.main-header .main-menu .main-menu__list > li.current > a,
.main-header .main-menu .main-menu__list > li.dropdown.current > a,
.stricky-header .main-menu__list > li.current > a,
.stricky-header .main-menu__list > li.dropdown.current > a {
  color: var(--thm-base) !important;
}

.main-header .main-menu .main-menu__list > li.current > a::before,
.main-header .main-menu .main-menu__list > li.dropdown.current > a::before,
.stricky-header .main-menu__list > li.current > a::before,
.stricky-header .main-menu__list > li.dropdown.current > a::before {
  transform: scale(1, 1) !important;
  opacity: 1 !important;
}

.main-header .main-menu .main-menu__list > li.current > a::after,
.main-header .main-menu .main-menu__list > li.dropdown.current > a::after,
.stricky-header .main-menu__list > li.current > a::after,
.stricky-header .main-menu__list > li.dropdown.current > a::after {
  color: var(--thm-base) !important;
}

.school-themed-page,
.school-themed-page * {
  font-kerning: normal;
  text-rendering: geometricPrecision;
}

/* Header menu color alignment */
.main-header .main-menu .main-menu__list > li > a,
.stricky-header .main-menu__list > li > a {
  letter-spacing: 0 !important;
  font-family: 'Poppins', sans-serif !important;
}

.main-header .main-menu .main-menu__list > li.current > a,
.main-header .main-menu .main-menu__list > li.dropdown.current > a,
.stricky-header .main-menu__list > li.current > a,
.stricky-header .main-menu__list > li.dropdown.current > a {
  color: var(--crank-base) !important;
}

.main-header .main-menu .main-menu__list > li.current > a::after,
.main-header .main-menu .main-menu__list > li.dropdown.current > a::after,
.stricky-header .main-menu__list > li.current > a::after,
.stricky-header .main-menu__list > li.dropdown.current > a::after {
  color: var(--crank-base) !important;
}

/* Global premium navbar consistency */
.main-header .main-menu .main-menu__list > li > a,
.stricky-header .main-menu__list > li > a,
.main-header .main-menu .main-menu__list li ul li > a,
.stricky-header .main-menu__list li ul li > a {
  font-family: 'Poppins', sans-serif !important;
  letter-spacing: 0 !important;
}

.main-header .main-menu .main-menu__list > li.current > a,
.main-header .main-menu .main-menu__list > li.dropdown.current > a,
.stricky-header .main-menu__list > li.current > a,
.stricky-header .main-menu__list > li.dropdown.current > a {
  color: var(--crank-base) !important;
}

.main-header .main-menu .main-menu__list > li.current > a::before,
.main-header .main-menu .main-menu__list > li.dropdown.current > a::before,
.stricky-header .main-menu__list > li.current > a::before,
.stricky-header .main-menu__list > li.dropdown.current > a::before {
  transform: scale(1, 1) !important;
  opacity: 1 !important;
}

.main-header .main-menu .main-menu__list > li.current > a::after,
.main-header .main-menu .main-menu__list > li.dropdown.current > a::after,
.stricky-header .main-menu__list > li.current > a::after,
.stricky-header .main-menu__list > li.dropdown.current > a::after,
.main-header .main-menu .main-menu__list li ul li.current > a,
.main-header .main-menu .main-menu__list li ul li > a:hover {
  color: var(--crank-base) !important;
}

/* Forced parent active states by page family */
.page-tentang-group .main-menu__list > li:nth-child(2) > a,
.page-informasi-group .main-menu__list > li:nth-child(4) > a,
.page-berita-group .main-menu__list > li:nth-child(5) > a,
.page-guru-staf .main-menu__list > li:nth-child(2) > a,
.page-galeri-sekolah .main-menu__list > li:nth-child(4) > a,
.page-semua-berita .main-menu__list > li:nth-child(5) > a {
  color: var(--crank-base) !important;
}

.page-tentang-group .main-menu__list > li:nth-child(2) > a::before,
.page-informasi-group .main-menu__list > li:nth-child(4) > a::before,
.page-berita-group .main-menu__list > li:nth-child(5) > a::before,
.page-guru-staf .main-menu__list > li:nth-child(2) > a::before,
.page-galeri-sekolah .main-menu__list > li:nth-child(4) > a::before,
.page-semua-berita .main-menu__list > li:nth-child(5) > a::before {
  transform: scale(1, 1) !important;
  opacity: 1 !important;
}

.page-tentang-group .main-menu__list > li:nth-child(2) > a::after,
.page-informasi-group .main-menu__list > li:nth-child(4) > a::after,
.page-berita-group .main-menu__list > li:nth-child(5) > a::after,
.page-guru-staf .main-menu__list > li:nth-child(2) > a::after,
.page-galeri-sekolah .main-menu__list > li:nth-child(4) > a::after,
.page-semua-berita .main-menu__list > li:nth-child(5) > a::after {
  color: var(--crank-base) !important;
}

.stricky-header .main-menu__list > li.current > a,
.stricky-header .main-menu__list > li.dropdown.current > a {
  color: var(--crank-base) !important;
}

/* Compact child page headers */
.page-semua-berita .page-header__wrap,
.page-galeri-sekolah .page-header__wrap {
  padding: 92px 0 54px !important;
  min-height: 220px !important;
}

.page-semua-berita .page-header__inner,
.page-galeri-sekolah .page-header__inner {
  gap: 8px;
}

.page-semua-berita .school-page-section,
.page-galeri-sekolah .school-page-section {
  padding-top: 52px;
}

.page-semua-berita .school-family-nav-wrap,
.page-galeri-sekolah .school-family-nav-wrap {
  padding-top: 18px;
}

.page-semua-berita .main-menu__list > li:nth-child(5) > a,
.page-galeri-sekolah .main-menu__list > li:nth-child(4) > a {
  color: var(--crank-base) !important;
}

.page-semua-berita .main-menu__list > li:nth-child(5) > a::before,
.page-galeri-sekolah .main-menu__list > li:nth-child(4) > a::before {
  transform: scale(1, 1) !important;
  opacity: 1 !important;
}

@media (max-width: 767px) {
  .page-semua-berita .page-header__wrap,
  .page-galeri-sekolah .page-header__wrap {
    padding: 82px 0 42px !important;
    min-height: 180px !important;
  }

  .page-semua-berita .school-page-section,
  .page-galeri-sekolah .school-page-section {
    padding-top: 36px;
  }
}

/* Global child page density and navbar cleanup */
.main-menu__nav-sidebar-icon,
.xs-sidebar-group.info-group.info-sidebar,
.xs-overlay.xs-bg-black {
  display: none !important;
}

.school-themed-page .page-header__wrap {
  padding: 86px 0 48px !important;
  min-height: 190px !important;
}

.school-themed-page .page-header__inner {
  gap: 6px !important;
}

.school-themed-page .page-header__inner h2 {
  font-size: 48px !important;
  margin-bottom: 8px !important;
}

.school-themed-page .school-page-section {
  padding-top: 42px !important;
  padding-bottom: 80px !important;
}

.school-themed-page .section-title {
  margin-bottom: 18px !important;
}

.school-themed-page .school-copy,
.school-themed-page p {
  margin-bottom: 14px;
}

.school-themed-page .row.school-grid-gap {
  row-gap: 24px !important;
}

.school-page-section .thm-btn,
.school-themed-page .thm-btn {
  white-space: nowrap;
}

@media (max-width: 991px) {
  .school-themed-page .page-header__wrap {
    padding: 78px 0 42px !important;
    min-height: 170px !important;
  }

  .school-themed-page .page-header__inner h2 {
    font-size: 38px !important;
  }
}

@media (max-width: 767px) {
  .school-themed-page .page-header__wrap {
    padding: 72px 0 36px !important;
    min-height: 150px !important;
  }

  .school-themed-page .page-header__inner h2 {
    font-size: 30px !important;
  }

  .school-themed-page .school-page-section {
    padding-top: 28px !important;
    padding-bottom: 58px !important;
  }

  .school-themed-page .school-family-nav-wrap {
    padding-top: 12px !important;
  }

  .school-themed-page .row.school-grid-gap {
    row-gap: 18px !important;
  }
}

/* Final global cleanup: navbar, dropdown, mobile nav, and section density */
:root {
  --thm-base: var(--smk-gold);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.main-header {
  padding: 0 18px;
}

.main-header__wrapper,
.main-menu__wrapper {
  width: 100%;
}

.main-menu__wrapper-inner {
  min-height: 92px;
  padding: 0 28px !important;
  background:
    linear-gradient(135deg, rgba(17, 55, 31, 0.98), rgba(31, 111, 67, 0.96)) !important;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  box-shadow: 0 22px 44px rgba(10, 35, 19, 0.18);
}

.main-header__logo {
  padding: 18px 0;
}

.main-header__logo img {
  max-width: 176px;
  height: auto;
}

.main-menu__right {
  gap: 14px;
}

.main-menu .main-menu__list,
.stricky-header .main-menu__list {
  gap: 6px;
}

.main-menu .main-menu__list > li,
.stricky-header .main-menu__list > li {
  padding-top: 29px;
  padding-bottom: 29px;
}

.main-menu .main-menu__list > li + li,
.stricky-header .main-menu__list > li + li {
  margin-left: 12px;
}

.main-menu .main-menu__list > li > a,
.stricky-header .main-menu__list > li > a {
  min-height: 40px;
  padding: 0 8px;
  font-size: 14px;
  letter-spacing: 0;
}

.main-menu .main-menu__list > li.dropdown > a {
  padding-right: 20px;
}

.main-menu .main-menu__list > li.dropdown > a::after,
.stricky-header .main-menu__list > li.dropdown > a::after {
  right: 2px;
  font-size: 12px;
}

.main-menu .main-menu__list > li > ul,
.main-menu .main-menu__list > li > ul > li > ul,
.stricky-header .main-menu__list > li > ul,
.stricky-header .main-menu__list > li > ul > li > ul {
  top: calc(100% - 8px);
  min-width: 240px;
  padding: 10px 0;
  border-radius: 18px;
  border: 1px solid rgba(19, 34, 56, 0.08);
  box-shadow: 0 22px 45px rgba(9, 26, 14, 0.16);
  overflow: hidden;
}

.main-menu .main-menu__list > li > ul > li,
.main-menu .main-menu__list > li > ul > li > ul > li,
.stricky-header .main-menu__list > li > ul > li,
.stricky-header .main-menu__list > li > ul > li > ul > li {
  border-bottom-color: rgba(19, 34, 56, 0.06);
}

.main-menu .main-menu__list > li > ul > li > a,
.main-menu .main-menu__list > li > ul > li > ul > li > a,
.stricky-header .main-menu__list > li > ul > li > a,
.stricky-header .main-menu__list > li > ul > li > ul > li > a {
  padding: 11px 18px;
  font-size: 14px;
  line-height: 1.5;
}

.main-menu .main-menu__list > li > ul > li:hover > a,
.main-menu .main-menu__list > li > ul > li > ul > li:hover > a,
.main-menu .main-menu__list li ul li.current > a,
.stricky-header .main-menu__list > li > ul > li:hover > a,
.stricky-header .main-menu__list > li > ul > li > ul > li:hover > a,
.stricky-header .main-menu__list li ul li.current > a {
  background:
    linear-gradient(135deg, rgba(31, 111, 67, 0.94), rgba(215, 164, 55, 0.94)) !important;
  color: #ffffff !important;
}

.stricky-header.main-menu {
  background: rgba(12, 40, 21, 0.95);
  box-shadow: 0 14px 36px rgba(8, 25, 14, 0.18);
}

.stricky-header .main-menu__wrapper-inner {
  min-height: 78px;
  padding: 0 22px !important;
  border-radius: 0;
}

.main-menu__social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.main-menu__social a:hover {
  background: var(--smk-gold);
  border-color: var(--smk-gold);
}

.main-menu .mobile-nav__toggler {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
}

.mobile-nav__content {
  max-width: 360px;
  padding: 24px 20px 26px;
  background:
    linear-gradient(180deg, #11331e 0%, #174c2b 100%);
}

.mobile-nav__content .logo-box {
  margin-bottom: 24px;
}

.mobile-nav__content .main-menu__list > li > a,
.mobile-nav__content .main-menu__list > li > ul > li > a,
.mobile-nav__content .main-menu__list > li > ul > li > ul > li > a {
  min-height: 46px;
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 14px;
}

.mobile-nav__content .main-menu__list > li:not(:last-child),
.mobile-nav__content .main-menu__list > li > ul > li:not(:last-child),
.mobile-nav__content .main-menu__list > li > ul > li > ul > li:not(:last-child) {
  margin-bottom: 6px;
}

.mobile-nav__content .main-menu__list > li > ul,
.mobile-nav__content .main-menu__list > li > ul > li > ul {
  margin-top: 6px;
  padding-left: 10px;
}

.mobile-nav__content .main-menu__list > li > a > button,
.mobile-nav__content .main-menu__list > li > ul > li > a > button,
.mobile-nav__content .main-menu__list > li > ul > li > ul > li > a > button {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.mobile-nav__contact {
  margin-top: 16px;
  margin-bottom: 12px;
}

.main-slider {
  padding-top: 18px;
}

.main-slider__wrap {
  border-radius: 34px !important;
}

.counter-one {
  margin-top: -34px;
}

.counter-one__inner {
  margin-top: 0;
}

.services-two,
.about-one,
.brand-one,
.gallery-one,
.faq-one,
.testimonial-one,
.team-one,
.contact-one,
.blog-one,
.school-page-section {
  padding-top: 78px !important;
  padding-bottom: 78px !important;
}

.brand-one {
  padding-top: 44px !important;
  padding-bottom: 44px !important;
}

.brand-one__inner {
  background: linear-gradient(135deg, #102814 0%, #17341d 54%, #1d4728 100%) !important;
  border-radius: 34px !important;
  padding: 32px 28px 26px !important;
}

.brand-one__header {
  text-align: center;
  margin-bottom: 26px;
}

.brand-one__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #9fe3b3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-one__title {
  margin: 14px 0 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}

.sponsor-card {
  padding: 6px 10px;
}

.sponsor-card__body {
  min-height: 122px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.sponsor-card__body img {
  width: min(100%, 220px);
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.brand-one__single:hover .sponsor-card__body {
  transform: translateY(-4px);
  border-color: rgba(159, 227, 179, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

.testimonial-one__wrap {
  padding: 88px 18px 112px !important;
  border-radius: 48px !important;
  overflow: hidden !important;
}

.testimonial-one__wrap .section-title {
  margin-bottom: 42px !important;
  max-width: 720px;
}

.testimonial-one__carousel {
  max-width: 980px !important;
  padding: 0 90px 68px !important;
}

.testimonial-one__carousel.owl-carousel .owl-stage-outer {
  overflow: hidden !important;
}

.testimonial-one__single {
  min-height: 380px;
  margin-left: 0 !important;
  padding: 34px 120px 34px 40px !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

.testimonial-one__carousel.owl-carousel .owl-stage-outer .owl-item.active .testimonial-one__single {
  transform: translateY(0) !important;
}

.testimonial-one__client-info {
  margin-bottom: 18px !important;
}

.testimonial-one__client-name {
  font-size: 28px !important;
  line-height: 1.2 !important;
}

.testimonial-one__client-text {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.testimonial-one__text {
  font-size: 20px !important;
  line-height: 1.55 !important;
  max-width: 620px;
}

.testimonial-one__quote {
  top: 28px !important;
  right: 28px !important;
  width: 76px !important;
  height: 76px !important;
  background-color: #232323 !important;
}

.testimonial-one__quote span {
  font-size: 28px !important;
  color: #5cb85c !important;
}

.testimonial-one__carousel .owl-nav {
  position: absolute !important;
  top: -118px !important;
  right: 6px !important;
  margin: 0 !important;
}

.testimonial-one__carousel.owl-theme .owl-nav .owl-next,
.testimonial-one__carousel.owl-theme .owl-nav .owl-prev {
  width: 74px !important;
  height: 74px !important;
  line-height: 74px !important;
  background-color: #58ae4a !important;
}

.testimonial-one__carousel.owl-theme .owl-nav .owl-next:hover,
.testimonial-one__carousel.owl-theme .owl-nav .owl-prev:hover {
  background-color: #45913a !important;
}

.testimonial-one__carousel .owl-dots {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

.testimonial-one__carousel.owl-theme .owl-dots .owl-dot {
  width: 14px !important;
  height: 14px !important;
  background: rgba(255, 255, 255, 0.42) !important;
}

.testimonial-one__carousel.owl-theme .owl-dots .owl-dot.active {
  background: #ffffff !important;
}

.section-title,
.section-title-two {
  margin-bottom: 28px !important;
}

.section-title__title,
.section-title-two__title {
  margin-bottom: 0;
  line-height: 1.15;
}

.section-title__tagline-box,
.section-title-two__tagline-box {
  margin-bottom: 10px;
}

.about-one__left,
.about-one__right,
.gallery-one__top,
.blog-one__top {
  margin-bottom: 20px !important;
}

.gallery-one__top-text,
.blog-one__btn-box,
.about-one__btn-box {
  margin-top: 12px !important;
}

.services-two__single,
.gallery-one__single,
.testimonial-one__single,
.team-one__single,
.blog-one__single,
.school-card,
.school-stat,
.school-profile-card {
  margin-bottom: 0 !important;
}

.services-two__content,
.gallery-one__content,
.blog-one__content,
.team-one__content {
  padding-top: 18px;
}

.homepage-section-intro {
  max-width: 760px;
  margin: -6px auto 26px;
  color: #5b6678;
  font-size: 17px;
  line-height: 1.8;
}

.homepage-section-intro--left {
  max-width: 580px;
  margin: 8px 0 0;
}

.homepage-card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(31, 111, 67, 0.10);
  color: var(--smk-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.homepage-quick-visual {
  position: relative;
}

.homepage-quick-visual__overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(7, 20, 11, 0.14), rgba(7, 20, 11, 0.84));
  color: #ffffff;
}

.homepage-quick-visual__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.homepage-quick-visual__overlay h3 {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.homepage-quick-visual__overlay p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.homepage-quick-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.homepage-inline-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.homepage-inline-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 111, 67, 0.08);
  color: #254234;
  font-size: 13px;
  font-weight: 600;
}

.homepage-inline-points--light span {
  background: rgba(31, 111, 67, 0.10);
}

.homepage-inline-points--center {
  justify-content: center;
  margin: 0 auto 26px;
  max-width: 900px;
}

.homepage-inline-points--center span {
  min-height: 40px;
  padding: 0 18px;
  font-weight: 600;
}

.services-two__icon span,
.services-two__icon i {
  font-size: 48px !important;
  color: #16231b !important;
}

.school-page-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--smk-surface) 100%);
}

.school-page-section--white {
  background: #ffffff;
}

.school-card,
.school-stat,
.school-profile-card__body,
.school-hero-panel,
.school-cta-box {
  padding: 26px !important;
}

.school-grid-gap,
.row.school-grid-gap {
  row-gap: 22px !important;
}

.school-copy,
.school-card p,
.school-card li,
.school-meta,
.school-themed-page p {
  margin-bottom: 12px;
}

.school-copy:last-child,
.school-card p:last-child,
.school-card li:last-child,
.school-themed-page p:last-child {
  margin-bottom: 0;
}

.school-family-nav-wrap {
  padding-top: 14px !important;
}

.school-subnav,
.school-family-nav {
  gap: 10px;
  margin-bottom: 22px;
}

.school-subnav__link,
.school-family-nav a {
  min-height: 46px;
  padding: 0 18px;
  font-size: 14px;
}

.school-themed-page .page-header__wrap {
  padding: 80px 0 40px !important;
  min-height: 172px !important;
}

.school-themed-page .page-header__inner h2 {
  font-size: 42px !important;
  margin-bottom: 6px !important;
}

.faq-one .faq-one__inner-content {
  margin-top: 0 !important;
}

.faq-one .faq-one-accrodion .accrodion {
  margin-bottom: 14px;
  border-radius: 22px;
  overflow: hidden;
}

.faq-one .faq-one-accrodion .accrodion-title {
  padding-top: 24px;
  padding-bottom: 20px;
}

.faq-one .faq-one-accrodion .accrodion-content {
  padding-bottom: 22px;
}

.blog-one__single,
.testimonial-one__single,
.team-one__single,
.school-profile-card,
.school-card {
  border-radius: 24px;
  overflow: hidden;
}

.page-semua-berita .school-page-section,
.page-galeri-sekolah .school-page-section,
.school-themed-page .school-page-section {
  padding-top: 34px !important;
  padding-bottom: 64px !important;
}

@media (max-width: 1199px) {
  .main-header {
    padding: 0 12px;
  }

  .main-menu__wrapper-inner {
    min-height: 76px;
    padding: 14px 16px !important;
    border-radius: 20px;
  }

  .main-header__logo {
    padding: 0;
  }

  .main-header__logo img {
    max-width: 142px;
  }

  .main-menu__right {
    gap: 8px !important;
  }

  .main-menu__main-menu-box {
    margin-right: 0 !important;
  }

  .counter-one {
    margin-top: -18px;
  }

  .services-two,
  .about-one,
  .brand-one,
  .gallery-one,
  .faq-one,
  .testimonial-one,
  .team-one,
  .contact-one,
  .blog-one,
  .school-page-section {
    padding-top: 62px !important;
    padding-bottom: 62px !important;
  }

  .school-themed-page .page-header__wrap {
    padding: 74px 0 38px !important;
    min-height: 160px !important;
  }

  .school-themed-page .page-header__inner h2 {
    font-size: 34px !important;
  }

  .homepage-quick-visual__overlay h3 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .main-header {
    padding: 0 8px !important;
  }

  .main-menu__wrapper-inner {
    justify-content: flex-start !important;
    min-height: 68px;
    padding: 12px 12px !important;
    gap: 6px !important;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
  }

  .main-menu__left {
    order: 1;
    margin-right: auto !important;
  }

  .main-menu__right {
    order: 2;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 6px !important;
  }

  .main-menu__main-menu-box {
    order: 3;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .main-header__logo img {
    max-width: 118px;
  }

  .main-menu__social {
    gap: 6px !important;
  }

  .main-menu__social a,
  .main-menu .mobile-nav__toggler {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
  }

  .main-menu__social a span,
  .main-menu .mobile-nav__toggler i {
    color: #ffffff !important;
  }

  .main-menu .mobile-nav__toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav__content {
    max-width: 310px;
    padding: 20px 16px 20px;
  }

  .main-slider {
    padding-top: 10px;
  }

  .main-slider__wrap {
    border-radius: 24px !important;
  }

  .counter-one {
    margin-top: -10px;
  }

  .services-two,
  .about-one,
  .brand-one,
  .gallery-one,
  .faq-one,
  .testimonial-one,
  .team-one,
  .contact-one,
  .blog-one,
  .school-page-section {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  .brand-one {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .brand-one__inner {
    padding: 26px 18px 20px !important;
    border-radius: 24px !important;
  }

  .brand-one__title {
    font-size: 22px;
  }

  .sponsor-card__body {
    min-height: 108px;
    border-radius: 20px;
  }

  .sponsor-card__body img {
    height: 68px;
  }

  .testimonial-one__wrap {
    padding: 68px 14px 96px !important;
    border-radius: 32px !important;
  }

  .testimonial-one__carousel {
    max-width: 100% !important;
    padding: 0 0 60px !important;
  }

  .testimonial-one__single {
    min-height: auto;
    padding: 28px 28px 28px 28px !important;
  }

  .testimonial-one__client-name {
    font-size: 24px !important;
  }

  .testimonial-one__text {
    font-size: 18px !important;
    max-width: none;
  }

  .testimonial-one__quote {
    position: static !important;
    margin: 22px 0 0 auto;
    width: 62px !important;
    height: 62px !important;
  }

  .testimonial-one__carousel .owl-nav {
    top: -92px !important;
    right: 0 !important;
  }

  .testimonial-one__carousel.owl-theme .owl-nav .owl-next,
  .testimonial-one__carousel.owl-theme .owl-nav .owl-prev {
    width: 58px !important;
    height: 58px !important;
    line-height: 58px !important;
  }

  .site-footer__top-inner {
    padding: 40px 0 34px !important;
  }

  .site-footer__bottom-inner {
    padding: 16px 18px !important;
  }

  .section-title,
  .section-title-two {
    margin-bottom: 20px !important;
  }

  .school-card,
  .school-stat,
  .school-profile-card__body,
  .school-hero-panel,
  .school-cta-box {
    padding: 20px !important;
  }

  .school-family-nav-wrap,
  .school-subnav {
    margin-bottom: 18px;
  }

  .school-themed-page .page-header__wrap {
    padding: 68px 0 30px !important;
    min-height: 136px !important;
  }

  .school-themed-page .page-header__inner h2 {
    font-size: 28px !important;
  }

  .homepage-section-intro,
  .homepage-section-intro--left {
    margin: -4px 0 20px;
    font-size: 15px;
    line-height: 1.75;
  }

  .homepage-quick-visual__overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 14px 16px;
    border-radius: 18px;
  }

  .homepage-quick-visual__overlay h3 {
    font-size: 18px;
  }

  .homepage-inline-points {
    gap: 8px;
    margin-bottom: 16px;
  }

  .homepage-inline-points span {
    width: 100%;
    justify-content: center;
    font-size: 12px;
  }

  .homepage-quick-links {
    margin-top: 18px;
    gap: 10px;
  }

  .homepage-quick-links .thm-btn,
  .homepage-quick-links .thm-btn--outline {
    width: 100%;
    justify-content: center;
  }
}

/* Catch-all fixes for legacy subpages without page-specific body classes */
.page-header__shape-1,
.page-header__shape-2,
.page-header__shape-3,
.page-header__shape-4,
.page-header__shape-5,
.page-header__img-1,
.page-header__img-2 {
  display: none !important;
}

.page-header {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 77, 42, 0.76) 0%, rgba(28, 110, 63, 0.72) 55%, rgba(184, 143, 47, 0.58) 100%),
    url("../images/resources/smk-campus/campus-3.jpeg") center/cover no-repeat !important;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 36, 21, 0.52) 0%, rgba(10, 36, 21, 0.22) 42%, rgba(10, 36, 21, 0.48) 100%);
  opacity: 1;
  pointer-events: none;
}

.page-header__wrap {
  position: relative;
  z-index: 1;
  background: transparent !important;
  padding: 86px 0 42px !important;
  min-height: 188px !important;
}

.page-header__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: 760px;
}

.page-header__inner h2 {
  color: #ffffff !important;
  font-size: 44px !important;
  line-height: 1.08 !important;
  margin-bottom: 4px !important;
}

.page-header .thm-breadcrumb li,
.page-header .thm-breadcrumb li a,
.page-header .thm-breadcrumb li span {
  color: rgba(255, 255, 255, 0.94) !important;
}

.page-galeri-sekolah .main-menu__list > li:nth-child(4) > a,
.page-galeri-sekolah .stricky-header .main-menu__list > li:nth-child(4) > a {
  color: var(--crank-base) !important;
}

.page-galeri-sekolah .main-menu__list > li:nth-child(4) > a::before,
.page-galeri-sekolah .stricky-header .main-menu__list > li:nth-child(4) > a::before {
  transform: scale(1, 1) !important;
  opacity: 1 !important;
}

.page-galeri-sekolah .main-menu__list > li:nth-child(4) > a::after,
.page-galeri-sekolah .stricky-header .main-menu__list > li:nth-child(4) > a::after {
  color: var(--crank-base) !important;
}

.page-galeri-sekolah .main-menu__list > li:nth-child(4) > ul > li.current > a,
.page-galeri-sekolah .stricky-header .main-menu__list > li:nth-child(4) > ul > li.current > a,
.page-galeri-sekolah .stricky-header .main-menu__list > li:nth-child(4) > ul > li.current > a {
  background:
    linear-gradient(135deg, rgba(31, 111, 67, 0.94), rgba(215, 164, 55, 0.94)) !important;
  color: #ffffff !important;
}

@media (max-width: 1199px) {
  .main-menu__left {
    order: 1;
  }

  .main-menu__main-menu-box {
    order: 2;
    margin-left: auto !important;
  }

  .main-menu__right {
    order: 3;
    margin-left: 0 !important;
  }

  .main-menu .mobile-nav__toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .page-header__wrap {
    padding: 76px 0 38px !important;
    min-height: 164px !important;
  }

  .page-header__inner h2 {
    font-size: 34px !important;
  }

  .page-header::before {
    background: linear-gradient(90deg, rgba(10, 36, 21, 0.58) 0%, rgba(10, 36, 21, 0.28) 56%, rgba(10, 36, 21, 0.42) 100%);
  }
}

@media (max-width: 767px) {
  .page-header__wrap {
    padding: 66px 0 28px !important;
    min-height: 132px !important;
  }

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

  .page-header::before {
    background: linear-gradient(180deg, rgba(10, 36, 21, 0.38) 0%, rgba(10, 36, 21, 0.18) 40%, rgba(10, 36, 21, 0.50) 100%);
  }
}

/* Mobile navbar final alignment fix */
@media (max-width: 767px) {
  .main-menu__wrapper-inner {
    justify-content: flex-start !important;
  }

  .main-menu__left {
    order: 1 !important;
    margin-right: auto !important;
  }

  .main-menu__right {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
  }

  .main-menu__main-menu-box {
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
  }

  .main-menu__social {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .main-menu__social a,
  .main-menu .mobile-nav__toggler {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
  }

  .main-menu__social a span,
  .main-menu .mobile-nav__toggler i {
    color: #ffffff !important;
  }

  .main-menu .mobile-nav__toggler {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Final header cleanup */
.main-header {
  padding-left: 18px !important;
  padding-right: 18px !important;
  background: transparent !important;
}

.main-menu__social a:hover,
.main-menu__social a:focus,
.main-menu__social a:hover span,
.main-menu__social a:focus span {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.main-menu__social a::after {
  display: none !important;
}

@media (min-width: 768px) {
  .main-header__wrapper,
  .main-menu__wrapper {
    background: transparent !important;
  }
}

/* Header interaction adjustments */
.main-header__wrapper {
  background: transparent !important;
}

.main-header .main-menu__wrapper-inner {
  background:
    linear-gradient(135deg, #11371f, #1f6f43) !important;
  border-bottom-left-radius: 22px !important;
  border-bottom-right-radius: 22px !important;
  box-shadow: 0 22px 44px rgba(10, 35, 19, 0.18) !important;
}

.main-menu__social a:hover,
.main-menu__social a:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.main-menu__social a,
.main-menu__social a span,
.main-menu__social a span::before {
  color: #ffffff !important;
  opacity: 1 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.main-menu__social a span::before {
  font-size: 16px !important;
}

.main-menu__social a::after,
.main-menu__social a:hover::after,
.main-menu__social a:focus::after,
.main-menu__social a span::after,
.main-menu__social a span:hover::after,
.main-menu__social a span::before {
  background-color: transparent !important;
  background-image: none !important;
}

.main-menu__social a:hover span,
.main-menu__social a:focus span,
.main-menu__social a:hover span::before,
.main-menu__social a:focus span::before,
.main-menu__social a:hover .icon-instagram,
.main-menu__social a:focus .icon-instagram,
.main-menu__social a:hover .icon-phone,
.main-menu__social a:focus .icon-phone {
  color: #f1b24a !important;
}

.stricky-header.main-menu {
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.stricky-header .sticky-header__content,
.stricky-header .main-menu__wrapper,
.stricky-header .container,
.stricky-header .container-fluid {
  background: transparent !important;
}

.stricky-header .main-menu__wrapper-inner {
  background:
    linear-gradient(135deg, #11371f, #1f6f43) !important;
  min-height: 92px !important;
  padding: 0 28px !important;
  border-bottom-left-radius: 22px !important;
  border-bottom-right-radius: 22px !important;
  box-shadow: 0 22px 44px rgba(10, 35, 19, 0.18) !important;
}

.about-one__img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center center;
}

.contact-one__right .contact-one__img {
  overflow: hidden;
  border-radius: 32px;
}

.contact-one__right .contact-one__img > img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center center;
}

.contact-one__img-shape-1 {
  display: none !important;
}

.site-footer a,
.site-footer a:visited,
.site-footer .footer-widget__page-link-list a,
.site-footer .footer-widget__page-link-list a:visited,
.site-footer .footer-widget__page-link-list a p,
.site-footer .footer-widget__page-link-list a:visited p,
.site-footer .site-footer__bottom-menu a,
.site-footer .site-footer__bottom-menu a:visited,
.site-footer .site-footer__copyright-text a,
.site-footer .site-footer__copyright-text a:visited,
.site-footer .footer-widget__contact-text a,
.site-footer .footer-widget__contact-text a:visited {
  color: #ffffff !important;
}

.site-footer .footer-widget__page-link-list a span,
.site-footer .site-footer__bottom-menu a:hover,
.site-footer .site-footer__bottom-menu a:focus,
.site-footer .site-footer__copyright-text a:hover,
.site-footer .site-footer__copyright-text a:focus,
.site-footer .footer-widget__contact-text a:hover,
.site-footer .footer-widget__contact-text a:focus,
.site-footer .footer-widget__page-link-list a:hover p,
.site-footer .footer-widget__page-link-list a:focus p,
.site-footer .footer-widget__page-link-list a:hover span,
.site-footer .footer-widget__page-link-list a:focus span,
.site-footer .footer-widget__page-link-list li.current a p,
.site-footer .footer-widget__page-link-list li.current a span {
  color: #7fd39a !important;
}

.wa-inquiry-open {
  overflow: hidden;
}

.wa-inquiry-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.wa-inquiry-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wa-inquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 12, 0.68);
  backdrop-filter: blur(4px);
}

.wa-inquiry-modal__dialog {
  position: relative;
  width: min(100%, 560px);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf7 100%);
  border-radius: 28px;
  padding: 34px 34px 30px;
  box-shadow: 0 26px 70px rgba(8, 32, 17, 0.28);
  border: 1px solid rgba(31, 111, 67, 0.14);
  z-index: 1;
}

.wa-inquiry-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 55, 31, 0.08);
  color: #11371f;
  font-size: 28px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wa-inquiry-modal__close:hover,
.wa-inquiry-modal__close:focus {
  background: #1f6f43;
  color: #ffffff;
  transform: rotate(90deg);
}

.wa-inquiry-modal__header {
  margin-bottom: 22px;
  padding-right: 40px;
}

.wa-inquiry-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31, 111, 67, 0.1);
  color: #1f6f43;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.wa-inquiry-modal__header h3 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  color: #11371f;
}

.wa-inquiry-modal__header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4d6353;
}

.wa-inquiry-modal__form {
  display: grid;
  gap: 18px;
}

.wa-inquiry-modal__field label {
  display: block;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 700;
  color: #11371f;
}

.wa-inquiry-modal__field input,
.wa-inquiry-modal__field textarea {
  width: 100%;
  border: 1px solid rgba(17, 55, 31, 0.14);
  border-radius: 18px;
  background: #ffffff;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #11371f;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wa-inquiry-modal__field textarea {
  min-height: 140px;
  resize: vertical;
}

.wa-inquiry-modal__field input::placeholder,
.wa-inquiry-modal__field textarea::placeholder {
  color: #8a9a8d;
}

.wa-inquiry-modal__field input:focus,
.wa-inquiry-modal__field textarea:focus {
  outline: none;
  border-color: #1f6f43;
  box-shadow: 0 0 0 4px rgba(31, 111, 67, 0.12);
}

.wa-inquiry-modal__submit {
  width: 100%;
  justify-content: center;
  border-radius: 18px !important;
  min-height: 60px;
  background: linear-gradient(135deg, #11371f 0%, #1f6f43 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 36px rgba(17, 55, 31, 0.18);
}

.wa-inquiry-modal__submit:hover,
.wa-inquiry-modal__submit:focus {
  background: linear-gradient(135deg, #1f6f43 0%, #2d8b54 100%) !important;
  color: #ffffff !important;
}

@media (max-width: 767px) {
  .wa-inquiry-modal {
    padding: 16px;
    align-items: flex-end;
  }

  .wa-inquiry-modal__dialog {
    width: 100%;
    border-radius: 24px 24px 18px 18px;
    padding: 26px 20px 22px;
  }

  .wa-inquiry-modal__header {
    padding-right: 34px;
    margin-bottom: 18px;
  }

  .wa-inquiry-modal__header h3 {
    font-size: 26px;
  }

  .wa-inquiry-modal__header p {
    font-size: 15px;
    line-height: 1.6;
  }

  .wa-inquiry-modal__field input,
  .wa-inquiry-modal__field textarea {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .wa-inquiry-modal__submit {
    min-height: 56px;
  }
}

/* Final polish: responsive, footer consistency, and easier maintenance */
.site-footer__bottom {
  background: #1a643d !important;
  padding-bottom: 0 !important;
}

.site-footer__bottom .container,
.site-footer__bottom .row,
.site-footer__bottom .col-xl-12 {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-footer__bottom-inner {
  background: #1a643d !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 22px 38px !important;
  box-shadow: none !important;
}

.site-footer__copyright,
.site-footer__bottom-menu-box {
  display: flex;
  align-items: center;
}

.site-footer__bottom-menu-box {
  justify-content: flex-end;
}

.site-footer__bottom-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0 !important;
}

.site-footer__copyright-text {
  margin: 0 !important;
}

.services-two .row {
  row-gap: 30px;
}

.services-two .row > [class*="col-"] {
  display: block !important;
}

.services-two__single,
.services-two__img.homepage-quick-visual {
  width: 100%;
  margin-bottom: 0 !important;
}

.services-two__single {
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
  padding: 36px 34px 32px !important;
}

.services-two .col-xl-4 .services-two__single + .services-two__single {
  margin-top: 30px !important;
}

.services-two__icon {
  position: static !important;
  display: flex;
  justify-content: flex-end;
  margin: 0 0 14px;
  min-height: 54px;
}

.services-two__title {
  margin-bottom: 14px !important;
}

.services-two__text {
  margin-bottom: 0 !important;
}

.homepage-card-kicker {
  max-width: calc(100% - 74px);
  margin-bottom: 10px;
}

.homepage-quick-links {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  margin-bottom: 18px;
  padding-bottom: 8px;
}

.homepage-quick-links .thm-btn,
.homepage-quick-links .thm-btn--outline {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

.services-two {
  padding-bottom: 96px !important;
}

.services-two + .about-one {
  padding-top: 118px !important;
}

.main-slider__title,
.section-title__title,
.about-one__content-title,
.contact-one__title-box h3 {
  text-wrap: balance;
}

.site-footer__top .row > [class*="col-"] {
  margin-bottom: 22px;
}

@media (max-width: 991px) {
  .site-footer__top-inner {
    padding: 36px 0 28px !important;
  }

  .site-footer__bottom-inner {
    padding: 18px 20px !important;
  }

  .site-footer__copyright,
  .site-footer__bottom-menu-box {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .site-footer__bottom-menu {
    justify-content: center;
    gap: 10px 18px;
    margin-top: 10px !important;
  }
}

@media (max-width: 767px) {
  .site-footer__wrap {
    border-radius: 28px 28px 0 0 !important;
  }

  .site-footer__bottom-inner {
    padding: 16px 16px 18px !important;
  }

  .main-slider__title {
    font-size: clamp(38px, 11vw, 56px) !important;
    line-height: 0.98 !important;
  }

  .main-slider__text {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  .homepage-inline-points {
    gap: 10px;
  }

  .homepage-inline-points span {
    width: 100%;
    justify-content: center;
  }

  .services-two .row {
    row-gap: 18px;
  }

  .services-two .col-xl-4 .services-two__single + .services-two__single {
    margin-top: 18px !important;
  }

  .services-two__single {
    padding: 28px 22px 24px !important;
  }

  .services-two__icon {
    min-height: 44px;
    margin-bottom: 12px;
  }

  .services-two {
    padding-bottom: 58px !important;
  }

  .services-two + .about-one {
    padding-top: 58px !important;
  }
}

.page-header__img-1 {
  right: 38px !important;
  bottom: 0 !important;
  width: min(24vw, 320px);
  max-width: 320px;
  overflow: hidden;
  border-top-left-radius: 28px;
}

.page-header__img-1 img {
  width: 100% !important;
  height: 290px;
  object-fit: cover;
  object-position: center center;
  border-top-left-radius: 28px;
}

@media (max-width: 767px) {
  .main-header {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .main-menu__wrapper-inner {
    justify-content: space-between !important;
    position: relative !important;
    padding-right: 108px !important;
  }

  .main-menu__right {
    position: absolute !important;
    top: 50% !important;
    right: 56px !important;
    transform: translateY(-50%) !important;
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    z-index: 3 !important;
  }

  .main-menu__main-menu-box {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    z-index: 4 !important;
  }

  .main-menu .mobile-nav__toggler {
    margin: 0 !important;
  }

  .about-one__img img,
  .contact-one__right .contact-one__img > img {
    height: auto;
  }

  .page-header__img-1 {
    width: min(42vw, 220px);
    right: 12px !important;
  }

  .page-header__img-1 img {
    height: 180px;
  }
}

/* Attendance app refresh */
.attendance-app {
  display: grid;
  gap: 22px;
}

.attendance-hero,
.attendance-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.attendance-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px;
}

.attendance-eyebrow,
.attendance-panel__head span,
.attendance-coordinate-card span,
.attendance-field span,
.attendance-form-grid label span {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 7px;
}

.attendance-hero h2,
.attendance-panel__head h3 {
  margin: 0;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: 0;
}

.attendance-hero h2 {
  font-size: 34px;
  line-height: 1.12;
}

.attendance-hero p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #475569;
}

.attendance-today {
  flex: 0 0 auto;
  min-width: 138px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  text-align: center;
}

.attendance-stat-grid,
.attendance-month-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.attendance-stat {
  min-height: 88px;
  padding: 19px 22px;
  border-radius: 12px;
  color: #0f172a;
}

.attendance-stat strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.attendance-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.72);
}

.attendance-stat.is-present,
.attendance-calendar__cell.is-present,
.attendance-pill.is-present {
  background: #bbf7d0;
}

.attendance-stat.is-permit,
.attendance-calendar__cell.is-permit,
.attendance-pill.is-permit {
  background: #bfdbfe;
}

.attendance-stat.is-sick,
.attendance-calendar__cell.is-sick,
.attendance-pill.is-sick {
  background: #e9d5ff;
}

.attendance-stat.is-absent,
.attendance-calendar__cell.is-absent,
.attendance-pill.is-absent {
  background: #fecaca;
}

.attendance-panel {
  padding: 26px;
}

.attendance-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.attendance-panel__head > i {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 20px;
}

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

.attendance-scan-frame {
  position: relative;
  min-height: 305px;
  margin: 18px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px dashed #475569;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.88)),
    radial-gradient(circle at center, rgba(255,255,255,0.14), transparent 58%);
  color: #ffffff;
  text-align: center;
}

.attendance-scan-frame i {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 28px;
}

.attendance-scan-frame strong,
.attendance-scan-frame span {
  display: block;
}

.attendance-scan-frame strong {
  font-size: 22px;
}

.attendance-scan-frame span {
  max-width: 280px;
  margin: 8px auto 0;
  color: rgba(255, 255, 255, 0.78);
}

.attendance-scan-frame.is-ok {
  border-color: #22c55e;
  background:
    linear-gradient(135deg, rgba(20, 83, 45, 0.9), rgba(21, 128, 61, 0.86)),
    radial-gradient(circle at center, rgba(255,255,255,0.16), transparent 58%);
}

.attendance-scan-frame.is-warning {
  border-color: #f59e0b;
}

.attendance-scan-corner {
  position: absolute;
  width: 58px;
  height: 58px;
  border-color: #ffffff;
}

.attendance-scan-corner--tl {
  top: 52px;
  left: 78px;
  border-top: 7px solid;
  border-left: 7px solid;
}

.attendance-scan-corner--tr {
  top: 52px;
  right: 78px;
  border-top: 7px solid;
  border-right: 7px solid;
}

.attendance-scan-corner--bl {
  bottom: 52px;
  left: 78px;
  border-bottom: 7px solid;
  border-left: 7px solid;
}

.attendance-scan-corner--br {
  right: 78px;
  bottom: 52px;
  border-right: 7px solid;
  border-bottom: 7px solid;
}

.attendance-location-status {
  padding: 13px 15px;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-weight: 700;
}

.attendance-field {
  display: block;
  margin-top: 16px;
}

.attendance-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.attendance-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff !important;
  font-weight: 800;
  padding: 0 18px;
}

.attendance-action--ghost {
  background: #eef2ff;
  color: #3730a3 !important;
}

.attendance-coordinate-card {
  padding: 20px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.attendance-coordinate-card strong,
.attendance-coordinate-card small {
  display: block;
}

.attendance-coordinate-card strong {
  color: #0f172a;
  font-size: 20px;
  line-height: 1.35;
  word-break: break-word;
}

.attendance-coordinate-card small {
  margin-top: 10px;
  color: #64748b;
  line-height: 1.6;
}

.attendance-month-filter {
  display: flex;
  gap: 8px;
}

.attendance-month-filter input,
.attendance-month-filter button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  padding: 0 12px;
}

.attendance-month-filter button {
  width: 46px;
}

.attendance-note {
  color: #475569;
  margin-top: -8px;
  margin-bottom: 18px;
}

.attendance-calendar-wrap {
  display: grid;
  grid-template-columns: minmax(340px, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.attendance-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid #cbd5e1;
  overflow: hidden;
}

.attendance-calendar__day,
.attendance-calendar__cell {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  color: #334155;
}

.attendance-calendar__day {
  min-height: 44px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
}

.attendance-calendar__cell {
  background: #e2e8f0;
}

.attendance-calendar__cell.is-empty {
  background: #f8fafc;
}

.attendance-calendar__cell strong {
  margin-top: 4px;
}

.is-sunday-text {
  color: #dc2626 !important;
}

.is-friday-text {
  color: #16a34a !important;
}

.attendance-month-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.attendance-month-stats .attendance-stat {
  min-height: 78px;
}

.attendance-month-stats .attendance-stat strong {
  font-size: 22px;
}

.attendance-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 98px;
  border-radius: 999px;
  padding: 0 12px;
  color: #0f172a;
  font-weight: 800;
}

.attendance-table td,
.attendance-table th {
  vertical-align: middle;
}

@media (max-width: 1199px) {
  .attendance-stat-grid,
  .attendance-calendar-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .attendance-hero,
  .attendance-panel__head,
  .attendance-calendar-wrap {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .attendance-hero,
  .attendance-panel {
    padding: 20px;
    border-radius: 16px;
  }

  .attendance-hero h2 {
    font-size: 27px;
  }

  .attendance-stat-grid,
  .attendance-month-stats,
  .attendance-form-grid,
  .attendance-actions {
    grid-template-columns: 1fr;
  }

  .attendance-stat {
    min-height: 72px;
  }

  .attendance-stat strong {
    font-size: 22px;
  }

  .attendance-scan-frame {
    min-height: 265px;
  }

  .attendance-scan-corner--tl,
  .attendance-scan-corner--bl {
    left: 38px;
  }

  .attendance-scan-corner--tr,
  .attendance-scan-corner--br {
    right: 38px;
  }

  .attendance-calendar-wrap {
    display: block;
    overflow-x: auto;
  }

  .attendance-calendar {
    min-width: 430px;
    margin-bottom: 16px;
  }
}
.salary-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.salary-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #526070;
  font-size: 13px;
  font-weight: 700;
}

.salary-form-grid__wide {
  grid-column: span 2;
}

.salary-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.salary-actions form {
  margin: 0;
}

.school-print-header {
  display: none;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 3px solid #167a3b;
}

.school-print-header img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.school-print-header strong,
.school-print-header span,
.school-print-header small,
.school-print-header em {
  display: block;
  line-height: 1.25;
}

.school-print-header strong {
  color: #172033;
  font-size: 22px;
  letter-spacing: 0;
}

.school-print-header span {
  color: #167a3b;
  font-weight: 700;
}

.school-print-header small {
  color: #526070;
}

.school-print-header em {
  margin-top: 6px;
  color: #172033;
  font-style: normal;
  font-weight: 700;
}

.school-admin-small-btn--danger {
  background: #e84d5b !important;
}

.school-access-denied {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  filter: none;
}

.school-access-denied::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(3px);
  pointer-events: none;
}

.school-access-denied i {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #eef8f2;
  color: #167a3b;
  font-size: 30px;
  margin-bottom: 16px;
}

.teacher-access-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.teacher-access-menu {
  grid-column: 1 / -1;
}

.teacher-access-menu summary {
  cursor: pointer;
  border: 1px solid #d9dee7;
  border-radius: 6px;
  padding: 8px 10px;
  font-weight: 800;
  color: #167a3b;
}

.teacher-access-menu[open] summary {
  margin-bottom: 8px;
}

.student-violation-table th,
.student-violation-table td {
  padding: 7px 9px !important;
  font-size: 12px;
}

.student-point-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 8px;
}

.student-point-form label {
  margin: 0;
}

.student-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}

.student-pagination span {
  font-weight: 800;
  color: #526070;
}

@media (max-width: 767px) {
  .student-point-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .salary-form-grid {
    grid-template-columns: 1fr;
  }

  .salary-form-grid__wide {
    grid-column: auto;
  }
}

@media print {
  .school-admin-sidebar,
  .school-admin-menu,
  .school-admin-toplink,
  .school-admin-logout,
  .no-print {
    display: none !important;
  }

  .school-admin-body {
    background: #fff !important;
  }

  .school-admin-shell {
    display: block !important;
    min-height: auto !important;
  }

  .school-admin-main {
    padding: 0 !important;
  }

  .school-admin-panel,
  .attendance-panel {
    box-shadow: none !important;
    break-inside: avoid;
  }

  .school-print-header {
    display: flex !important;
  }
}
