/* ==========================================================
   MA Nurul Hidayah Majalangu — Custom Theme
   Palette: Navy #0C1F3F · Blue #2563EB · White
   Font: Plus Jakarta Sans
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* --- Design Tokens --- */
:root {
  /* Core palette */
  --ma-navy:        #0C1F3F;
  --ma-navy-dark:   #071428;
  --ma-navy-mid:    #1A3A6B;
  --ma-navy-light:  #2452A4;

  /* OSIS Blue — primary accent */
  --ma-blue:        #2563EB;
  --ma-blue-light:  #3B82F6;
  --ma-blue-dark:   #1D4ED8;
  --ma-blue-pale:   #EFF6FF;
  --ma-blue-mid:    #BFDBFE;
  --ma-blue-vivid:  #60A5FA;

  /* Supporting */
  --ma-green:       #059669;
  --ma-green-light: #10B981;

  /* Neutrals */
  --ma-white:   #FFFFFF;
  --ma-off:     #F4F7FF;
  --ma-surface: #EEF3FF;
  --ma-muted:   #64748B;
  --ma-text:    #1E293B;
  --ma-border:  #CBD5E1;
  --ma-dark-bg: #071428;

  /* Typography */
  --ma-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(12, 31, 63, 0.07);
  --shadow-card: 0 4px 20px rgba(12, 31, 63, 0.10);
  --shadow-hover: 0 16px 40px rgba(12, 31, 63, 0.18);
  --shadow-blue: 0 8px 28px rgba(37, 99, 235, 0.30);

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-mid:    0.25s ease;
  --t-slow:   0.4s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ma-font) !important;
  color: var(--ma-text);
  background: var(--ma-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ma-font) !important;
  color: var(--ma-navy);
  font-weight: 700;
}

h1 { outline: none; }

:focus-visible {
  outline: 3px solid var(--ma-blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

a, button, [role="button"], summary, label[for] {
  cursor: pointer;
}

img { max-width: 100%; height: auto; }

/* --- Scroll reveal & Hero entrance --- */
@keyframes maFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ma-hero .reveal {
  animation: maFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ma-hero .reveal-delay-1 { animation-delay: 0.1s; }
.ma-hero .reveal-delay-2 { animation-delay: 0.2s; }
.ma-hero .reveal-delay-3 { animation-delay: 0.3s; }

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-ready .reveal.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.header.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  font-family: var(--ma-font) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 1px 20px rgba(12, 31, 63, 0.06);
}

.dark-mode .offcanvas {
  background-color: var(--ma-navy-dark);
  color: #E2E8F0;
}

/* --- Navbar Action Buttons (E-Learning & Simulasi) --- */
.btn-elearning-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 1rem;
  background: var(--ma-blue);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  text-decoration: none;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.55);
  animation: maNavGlow 2.4s ease-in-out infinite;
  transition: transform var(--t-fast), background var(--t-fast);
}

.btn-elearning-glow:hover {
  background: var(--ma-blue-dark);
  transform: translateY(-1px);
}

@keyframes maNavGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(37, 99, 235, 0.45); }
  50%      { box-shadow: 0 0 20px rgba(59, 130, 246, 0.85); }
}

.btn-simulasi {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  background: transparent;
  color: var(--ma-navy) !important;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid var(--ma-border);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}

.btn-simulasi:hover {
  border-color: var(--ma-blue);
  color: var(--ma-blue) !important;
  background: var(--ma-blue-pale);
}

.dark-mode .btn-simulasi {
  color: #E2E8F0 !important;
  border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .btn-simulasi:hover {
  border-color: var(--ma-blue-vivid);
  color: var(--ma-blue-vivid) !important;
  background: rgba(37, 99, 235, 0.12);
}

/* Icon-inside-toggle theme switch */
.ma-mode-icons {
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.ma-mode-icons .form-check-input {
  width: 3.1rem;
  height: 1.65rem;
  margin-left: 0;
  cursor: pointer;
  background-color: #E2E8F0;
  border: 1px solid var(--ma-border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F59E0B'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath stroke='%23F59E0B' stroke-width='2' stroke-linecap='round' d='M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M4.93 19.07l1.41-1.41m11.32-11.32l1.41-1.41'/%3E%3C/svg%3E");
  background-size: 1.15rem;
  background-position: left 0.22rem center;
  transition: background-position 0.2s ease, background-color 0.2s ease;
}

.ma-mode-icons .form-check-input:checked {
  background-color: var(--ma-navy-mid);
  border-color: var(--ma-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2360A5FA'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
  background-position: right 0.22rem center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.navbar-brand img {
  height: 44px;
  width: auto;
}

.navbar-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-brand-name span:first-child {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ma-navy);
  letter-spacing: -0.01em;
}

.navbar-brand-name span:last-child {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--ma-muted);
  letter-spacing: 0.03em;
}

.nav-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ma-navy) !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ma-blue) !important;
  background: rgba(37, 99, 235, 0.07);
}

.nav-link.active {
  color: var(--ma-blue) !important;
}

.dropdown-menu {
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(12, 31, 63, 0.14);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  color: var(--ma-navy);
  transition: background var(--t-fast), color var(--t-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--ma-blue-pale);
  color: var(--ma-blue-dark);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-ma-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.85rem;
  background: var(--ma-blue);
  color: #fff;
  font-family: var(--ma-font);
  font-weight: 700;
  font-size: 0.925rem;
  border: 2px solid var(--ma-blue);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background var(--t-mid), box-shadow var(--t-mid), transform var(--t-fast);
  cursor: pointer;
}

.btn-ma-primary:hover,
.btn-ma-primary:focus-visible {
  background: var(--ma-blue-dark);
  border-color: var(--ma-blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-ma-primary i {
  transition: transform var(--t-fast);
}

.btn-ma-primary:hover i {
  transform: translateX(3px);
}

.btn-ma-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.85rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--ma-font);
  font-weight: 600;
  font-size: 0.925rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: border-color var(--t-mid), background var(--t-mid), color var(--t-mid);
  cursor: pointer;
}

.btn-ma-outline:hover,
.btn-ma-outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-ma-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: var(--ma-blue);
  font-family: var(--ma-font);
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid var(--ma-blue);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background var(--t-mid), color var(--t-mid), box-shadow var(--t-mid);
  cursor: pointer;
}

.btn-ma-outline-navy:hover,
.btn-ma-outline-navy:focus-visible {
  background: var(--ma-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

/* ============================================================
   HERO
   ============================================================ */
.ma-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ma-navy-dark);
}

/* Animated gradient mesh background */
.ma-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(37, 99, 235, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(26, 58, 107, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Geometric tile pattern — Islamic-inspired lattice */
.ma-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-conic-gradient(
      rgba(255, 255, 255, 0.025) 0deg 45deg,
      transparent 45deg 90deg
    );
  background-size: 32px 32px;
  pointer-events: none;
}

/* Top photo strip — real school image overlaid right side */
.ma-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  pointer-events: none;
}

.ma-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ma-hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    var(--ma-navy-dark) 0%,
    rgba(7, 20, 40, 0.65) 35%,
    rgba(7, 20, 40, 0.1) 100%
  );
  z-index: 1;
}

.ma-hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ma-navy-dark) 0%, transparent 30%);
  z-index: 2;
}

/* Content wrapper */
.ma-hero__inner {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 5rem 0 3rem;
}

.ma-hero__inner > .row {
  width: 100%;
}

.ma-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--ma-blue-vivid);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.5rem;
}

.ma-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ma-blue-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.ma-hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.ma-hero__title em {
  font-style: normal;
  color: var(--ma-blue-vivid);
  position: relative;
}

.ma-hero__title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ma-blue-light);
  border-radius: 2px;
  opacity: 0.5;
}

.ma-hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.ma-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

/* Stats strip attached to bottom of hero */
.ma-hero__stats-bar {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem 0;
}

.ma-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.ma-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ma-hero__stat:last-child {
  border-right: none;
}

.ma-hero__stat-num {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ma-hero__stat-suffix {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  color: var(--ma-blue-vivid);
}

.ma-hero__stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: center;
}

/* ============================================================
   SECTION SYSTEM
   ============================================================ */
.ma-section {
  padding: 5.5rem 0;
}

.ma-section--alt {
  background: var(--ma-off);
}

.ma-section--navy {
  background: var(--ma-navy);
  color: white;
}

.ma-section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ma-blue);
  margin-bottom: 0.6rem;
}

.ma-section__label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--ma-blue);
  border-radius: 2px;
}

.ma-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--ma-navy);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.ma-section--navy .ma-section__title {
  color: white;
}

.ma-section__body {
  font-size: 1rem;
  color: var(--ma-muted);
  line-height: 1.8;
  max-width: 580px;
}

.ma-section--navy .ma-section__body {
  color: rgba(255, 255, 255, 0.70);
}

/* Legacy gold rule — now blue */
.ma-rule {
  display: none;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.ma-trust-strip {
  background: var(--ma-navy);
  padding: 1.1rem 0;
  overflow: hidden;
}

.ma-trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 2rem;
}

.ma-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.ma-trust-item i {
  color: var(--ma-blue-vivid);
  font-size: 1rem;
}

.ma-trust-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============================================================
   ABOUT / PILLARS
   ============================================================ */
.ma-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.ma-pillar {
  background: white;
  border: 1px solid var(--ma-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: box-shadow var(--t-mid), transform var(--t-mid), border-color var(--t-mid);
  position: relative;
  overflow: hidden;
}

.ma-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--ma-blue);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: height var(--t-mid);
}

.ma-pillar:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.2);
}

.ma-pillar:hover::before {
  height: 100%;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.ma-pillar__icon {
  width: 48px;
  height: 48px;
  background: var(--ma-blue-pale);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ma-blue);
  margin-bottom: 1.1rem;
  transition: background var(--t-mid), color var(--t-mid);
}

.ma-pillar:hover .ma-pillar__icon {
  background: var(--ma-blue);
  color: white;
}

.ma-pillar__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ma-navy);
  margin-bottom: 0.5rem;
}

.ma-pillar__text {
  font-size: 0.875rem;
  color: var(--ma-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   ACHIEVEMENT SECTION
   ============================================================ */
.ma-prestasi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ma-prestasi-table thead th {
  background: var(--ma-navy);
  color: white;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.9rem 1.1rem;
  text-align: left;
}

.ma-prestasi-table thead th:first-child { border-radius: var(--r-sm) 0 0 0; }
.ma-prestasi-table thead th:last-child  { border-radius: 0 var(--r-sm) 0 0; }

.ma-prestasi-table tbody tr {
  border-bottom: 1px solid var(--ma-border);
  transition: background var(--t-fast);
}

.ma-prestasi-table tbody tr:hover {
  background: var(--ma-blue-pale);
}

.ma-prestasi-table tbody td {
  padding: 0.9rem 1.1rem;
  color: var(--ma-text);
  vertical-align: middle;
}

/* Badge juara */
.badge-juara {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

.badge-juara--1 {
  background: rgba(234, 179, 8, 0.12);
  color: #92700A;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.badge-juara--2 {
  background: rgba(100, 116, 139, 0.1);
  color: #334155;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.badge-juara--3 {
  background: rgba(180, 83, 42, 0.1);
  color: #9A3412;
  border: 1px solid rgba(180, 83, 42, 0.3);
}

/* Achievement highlight cards on homepage */
.ma-achievement-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.ma-achievement-card {
  background: white;
  border: 1px solid var(--ma-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}

.ma-achievement-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.ma-achievement-card__rank {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.ma-achievement-card--gold .ma-achievement-card__rank { color: #D97706; }
.ma-achievement-card--silver .ma-achievement-card__rank { color: #64748B; }
.ma-achievement-card--bronze .ma-achievement-card__rank { color: #B45309; }

.ma-achievement-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ma-navy);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.ma-achievement-card__meta {
  font-size: 0.78rem;
  color: var(--ma-muted);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ma-achievement-card__level {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ma-blue);
  margin-bottom: 0.5rem;
}

.ma-achievement-card__bg-num {
  position: absolute;
  bottom: -0.5rem;
  right: 0.75rem;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.045;
  color: var(--ma-navy);
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   EKSKUL CARDS
   ============================================================ */
.ma-ekskul-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ma-ekskul-card {
  background: white;
  border: 1px solid var(--ma-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-mid), transform var(--t-mid), border-color var(--t-mid);
  text-decoration: none;
  color: inherit;
}

.ma-ekskul-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.25);
}

.ma-ekskul-card__img-wrap {
  position: relative;
  overflow: hidden;
}

.ma-ekskul-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.ma-ekskul-card:hover .ma-ekskul-card__img {
  transform: scale(1.06);
}

.ma-ekskul-card__body {
  padding: 1.25rem 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ma-ekskul-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ma-navy);
  margin: 0;
}

.ma-ekskul-card__pembina {
  font-size: 0.8rem;
  color: var(--ma-muted);
  margin: 0;
}

.ma-ekskul-card__jadwal {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ma-blue);
  margin-top: auto;
  padding-top: 0.6rem;
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.ma-quote-section {
  background: var(--ma-navy);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.ma-quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 15% 50%, rgba(37,99,235,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 50%, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ma-quote-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(
    rgba(255,255,255,0.015) 0deg 45deg,
    transparent 45deg 90deg
  );
  background-size: 24px 24px;
  pointer-events: none;
}

.ma-quote__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ma-quote__ornament::before,
.ma-quote__ornament::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: rgba(37, 99, 235, 0.4);
}

.ma-quote__ornament-icon {
  width: 44px;
  height: 44px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--ma-blue-vivid);
}

.ma-quote__text {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: white;
  line-height: 1.65;
  font-style: italic;
  max-width: 760px;
  margin: 0 auto 1.25rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ma-quote__source {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ma-blue-vivid);
  letter-spacing: 0.04em;
  text-align: center;
  display: block;
  position: relative;
  z-index: 1;
  font-style: normal;
}

/* ============================================================
   PARTNER STRIP
   ============================================================ */
.ma-partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 3rem;
  padding: 2.5rem 0 1.5rem;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}

.ma-partner-strip:hover {
  opacity: 0.9;
  filter: grayscale(40%);
}

.ma-partner-strip img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.ma-cta-banner {
  background: linear-gradient(135deg, var(--ma-navy) 0%, var(--ma-navy-mid) 100%);
  border-radius: var(--r-2xl);
  padding: 3.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.ma-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(
    rgba(255,255,255,0.025) 0deg 45deg,
    transparent 45deg 90deg
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.ma-cta-banner::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  pointer-events: none;
}

.ma-cta-banner__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: white;
  margin: 0 0 0.5rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.ma-cta-banner__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  position: relative;
  z-index: 1;
}

.ma-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ma-footer {
  background: var(--ma-navy-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 5rem 0 0;
}

.ma-footer__brand {
  margin-bottom: 1rem;
}

.ma-footer__brand img {
  height: 52px;
  width: auto;
}

.ma-footer__tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.5rem 0 0;
  line-height: 1.6;
}

.ma-footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ma-blue-vivid);
  margin-bottom: 1.25rem;
}

.ma-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ma-footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.60);
  text-decoration: none;
  transition: color var(--t-fast), padding-left var(--t-fast);
  display: inline-block;
}

.ma-footer__links a:hover,
.ma-footer__links a:focus-visible {
  color: var(--ma-blue-vivid);
  padding-left: 4px;
}

.ma-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: 0.75rem;
}

.ma-footer__contact-item i {
  color: var(--ma-blue-vivid);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.ma-footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.ma-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--t-mid), color var(--t-mid), transform var(--t-fast);
}

.ma-footer__social a:hover,
.ma-footer__social a:focus-visible {
  background: var(--ma-blue);
  color: white;
  transform: translateY(-2px);
}

.ma-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem 0;
  margin-top: 4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}

.ma-footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--t-fast);
}

.ma-footer__bottom a:hover {
  color: var(--ma-blue-vivid);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.ma-page-header {
  background: linear-gradient(135deg, var(--ma-navy-dark) 0%, var(--ma-navy) 100%);
  padding: 7rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.ma-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(
    rgba(255,255,255,0.02) 0deg 45deg,
    transparent 45deg 90deg
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.ma-page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--ma-blue-dark), var(--ma-blue), var(--ma-blue-light));
}

.ma-page-header__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.ma-page-header__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.60);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.ma-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

.ma-breadcrumb li + li::before {
  content: '/';
  margin-right: 0.4rem;
  opacity: 0.4;
}

.ma-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--t-fast);
}

.ma-breadcrumb a:hover { color: var(--ma-blue-vivid); }
.ma-breadcrumb li:last-child { color: var(--ma-blue-vivid); }

/* ============================================================
   VISI MISI PAGE
   ============================================================ */
.ma-visi-box {
  background: var(--ma-navy);
  color: white;
  border-radius: var(--r-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.ma-visi-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 100% 100%, rgba(37,99,235,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ma-visi-box__quote {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.65;
  color: white;
  margin: 0;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.ma-visi-box__quote::before {
  content: '\201C';
  font-size: 3.5rem;
  color: var(--ma-blue-vivid);
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
  font-style: normal;
}

.ma-misi-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ma-border);
}

.ma-misi-item:last-child { border-bottom: none; }

.ma-misi-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--ma-blue);
  color: white;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

.ma-misi-text {
  font-size: 0.95rem;
  color: var(--ma-text);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   KEPALA MADRASAH
   ============================================================ */
.ma-kepsek {
  background: var(--ma-navy-dark);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.ma-kepsek__photo {
  flex: 0 0 280px;
  min-height: 360px;
  background-size: cover;
  background-position: top center;
  position: relative;
}

.ma-kepsek__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--ma-navy-dark));
}

.ma-kepsek__content {
  flex: 1;
  padding: 2.5rem;
  min-width: 260px;
}

.ma-kepsek__role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ma-blue-vivid);
  margin-bottom: 0.5rem;
}

.ma-kepsek__name {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.ma-kepsek__message {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.8;
}

/* ============================================================
   BERITA CARDS
   ============================================================ */
.ma-berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ma-berita-card {
  background: white;
  border: 1px solid var(--ma-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-mid), transform var(--t-mid);
  display: flex;
  flex-direction: column;
}

.ma-berita-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.ma-berita-card__cat {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ma-blue);
  background: var(--ma-blue-pale);
  border-radius: var(--r-sm);
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.6rem;
}

.ma-berita-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ma-berita-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ma-navy);
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.ma-berita-card__excerpt {
  font-size: 0.875rem;
  color: var(--ma-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.ma-berita-card__footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--ma-border);
  font-size: 0.75rem;
  color: var(--ma-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============================================================
   ABOUT VISUAL
   ============================================================ */
.ma-about__visual { position: relative; }

.ma-about__img {
  width: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

.ma-about__badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--ma-navy);
  color: white;
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.ma-about__badge-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ma-blue-vivid);
  display: block;
  line-height: 1;
}

.ma-about__badge-text {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
  display: block;
}

/* ============================================================
   SCROLL TOP BUTTON
   ============================================================ */
.btn-scroll-top {
  border-radius: var(--r-md);
  background: var(--ma-blue);
  color: white;
  border: none;
  transition: background var(--t-fast), transform var(--t-fast);
}

.btn-scroll-top:hover {
  background: var(--ma-blue-dark);
  transform: translateY(-2px);
}

/* ============================================================
   SWIPER OVERRIDES
   ============================================================ */
.swiper-pagination-bullet-active { background: var(--ma-blue) !important; }
.swiper-button-prev, .swiper-button-next { color: var(--ma-blue) !important; }

/* ============================================================
   DARK MODE
   ============================================================ */
.dark-mode body {
  background: var(--ma-dark-bg);
  color: #E2E8F0;
}

.dark-mode .header.navbar {
  background: rgba(7, 20, 40, 0.97) !important;
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.dark-mode .nav-link { color: #E2E8F0 !important; }
.dark-mode .nav-link:hover { color: var(--ma-blue-vivid) !important; }
.dark-mode .navbar-brand-name span:first-child { color: #F1F5F9; }
.dark-mode .navbar-brand-name span:last-child { color: rgba(226, 232, 240, 0.7); }

.dark-mode h1, .dark-mode h2, .dark-mode h3,
.dark-mode h4, .dark-mode h5, .dark-mode h6,
.dark-mode .h1, .dark-mode .h2, .dark-mode .h3,
.dark-mode .h4, .dark-mode .h5, .dark-mode .h6 {
  color: #F1F5F9;
}

.dark-mode .ma-section__title { color: #F1F5F9; }
.dark-mode .ma-section__body { color: rgba(226, 232, 240, 0.70); }
.dark-mode .ma-section--alt { background: #0D1E35; }

.dark-mode .ma-pillar {
  background: #0F2440;
  border-color: rgba(255, 255, 255, 0.07);
}
.dark-mode .ma-pillar:hover { background: #162E50; border-color: rgba(37,99,235,0.3); }
.dark-mode .ma-pillar__title { color: #F1F5F9; }
.dark-mode .ma-pillar__text { color: rgba(226, 232, 240, 0.65); }
.dark-mode .ma-pillar__icon { background: rgba(37, 99, 235, 0.15); }

.dark-mode .ma-ekskul-card,
.dark-mode .ma-berita-card,
.dark-mode .ma-achievement-card {
  background: #0F2440;
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .ma-ekskul-card__name,
.dark-mode .ma-berita-card__title,
.dark-mode .ma-achievement-card__title { color: #F1F5F9; }

.dark-mode .ma-ekskul-card__pembina,
.dark-mode .ma-berita-card__excerpt,
.dark-mode .ma-achievement-card__meta { color: rgba(226,232,240,0.60); }

.dark-mode .ma-berita-card__footer { border-top-color: rgba(255,255,255,0.07); }

.dark-mode .table-responsive.bg-white {
  background-color: #0F2440 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark-mode .ma-prestasi-table tbody td { color: #CBD5E1; }
.dark-mode .ma-prestasi-table tbody td strong { color: #F1F5F9; }
.dark-mode .ma-prestasi-table tbody tr:hover { background: rgba(37,99,235,0.08); }
.dark-mode .ma-prestasi-table tbody tr { border-bottom-color: rgba(255,255,255,0.07); }
.dark-mode .badge-juara--1 { background: rgba(234, 179, 8, 0.18); color: #FCD34D; border-color: rgba(234, 179, 8, 0.4); }
.dark-mode .badge-juara--2 { background: rgba(148, 163, 184, 0.15); color: #E2E8F0; border-color: rgba(148, 163, 184, 0.3); }
.dark-mode .badge-juara--3 { background: rgba(217, 119, 6, 0.18); color: #FDBA74; border-color: rgba(217, 119, 6, 0.4); }

.dark-mode .dropdown-menu {
  background: #0F2440;
  border-color: rgba(255, 255, 255, 0.1);
}
.dark-mode .dropdown-item { color: #E2E8F0; }
.dark-mode .dropdown-item:hover { background: rgba(37,99,235,0.15); color: white; }

.dark-mode .ma-misi-text { color: #CBD5E1; }
.dark-mode .ma-misi-item { border-bottom-color: rgba(255,255,255,0.07); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .ma-achievement-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  .ma-ekskul-grid { grid-template-columns: repeat(2, 1fr); }
  .ma-berita-grid { grid-template-columns: repeat(2, 1fr); }
  .ma-achievement-cards { grid-template-columns: repeat(3, 1fr); }
  .ma-about__badge { right: 0; }
  .ma-hero__photo { width: 42%; }
}

@media (max-width: 767px) {
  .ma-hero { min-height: auto; }
  .ma-hero__inner { padding: 3.5rem 1.25rem 2.5rem; }
  .ma-hero__photo { display: none; }
  .ma-hero__subtitle { max-width: 100%; font-size: 0.95rem; margin-bottom: 1.75rem; }
  .ma-hero__actions { flex-direction: column; align-items: stretch; }
  .ma-hero__actions .btn-ma-primary,
  .ma-hero__actions .btn-ma-outline { justify-content: center; width: 100%; }
  .ma-hero__stats-bar { padding: 1.25rem 0; }
  .ma-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 0.5rem 0; }
  .ma-hero__stat { padding: 0.85rem 0.5rem; }
  .ma-hero__stat:nth-child(2) { border-right: none; }
  .ma-hero__stat:nth-child(1),
  .ma-hero__stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

  .ma-section { padding: 3.25rem 0; }
  .ma-pillar-grid { grid-template-columns: 1fr; }
  .ma-ekskul-grid { grid-template-columns: 1fr; }
  .ma-berita-grid { grid-template-columns: 1fr; }
  .ma-achievement-cards { grid-template-columns: 1fr; gap: 0.85rem; }

  .ma-about__badge { position: static; margin-top: 1.25rem; display: inline-block; }
  .ma-cta-banner { padding: 2rem 1.5rem; border-radius: var(--r-xl); }
  .ma-cta-banner__title { font-size: 1.3rem; }
  .ma-cta-banner__actions { width: 100%; flex-direction: column; }
  .ma-cta-banner__actions a { justify-content: center; width: 100%; }
  .ma-kepsek__photo { flex: 0 0 100%; min-height: 220px; }
  .ma-kepsek__content { padding: 1.75rem 1.5rem; }
  .ma-footer { padding: 3.5rem 0 0; }
  .ma-quote-section { padding: 3.5rem 0; }
  .ma-page-header { padding: 5rem 0 2.5rem; }
}

@media (max-width: 479px) {
  .ma-hero__title { font-size: 2.2rem; }
  .ma-hero__eyebrow { font-size: 0.68rem; }
  .ma-hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
