/* ============================================================
   SOFTCOM COMPUTER INSTITUTE – MAIN STYLESHEET
   assets/main.css
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Funnel+Display:wght@300..800&family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Livvic:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&family=Space+Grotesk:wght@300..700&display=swap');

/* ── ROOT DESIGN TOKENS ── */
:root {
  /* Colors */
  --ink: #0a0a0f;
  --paper: #faf7f2;
  --saffron: #e8600a;
  --saffron-light: #ff8c42;
  --gold: #d4a017;
  --cream: #f5efe3;
  --muted: #6b6560;
  --border: #e2d9cc;
  --white: #ffffff;
  --blue-dark: #1a4a8a;
  --green-dark: #166534;
  --purple-dark: #4a3580;

  /* Gradients */
  --grad-saffron: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-light) 100%);
  --grad-ink: linear-gradient(135deg, var(--ink) 0%, #1a1a2e 100%);
  --grad-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  --grad-glow: radial-gradient(ellipse, rgba(232, 96, 10, 0.08) 0%, transparent 70%);

  /* Fonts */
  --font-serif: "Space Grotesk", sans-serif;
  --font-sans: "Inter", sans-serif;
  --font-mono: "Google Sans Code", monospace;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;
  --radius-full: 100px;

  /* Shadows */
  --shadow-sm: 0 4px 20px rgba(232, 96, 10, 0.35);
  --shadow-md: 0 8px 28px rgba(232, 96, 10, 0.45);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card-lg: 0 16px 48px rgba(0, 0, 0, 0.1);

  /* Noise texture (SVG data URI) */
  --noise-bg: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--noise-bg);
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
}

/* ── TYPOGRAPHY UTILITIES ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-desc.max-500 {
  max-width: 500px;
}

/* ── LAYOUT ── */
.section {
  padding: 6rem 8%;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--saffron);
  color: var(--white);
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-secondary {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}

.btn-secondary:hover {
  gap: 0.8rem;
}
/* ═══════════════════════════════════════════════════════════════
   SOFTCOM – NAVIGATION v6
   clean responsive version for desktop / small laptop / mobile
═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────
   SHELL
────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 3%;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(226, 217, 204, 0.7);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

nav.nav-scrolled {
  background: rgba(250, 247, 242, 0.98);
  box-shadow: 0 1px 0 rgba(226, 217, 204, 0.8), 0 4px 28px rgba(0, 0, 0, 0.07);
}

.nav-spacer {
  height: 66px;
}

/* ──────────────────────────────────────────────────────────────
   LOGO
────────────────────────────────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 10;
  min-width: max-content;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1px;
}

/* ──────────────────────────────────────────────────────────────
   CENTER NAV
────────────────────────────────────────────────────────────── */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 1rem;
}

/* ──────────────────────────────────────────────────────────────
   NAV LINK
────────────────────────────────────────────────────────────── */
.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.42rem 0.9rem;
  border-radius: 7px;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
  letter-spacing: 0.005em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

.nav-link.active {
  color: var(--ink);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--saffron);
}

/* ──────────────────────────────────────────────────────────────
   DROPDOWN
────────────────────────────────────────────────────────────── */
.nav-dropdown-wrap {
  position: relative;
  flex-shrink: 0;
}

.nd-chevron {
  stroke: var(--muted);
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(.4, 0, .2, 1), stroke 0.18s;
}

.nav-dropdown-wrap:hover .nd-chevron,
.nav-dropdown-wrap.open .nd-chevron {
  transform: rotate(180deg);
  stroke: var(--ink);
}

.nav-dropdown-wrap.active > .nav-link {
  color: var(--ink);
  font-weight: 600;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-5px) scale(0.97);
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.2s cubic-bezier(.22, 1, .36, 1);
  z-index: 200;
  overflow: hidden;
}

.nav-dropdown-wrap.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--saffron), transparent);
  border-radius: 0 0 2px 2px;
}

.nd-inner {
  padding: 0.4rem;
}

.nd-item {
  display: block;
  padding: 0.54rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.835rem;
  font-weight: 400;
  color: var(--muted);
  transition: background 0.14s, color 0.14s;
  position: relative;
  white-space: nowrap;
}

.nd-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--saffron);
  border-radius: 0 2px 2px 0;
  transition: width 0.16s;
}

.nd-item:hover {
  background: var(--cream);
  color: var(--ink);
}

.nd-item:hover::before {
  width: 3px;
}

.nd-item.active {
  background: rgba(232, 96, 10, 0.07);
  color: var(--saffron);
  font-weight: 600;
}

.nd-item.active::before {
  width: 3px;
  background: var(--saffron);
}

.nd-item-icon,
.nd-item-text,
.nd-item-label,
.nd-item-desc,
.nd-item-arrow {
  display: none;
}

/* ──────────────────────────────────────────────────────────────
   RIGHT SIDE
────────────────────────────────────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
  z-index: 10;
  min-width: max-content;
}

.nav-sep {
  display: block;
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}

.nav-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-phone-link:hover {
  color: var(--ink);
}

.nav-phone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2.5px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
  animation: pdot 2.8s ease infinite;
}

@keyframes pdot {
  0%, 100% {
    box-shadow: 0 0 0 2.5px rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.07);
  }
}

/* ──────────────────────────────────────────────────────────────
   VERIFY BUTTON
────────────────────────────────────────────────────────────── */
.nav-verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.85rem;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--muted) !important;
  background: transparent;
  border: 1.5px solid var(--border);
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-verify-btn svg {
  stroke: var(--muted);
  transition: stroke 0.18s;
  flex-shrink: 0;
}

.nav-verify-label {
  display: inline;
}

.nav-verify-btn:hover {
  border-color: var(--saffron);
  background: rgba(232, 96, 10, 0.06);
  color: var(--saffron) !important;
}

.nav-verify-btn:hover svg {
  stroke: var(--saffron);
}

/* ──────────────────────────────────────────────────────────────
   CTA
────────────────────────────────────────────────────────────── */
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  border-radius: 100px;
  text-decoration: none;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(10, 10, 15, 0.25);
  transition: box-shadow 0.2s, transform 0.16s, background 0.2s;
}

.nav-cta:hover {
  background: #1a1a28;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(10, 10, 15, 0.3);
}

.nav-cta:active {
  transform: translateY(0);
}

.nav-cta-label {
  padding: 0 1.1rem 0 1.25rem;
  height: 36px;
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  white-space: nowrap;
  line-height: 1;
}

.nav-cta-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  margin: 4px 4px 4px 0;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s, transform 0.2s;
}

.nav-cta-arrow svg {
  stroke: var(--white);
  display: block;
}

.nav-cta:hover .nav-cta-arrow {
  background: var(--saffron);
  border-color: transparent;
  transform: rotate(5deg);
}

/* ──────────────────────────────────────────────────────────────
   HAMBURGER
────────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: transparent;
  border: 1.5px solid var(--border);
  cursor: pointer;
  gap: 4.5px;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s;
}

.nav-hamburger:hover {
  background: var(--cream);
  border-color: rgba(226, 217, 204, 1);
}

.nav-hamburger span {
  display: block;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(.4, 0, .2, 1), opacity 0.22s, width 0.22s;
  transform-origin: center;
}

.nav-hamburger span:nth-child(1) {
  width: 18px;
  height: 1.5px;
}

.nav-hamburger span:nth-child(2) {
  width: 12px;
  height: 1.5px;
}

.nav-hamburger span:nth-child(3) {
  width: 18px;
  height: 1.5px;
}

.nav-hamburger.open span:nth-child(2) {
  width: 18px;
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ──────────────────────────────────────────────────────────────
   OVERLAY
────────────────────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(6px) saturate(60%);
  -webkit-backdrop-filter: blur(6px) saturate(60%);
  z-index: 850;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ──────────────────────────────────────────────────────────────
   SIDEBAR
────────────────────────────────────────────────────────────── */
.nav-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(320px, 100vw);
  z-index: 950;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

.nav-sidebar.open {
  transform: translateX(0);
}

/* top */
.sb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.1rem;
  height: 66px;
  min-height: 66px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sb-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.sb-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.sb-logo-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.sb-logo-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.52rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1px;
}

.sb-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}

.sb-close:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--border);
}

/* body */
.sb-body {
  flex: 1;
  padding: 0.5rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.sb-body::-webkit-scrollbar {
  width: 3px;
}

.sb-body::-webkit-scrollbar-track {
  background: transparent;
}

.sb-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

/* flat links */
.sb-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.8rem;
  border-radius: 9px;
  text-decoration: none;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.sb-link:hover {
  background: var(--cream);
  color: var(--ink);
}

.sb-link.active {
  background: rgba(232, 96, 10, 0.07);
  color: var(--saffron);
  font-weight: 600;
}

.sb-link-arrow {
  stroke: var(--border);
  flex-shrink: 0;
  transition: stroke 0.15s, transform 0.15s;
}

.sb-link:hover .sb-link-arrow {
  stroke: var(--muted);
  transform: translateX(2px);
}

.sb-link.active .sb-link-arrow {
  stroke: rgba(232, 96, 10, 0.4);
}

/* groups */
.sb-group {
  border-radius: 9px;
}

.sb-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.8rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-radius: 9px;
  transition: background 0.15s, color 0.15s;
}

.sb-group-toggle:hover {
  background: var(--cream);
  color: var(--ink);
}

.sb-group.active > .sb-group-toggle {
  color: var(--saffron);
  font-weight: 600;
}

.sb-group.open > .sb-group-toggle {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.02);
}

.sb-group-chevron {
  flex-shrink: 0;
  stroke: var(--border);
  transition: transform 0.22s cubic-bezier(.4, 0, .2, 1), stroke 0.18s;
}

.sb-group:hover .sb-group-chevron,
.sb-group.open .sb-group-chevron {
  stroke: var(--muted);
}

.sb-group.open .sb-group-chevron {
  transform: rotate(180deg);
}

.sb-group.active .sb-group-chevron {
  stroke: rgba(232, 96, 10, 0.5);
}

.sb-group-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(.4, 0, .2, 1);
}

.sb-group.open .sb-group-children {
  max-height: 400px;
}

.sb-group-children-inner {
  padding: 0.2rem 0 0.3rem 0.9rem;
  margin-left: 0.95rem;
  border-left: 1.5px solid var(--border);
}

.sb-child-link {
  display: block;
  padding: 0.54rem 0.7rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.845rem;
  font-weight: 400;
  transition: background 0.14s, color 0.14s;
  margin-bottom: 0.06rem;
}

.sb-child-link:hover {
  background: var(--cream);
  color: var(--ink);
}

.sb-child-link.active {
  background: rgba(232, 96, 10, 0.07);
  color: var(--saffron);
  font-weight: 600;
}

.sb-child-icon,
.sb-child-text span {
  display: none;
}

.sb-child-text strong {
  display: block;
  font-size: 0.84rem;
  font-weight: inherit;
}

/* footer */
.sb-footer {
  padding: 0.9rem 0.85rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-shrink: 0;
}

.sb-verify-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.9rem;
  border-radius: 9px;
  background: rgba(232, 96, 10, 0.06);
  border: 1.5px solid rgba(232, 96, 10, 0.18);
  color: var(--saffron);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.16s, border-color 0.16s;
}

.sb-verify-link:hover {
  background: rgba(232, 96, 10, 0.1);
  border-color: rgba(232, 96, 10, 0.28);
}

.sb-verify-link svg {
  stroke: var(--saffron);
  flex-shrink: 0;
}

.sb-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  border-radius: 100px;
  text-decoration: none;
  overflow: hidden;
  padding: 4px 4px 4px 1.2rem;
  box-shadow: 0 3px 14px rgba(10, 10, 15, 0.25);
  transition: background 0.18s, transform 0.16s;
}

.sb-cta:hover {
  background: #1a1a28;
  transform: translateY(-1px);
}

.sb-cta-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sb-cta-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-left: 0.7rem;
  transition: background 0.2s;
}

.sb-cta-arrow svg {
  stroke: var(--white);
  display: block;
}

.sb-cta:hover .sb-cta-arrow {
  background: var(--saffron);
  border-color: transparent;
}

.sb-contact-row {
  display: flex;
  gap: 0.5rem;
}

.sb-contact-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.58rem 0.5rem;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sb-contact-btn:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--border);
}

.sb-contact-btn svg {
  flex-shrink: 0;
  stroke: var(--muted);
}

.sb-wa-btn svg {
  fill: #25d366;
  stroke: none !important;
}

.sb-wa-btn:hover {
  border-color: rgba(37, 211, 102, 0.3);
}

body.nav-open {
  overflow: hidden;
}

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────────────────────── */

/* full desktop */
@media (min-width: 1200px) {
  .nav-hamburger {
    display: none !important;
  }

  .nav-center {
    display: flex;
  }

  .nav-sidebar,
  .nav-overlay {
    display: none !important;
  }
}

/* small desktop / 13-inch laptop */
@media (max-width: 1199px) {
  nav {
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .nav-center {
    margin: 0 0.5rem;
    gap: 0;
  }

  .nav-link {
    padding: 0.42rem 0.72rem;
    font-size: 0.8rem;
  }

  .nav-right {
    gap: 0.4rem;
  }

  .nav-phone-link,
  .nav-sep {
    display: none;
  }

  .nav-verify-btn {
    padding: 0.4rem 0.72rem;
    font-size: 0.75rem;
  }

  .nav-cta-label {
    padding: 0 0.92rem 0 1rem;
    font-size: 0.78rem;
  }

  .nav-cta-arrow {
    width: 26px;
    height: 26px;
    margin: 3px 3px 3px 0;
  }
}

/* tablet / tight laptop: switch to compact nav */
@media (max-width: 1080px) {
  nav {
    height: 64px;
    padding: 0 1rem;
  }

  .nav-spacer {
    height: 64px;
  }

  .nav-center {
    display: none !important;
  }

  .nav-hamburger {
    display: flex !important;
  }

  .nav-verify-btn {
    display: none;
  }

  .nav-cta-label {
    padding: 0 0.9rem 0 1rem;
    font-size: 0.76rem;
  }

  .nav-cta-arrow {
    width: 25px;
    height: 25px;
    margin: 3px;
  }
}

/* mobile */
@media (max-width: 899px) {
  nav {
    padding: 0 4%;
    height: 62px;
  }

  .nav-spacer {
    height: 62px;
  }

  .nav-center {
    display: none !important;
  }

  .nav-hamburger {
    display: flex !important;
  }

  .nav-phone-link,
  .nav-sep,
  .nav-verify-btn {
    display: none !important;
  }

  .nav-cta-label {
    padding: 0 0.95rem 0 1.1rem;
    font-size: 0.79rem;
  }

  .nav-cta-arrow {
    width: 26px;
    height: 26px;
    margin: 4px;
  }

  .sb-top {
    height: 62px;
    min-height: 62px;
  }
}

@media (max-width: 480px) {
  .nav-logo-img {
    height: 36px;
  }

  .nav-logo-text {
    font-size: 0.96rem;
  }

  .nav-logo-text span {
    font-size: 0.48rem;
  }

  .nav-cta-label {
    padding: 0 0.82rem 0 0.95rem;
    font-size: 0.76rem;
  }

  .sb-contact-row {
    flex-direction: column;
  }
}

@media (max-width: 379px) {
  .nav-cta {
    display: none;
  }
}

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  gap: 0;
  animation: marquee 20s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--saffron);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 6rem 8%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: var(--grad-glow);
  pointer-events: none;
}

.cta-section .section-title {
  max-width: 600px;
  margin: 0 auto 1rem;
}

.cta-section .section-desc {
  max-width: 420px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-outline {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}

.cta-btn-outline:hover {
  gap: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════════
   SOFTCOM – MODERN FOOTER
   Replaces old footer block entirely.
   ═══════════════════════════════════════════════════════════════ */

/* ── FOOTER SHELL ── */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

/* Noise texture overlay */
.ft-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Saffron top accent line */
.ft-topline {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--saffron) 30%, var(--saffron-light) 60%, transparent 100%);
  position: relative;
  z-index: 1;
}

/* Everything inside footer sits above noise */
.ft-cta-band,
.ft-main,
.ft-bottom {
  position: relative;
  z-index: 1;
}

/* ── PRE-FOOTER CTA BAND ── */
.ft-cta-band {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2.8rem 6%;
  background: rgba(232, 96, 10, 0.04);
}

.ft-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}

.ft-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 0.5rem;
}

.ft-cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.ft-cta-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.ft-cta-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.ft-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--saffron);
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(232, 96, 10, 0.4);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.ft-cta-btn-primary:hover {
  background: var(--saffron-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 96, 10, 0.5);
  color: var(--white);
}

.ft-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}

.ft-cta-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* ── MAIN FOOTER GRID ── */
.ft-main {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  padding: 4rem 6% 3.5rem;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── BRAND COLUMN ── */
.ft-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ft-logo {
  display: inline-block;
  text-decoration: none;
}

.ft-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.ft-logo:hover .ft-logo-img {
  opacity: 1;
}

.ft-brand-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  max-width: 300px;
}

/* Trust badges */
.ft-badges {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ft-badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: background 0.2s;
}

.ft-badge:hover {
  background: rgba(255, 255, 255, 0.07);
}

.ft-badge-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ft-badge div {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ft-badge strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.2;
}

.ft-badge span {
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 400;
}

/* Social icons */
.ft-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.ft-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ft-social-btn:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.ft-social-btn.wa:hover {
  background: #25D366;
  border-color: #25D366;
}

.ft-social-btn.fb:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.ft-social-btn.ig:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743;
}

.ft-social-btn.yt:hover {
  background: #FF0000;
  border-color: #FF0000;
}

/* ── LINK COLUMNS ── */
.ft-col-heading {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ft-links li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.38rem 0;
  transition: color 0.18s, gap 0.18s;
  line-height: 1.4;
}

.ft-links li a:hover {
  color: var(--saffron-light);
  gap: 0.8rem;
}

.ft-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.18s;
}

.ft-links li a:hover .ft-link-dot {
  opacity: 1;
}

/* ── CONTACT COLUMN ── */
.ft-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.ft-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ft-contact-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
  filter: grayscale(0.3);
}

.ft-contact-list li div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ft-contact-list li strong {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ft-contact-list li span,
.ft-contact-list li a {
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.18s;
}

.ft-contact-list li a:hover {
  color: var(--saffron-light);
}

/* ── BOTTOM BAR ── */
.ft-bottom {
  padding: 1.4rem 6%;
  background: rgba(0, 0, 0, 0.25);
}

.ft-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}

.ft-bottom-left {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.28);
}

.ft-bottom-center {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ft-cert-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 0.22rem 0.65rem;
}

.ft-bottom-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.2);
}

.ft-bottom-right a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.18s;
}

.ft-bottom-right a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ── FOOTER RESPONSIVE ── */
@media (max-width: 1100px) {
  .ft-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }

  .ft-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .ft-brand-desc {
    max-width: 380px;
  }

  .ft-badges {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ft-badge {
    min-width: 160px;
  }
}

@media (max-width: 760px) {
  .ft-cta-band {
    padding: 2.2rem 5%;
  }

  .ft-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  .ft-cta-right {
    width: 100%;
  }

  .ft-cta-btn-primary,
  .ft-cta-btn-outline {
    flex: 1;
    justify-content: center;
  }

  .ft-main {
    grid-template-columns: 1fr;
    padding: 3rem 5% 2.5rem;
    gap: 2rem;
  }

  .ft-brand {
    flex-direction: column;
  }

  .ft-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .ft-bottom-center {
    justify-content: flex-start;
  }

  .ft-bottom-right {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .ft-cta-right {
    flex-direction: column;
  }

  .ft-cta-btn-primary,
  .ft-cta-btn-outline {
    width: 100%;
  }

  .ft-badges {
    flex-direction: column;
  }

  .ft-badge {
    width: 100%;
  }
}

/* ── COURSES GRID ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--saffron);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-lg);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card.featured {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink);
}

.course-card.featured .course-desc {
  color: rgba(255, 255, 255, 0.6);
}

.course-card.featured .course-meta {
  border-top-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
}

.course-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(232, 96, 10, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.course-card.featured .course-icon {
  background: rgba(232, 96, 10, 0.25);
}

.course-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.course-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

.course-fee {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--saffron) !important;
  font-size: 0.85rem !important;
}

/* ── ABOUT SECTION SPLIT ── */
.about-section {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}

.about-info {
  background: var(--ink);
  color: var(--white);
  padding: 6rem 5% 6rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-info::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 96, 10, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-info .section-label {
  color: var(--saffron-light);
}

.about-info .section-title {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.about-info-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.about-highlight {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  transition: background 0.2s;
}

.about-highlight:hover {
  background: rgba(255, 255, 255, 0.1);
}

.about-highlight-icon {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.about-highlight strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.about-highlight span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
  display: block;
}

.about-badges {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(232, 96, 10, 0.15);
  border: 1px solid rgba(232, 96, 10, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--saffron-light);
}

/* ── ENQUIRY FORM PANEL ── */
.enquiry-form-panel {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5%;
}

.form-card {
  width: 100%;
  max-width: 620px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.form-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-subheading {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--saffron);
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 100%;
  background: var(--saffron);
  color: var(--white);
  border: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}

.form-submit:hover {
  background: var(--saffron-light);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 1rem;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  animation: fadeUp 0.6s ease both;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-success-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── WHY CHOOSE US ── */
.why-modern {
  padding: 0;
}

.why-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  overflow: hidden;
}

.why-top-left {
  padding: 5rem 5% 5rem 8%;
  position: relative;
  overflow: hidden;
}

.why-top-left::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(232, 96, 10, 0.1);
  pointer-events: none;
}

.why-stats-row {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.why-stat-val {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.why-stat-val em {
  font-style: normal;
  color: var(--saffron);
}

.why-stat-lab {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 5px;
}

.why-top-right {
  background: rgba(255, 255, 255, 0.03);
  padding: 5rem 8% 5rem 5%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.why-cert-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}

.why-cert-item:hover {
  background: rgba(255, 255, 255, 0.09);
}

.why-cert-logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  flex-shrink: 0;
  color: var(--white);
}

.orange-logo {
  background: var(--saffron);
}

.gold-logo {
  background: var(--gold);
}

.blue-logo {
  background: var(--blue-dark);
}

.why-cert-body {
  flex: 1;
}

.why-cert-body strong {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.why-cert-body span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.why-cert-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: #4ade80;
  flex-shrink: 0;
}

/* Why Feature Accordion */
.why-feats {
  display: flex;
  gap: 1.5rem;
  padding: 4rem 8%;
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.why-feat {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.why-feat:hover {
  background: var(--cream);
}

.why-feat.active {
  flex: 2.5;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 20px 40px rgba(10, 10, 15, 0.15);
  transform: translateY(-8px);
}

.why-feat-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}

.why-feat-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--saffron);
  background: rgba(232, 96, 10, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  transition: color 0.4s, background 0.4s;
}

.why-feat.active .why-feat-num {
  color: var(--saffron-light);
  background: rgba(255, 255, 255, 0.1);
}

.why-feat-icon {
  font-size: 2.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: top right;
}

.why-feat.active .why-feat-icon {
  transform: scale(1.2) rotate(-5deg);
}

.why-feat-content {
  margin-top: 2rem;
}

.why-feat-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  transition: color 0.4s, font-size 0.4s;
}

.why-feat.active .why-feat-title {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.why-feat-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.why-feat.active .why-feat-body-wrap {
  grid-template-rows: 1fr;
}

.why-feat-body {
  overflow: hidden;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.why-feat.active .why-feat-body {
  opacity: 1;
}

/* KPI Strip */
.why-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
}

.why-kpi {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.why-kpi:last-child {
  border-right: none;
}

.why-kpi-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.why-kpi-val span {
  color: var(--saffron);
}

.why-kpi-lab {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── TALLY SECTION ── */
.tally-section {
  padding: 0;
}

.tally-hero-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5rem 8%;
  gap: 4rem;
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.tally-hero-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.tally-badges-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tally-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.orange-pill {
  background: var(--saffron);
  color: var(--white);
}

.dark-pill {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
}

.tally-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tally-feat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tally-feat-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tally-feat-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.tally-feat-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* Tally Tabs */
.tally-tabs-wrap {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tally-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0px 8px;
  overflow-y: hidden;
  overflow-x: auto;
}

.tally-tab {
  padding: 1rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  margin-bottom: -1px;
}

.tally-tab:hover {
  color: var(--ink);
}

.tally-tab.active {
  color: var(--saffron);
  border-bottom-color: var(--saffron);
}

.tally-tab-panel {
  display: none;
  padding: 3rem 8%;
}

.tally-tab-panel.active {
  display: block;
}

.tally-panel-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.tally-panel-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tally-panel-text p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1rem;
}

.tally-panel-aside {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tally-aside-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
}

.tally-aside-card.accent {
  border-color: rgba(232, 96, 10, 0.3);
  background: rgba(232, 96, 10, 0.04);
}

.tally-aside-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.tally-aside-lab {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Tally Career Cards */
.tally-careers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.tally-career-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tally-career-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.tally-career-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.tally-career-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.tally-career-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Tally Keywords */
.tally-keywords-wrap {
  max-width: 800px;
}

.tally-kw-intro {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.tally-kw-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.kw-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.2s;
}

.kw-tag:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.kw-tag.kw-primary {
  background: rgba(232, 96, 10, 0.08);
  border-color: rgba(232, 96, 10, 0.25);
  color: var(--saffron);
  font-weight: 600;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 6rem 8%;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.testimonials .section-label {
  color: var(--saffron-light);
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials-slider-wrap {
  position: relative;
  margin-top: 3.5rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1.5rem;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 340px;
  max-width: 340px;
  scroll-snap-align: start;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.testi-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.testi-arrow {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.2rem;
}

.testi-arrow:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   NO-DATA PLACEHOLDERS
   Shown inline when a DB field is empty. Never shows fallback
   content — just a neutral dash / message so the UI shell renders.
══════════════════════════════════════════════════════════════ */

.no-data {
  display: inline-block;
  color: rgba(0, 0, 0, .2);
  font-size: .75rem;
  font-family: var(--font-mono);
  letter-spacing: .04em;
  user-select: none;
  pointer-events: none;
}

/* Dark-background contexts (hero, why, tally, cta, about-dark) */
.hero .no-data,
.why-modern .no-data,
.tally-section .no-data,
.cta-section .no-data {
  color: rgba(255, 255, 255, .2);
}

/* Block-level no-data (slider empty, courses empty, testimonials empty) */
.hero-slider-empty,
.section-no-data {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
}

.hero-slider-empty {
  min-height: 100%;
  border-color: rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
}

.hero-slider-empty .no-data,
.section-no-data .no-data {
  font-size: .8rem;
  color: var(--muted);
}

.hero-slider-empty .no-data {
  color: rgba(255, 255, 255, .25);
}

/* ── HERO SLIDER (index) ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* padding-top: 80px; */
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5% 5rem 8%;
  position: relative;
  z-index: 2;
  /* background: var(--paper); */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeUp 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--saffron);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title em {
  font-style: normal;
  color: var(--saffron);
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--saffron);
  opacity: 0.3;
  border-radius: 2px;
}

.hero-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: fadeUp 0.8s 0.3s ease both;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.4s ease both;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.hero-stat-num span {
  color: var(--saffron);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Slider (right half) */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 100%;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 3;
  padding: 2.5rem;
  width: 100%;
  background: var(--grad-overlay);
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--saffron);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.slide-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.slide-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-stat-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--saffron-light);
}

.slide-stat-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.1rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: var(--saffron);
  width: 24px;
  border-radius: var(--radius-sm);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1rem;
  transition: background 0.2s;
}

.slider-arrow:hover {
  background: rgba(232, 96, 10, 0.6);
}

.slider-arrow.prev {
  left: 1rem;
}

.slider-arrow.next {
  right: 1rem;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 100vh;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}

.hero-dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 96, 10, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(232, 96, 10, 0.15);
  border: 1px solid rgba(232, 96, 10, 0.3);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--saffron);
  border-radius: 50%;
}



.hero-h1 em {
  font-style: normal;
  color: var(--saffron);
  position: relative;
  display: inline-block;
}

.hero-h1 em::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--saffron);
  opacity: 0.35;
  border-radius: 2px;
}

.hero-p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 460px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-btn-primary {
  background: var(--saffron);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232, 96, 10, 0.4);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 96, 10, 0.55);
}

.hero-btn-outline {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s, gap 0.2s;
}

.hero-btn-outline:hover {
  color: var(--white);
  gap: 0.8rem;
}

.hero-certs {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-cert-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--saffron);
}

/* Page hero right visual */
.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 8% 4rem 4%;
}

.hero-visual-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  text-align: center;
}

.hero-stat-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.hero-stat-val em {
  font-style: normal;
  color: var(--saffron);
}

.hero-stat-lab {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

/* ── CERT SECTION (about page) ── */
.cert-section {
  padding: 5rem 8%;
  text-align: center;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.cert-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-lg);
}

.cert-logo-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  color: var(--white);
  margin: 0 auto 1.2rem;
}

.cert-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.cert-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── TEAM SECTION ── */
.team-section {
  padding: 5rem 8%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-lg);
}

.team-card-photo {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.team-photo-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bg1 {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.bg2 {
  background: linear-gradient(135deg, #0f3460, #533483);
}

.bg3 {
  background: linear-gradient(135deg, #164e2a, #1a4a8a);
}

.bg4 {
  background: linear-gradient(135deg, #4a1a2e, #8a1a4a);
}

.bg5 {
  background: linear-gradient(135deg, #2e1a4a, #4a2e1a);
}

.bg6 {
  background: linear-gradient(135deg, #1a3a2e, #2e4a1a);
}

.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.team-avatar-wrap {
  position: relative;
  z-index: 1;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.av1 {
  background: var(--saffron);
}

.av2 {
  background: #1a4a8a;
}

.av3 {
  background: #166534;
}

.av4 {
  background: #8b1a4a;
}

.av5 {
  background: var(--gold);
}

.av6 {
  background: #4a2e8a;
}

.team-card-body {
  padding: 1.5rem;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.team-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ── CONTACT PAGE ── */
.contact-hero {
  padding: 10rem 8% 5rem;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.contact-hero .section-label {
  color: var(--saffron-light);
}

.contact-hero .section-title {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 8%;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.4rem;
}

.contact-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.contact-value a {
  color: var(--saffron);
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

/* ── PAGE HERO SINGLE COLUMN (contact, blog, etc.) ── */
.page-hero-single {
  padding: 10rem 8% 5rem;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.page-hero-single .section-label {
  color: var(--saffron-light);
}

.page-hero-single .section-title {
  color: var(--white);
}

.page-hero-single .hero-p {
  color: rgba(255, 255, 255, 0.55);
}

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-lg);
}

.blog-card-thumb {
  height: 200px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(232, 96, 10, 0.08);
  border: 1px solid rgba(232, 96, 10, 0.2);
  color: var(--saffron);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-card-excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── ABOUT PAGE: hero cert tags ── */
.hero-cert-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
}

.hero-cert-dot {
  width: 5px;
  height: 5px;
  background: var(--saffron);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6rem 8% 6rem 4%;
  gap: 1rem;
  position: relative;
  z-index: 3;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.6rem 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: background 0.3s, border-color 0.3s;
  animation: fadeUp 0.8s ease both;
  cursor: default;
}

.hero-stat-card:nth-child(1) {
  animation-delay: 0.15s;
}

.hero-stat-card:nth-child(2) {
  animation-delay: 0.25s;
}

.hero-stat-card:nth-child(3) {
  animation-delay: 0.35s;
}

.hero-stat-card:nth-child(4) {
  animation-delay: 0.45s;
}

.hero-stat-card:hover {
  background: rgba(232, 96, 10, 0.08);
  border-color: rgba(232, 96, 10, 0.25);
}

.hsc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(232, 96, 10, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: background 0.3s;
}

.hero-stat-card:hover .hsc-icon {
  background: rgba(232, 96, 10, 0.25);
}

.hsc-text {
  flex: 1;
}

.hsc-val {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.hsc-val em {
  font-style: normal;
  color: var(--saffron);
}

.hsc-lab {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.hsc-arrow {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.2s, transform 0.2s;
}

.hero-stat-card:hover .hsc-arrow {
  color: var(--saffron-light);
  transform: translateX(4px);
}

.hero-divider {
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.06) 70%, transparent);
  z-index: 2;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--paper), transparent);
  z-index: 4;
  pointer-events: none;
}

/* ── ABOUT PAGE: story section ── */
.about-story {
  padding: 7rem 8% 5rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
  margin-top: 2rem;
}

.story-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.story-image-wrapper {
  position: relative;
}

.story-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.story-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.7s;
}

.story-image:hover img {
  transform: scale(1.04);
}

.story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 50%);
  pointer-events: none;
}

.story-floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1.3rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
  border: 1px solid var(--border);
  animation: float 6s ease-in-out infinite;
}

.story-floating-icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 96, 10, 0.1);
  color: var(--saffron);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.story-floating-text .year {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.15rem;
}

.story-floating-text .label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ── ABOUT PAGE: mission & vision ── */
.mission-section {
  background: var(--cream);
  padding: 7rem 8%;
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 96, 10, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.mission-section .section-label {
  text-align: center;
}

.mission-section .section-title {
  text-align: center;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.mission-card:nth-child(2) {
  transform: translateY(2.5rem);
}

.mission-card {
  background: var(--white);
  padding: 3.5rem 2.8rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.mission-card:hover::before {
  transform: scaleX(1);
}

.mission-card:nth-child(1):hover {
  transform: translateY(-6px);
}

.mission-card:nth-child(2):hover {
  transform: translateY(calc(2.5rem - 6px));
}

.mission-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(232, 96, 10, 0.08);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 1.8rem;
  transition: transform 0.35s, background 0.35s;
}

.mission-card:hover .mission-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  background: var(--saffron);
}

.mission-card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1rem;
}

.mission-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── ABOUT PAGE: director section ── */
.director-section {
  padding: 7rem 8%;
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.director-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.director-card {
  position: sticky;
  top: 110px;
}

.director-photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  margin-bottom: 2rem;
}

.director-photo-frame {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--ink);
  position: relative;
}

.director-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1014 0%, #2d1a0f 50%, #0a0a0f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.director-photo-placeholder::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 220px;
  background: linear-gradient(180deg, rgba(232, 96, 10, 0.15) 0%, rgba(232, 96, 10, 0.05) 100%);
  border-radius: 50% 50% 45% 45%;
  border-top: 2px solid rgba(232, 96, 10, 0.3);
}

.director-photo-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95), transparent);
}

.director-silhouette {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.7;
}

.director-info-badge {
  position: relative;
  z-index: 2;
  text-align: center;
}

.director-info-badge .dir-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.director-info-badge .dir-role {
  font-size: 0.72rem;
  color: var(--saffron-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.dir-exp-badge {
  position: absolute;
  top: 1.5rem;
  right: -1.2rem;
  background: var(--saffron);
  color: var(--white);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(232, 96, 10, 0.4);
  z-index: 3;
}

.dir-exp-badge .exp-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.dir-exp-badge .exp-lab {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.director-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dir-meta-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.dir-meta-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.dir-meta-row strong {
  color: var(--ink);
  font-weight: 600;
}

.director-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--saffron);
}

.director-body p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.director-achievements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.dir-ach {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dir-ach:hover {
  border-color: rgba(232, 96, 10, 0.3);
  box-shadow: 0 4px 16px rgba(232, 96, 10, 0.06);
}

.dir-ach-icon {
  width: 36px;
  height: 36px;
  background: rgba(232, 96, 10, 0.08);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.dir-ach-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.dir-ach-sub {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── ABOUT PAGE: team intro ── */
.team-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.team-intro-right {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── ABOUT PAGE: cert section desc alignment ── */
.cert-section .section-desc {
  max-width: 500px;
  margin: 0 auto;
}

/* ── ABOUT PAGE: cta dark variant ── */
.cta-dark {
  background: var(--ink);
}

.cta-dark .section-title {
  color: var(--white);
}

.cta-dark .section-label {
  color: var(--saffron-light);
  display: block;
  text-align: center;
}

.cta-dark .section-desc {
  color: rgba(255, 255, 255, 0.55);
}

.cta-dark .cta-btn-outline {
  color: rgba(255, 255, 255, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s, border-color 0.2s;
}

.cta-dark .cta-btn-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-section {
    grid-template-columns: 1fr;
  }

  .about-info {
    padding: 4rem 5%;
  }

  .enquiry-form-panel {
    padding: 4rem 5%;
  }

  .why-top {
    grid-template-columns: 1fr;
  }

  .why-top-left {
    padding: 3rem 5%;
  }

  .why-top-right {
    padding: 3rem 5%;
  }

  .why-feats {
    flex-direction: column;
    gap: 1rem;
  }

  .why-feat {
    min-height: auto;
  }

  .why-feat.active {
    flex: auto;
  }

  .tally-hero-band {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 5%;
  }

  .tally-panel-grid {
    grid-template-columns: 1fr;
  }

  .tally-careers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .director-wrap {
    grid-template-columns: 1fr;
  }

  .director-card {
    position: static;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-floating-card {
    display: none;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-card:nth-child(2) {
    transform: none;
  }

  .team-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    display: none;
  }

  .hero-left {
    padding: 5rem 5% 4rem;
  }

  .courses-grid {
    grid-template-columns: 1fr 1fr;
  }



  .about-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .why-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .why-kpi {
    border-bottom: 1px solid var(--border);
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .director-achievements {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }


  .section {
    padding: 4rem 5%;
  }

  .testimonials,
  .cta-section {
    padding: 4rem 5%;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: 1;
  }

  .form-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
  }

  .form-heading {
    font-size: 1.8rem;
  }

  .why-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .tally-careers-grid {
    grid-template-columns: 1fr;
  }

  .tally-feature-grid {
    grid-template-columns: 1fr 1fr;
  }



  .tally-tab-panel {
    padding: 2rem 5%;
  }

  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .tally-hero-band {
    padding: 3rem 5%;
  }
}

/* ============================================================
   BASIC COMPUTER PAGE (basic.php)
   ============================================================ */

/* ── MODULE COLOR TOKENS ── */
:root {
  --c1: #0f766e;
  --c2: #0369a1;
  --c3: #6d28d9;
  --c4: #b45309;
  --c5: #0e7490;
  --c6: #7c3aed;
  --c7: #be185d;
  --c8: #166534;
}

/* ── HERO ── */
.basic-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  /* padding-top: 100px; */
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.basic-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 96, 10, .12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 1;
  pointer-events: none;
}

.hero-g1 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 74, 138, .15) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.hero-vdiv {
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, .05) 70%, transparent);
  z-index: 2;
}

.hero-left-b {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4% 5rem 8%;
  position: relative;
  z-index: 3;
}

.hero-crumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

.hero-crumb a {
  color: rgba(255, 255, 255, .35);
  text-decoration: none;
  transition: color .2s;
}

.hero-crumb a:hover {
  color: var(--saffron-light);
}

.hero-eyebrow-b {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(232, 96, 10, .12);
  border: 1px solid rgba(232, 96, 10, .25);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 1.5rem;
  width: fit-content;
  animation: fadeUp .8s ease both;
}

.hero-eyebrow-dot-b {
  width: 5px;
  height: 5px;
  background: var(--saffron);
  border-radius: 50%;
}

.hero-h1-b {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.025em;
  margin-bottom: 1.4rem;
  animation: fadeUp .8s .1s ease both;
  color: var(--white);
}

.hero-h1-b em {
  font-style: normal;
  color: var(--saffron);
}

.hero-desc-b {
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .55);
  max-width: 480px;
  margin-bottom: 2rem;
  animation: fadeUp .8s .2s ease both;
}

.hero-module-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeUp .8s .3s ease both;
}

.hmp {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .75rem;
  border-radius: 5px;
  font-size: .68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .65);
}

.hmp-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp .8s .4s ease both;
}

.hero-ghost {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1.5px solid rgba(255, 255, 255, .18);
  padding: .75rem 1.4rem;
  border-radius: 4px;
  transition: all .2s;
}

.hero-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.hero-right-b {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6rem 8% 6rem 4%;
  gap: 1rem;
  position: relative;
  z-index: 3;
}

.hcard {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  padding: 1.4rem 1.8rem;
  width: 100%;
  transition: background .3s, border-color .3s;
  animation: fadeUp .8s ease both;
  cursor: default;
}

.hcard:hover {
  background: rgba(232, 96, 10, .08);
  border-color: rgba(232, 96, 10, .25);
}

.hcard:nth-child(1) {
  animation-delay: .15s;
}

.hcard:nth-child(2) {
  animation-delay: .25s;
}

.hcard:nth-child(3) {
  animation-delay: .35s;
}

.hcard:nth-child(4) {
  animation-delay: .45s;
}

.hcard-top {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
}

.hcard-icon {
  font-size: 1.1rem;
}

.hcard-label {
  font-size: .62rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .35);
}

.hcard-val {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: .25rem;
}

.hcard-val em {
  font-style: normal;
  color: var(--saffron);
}

.hcard-sub {
  font-size: .72rem;
  color: rgba(255, 255, 255, .35);
  line-height: 1.5;
}

/* ── FEATURE STRIP ── */
.fstrip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1.8rem 5%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.fsi {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .4rem .8rem;
}

.fsi-icon {
  font-size: 1.2rem;
}

.fsi-text strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}

.fsi-text span {
  font-size: .7rem;
  color: var(--muted);
}

.fsi-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
}

.stat-cell-b {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.stat-cell-b:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-num em {
  font-style: normal;
  color: var(--saffron);
}

.stat-lbl {
  font-size: .68rem;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── ABOUT SECTION (basic) ── */
.about-section-b {
  padding: 5rem 8%;
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}

.about-text p {
  font-size: .92rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.about-hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ahl {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  transition: transform .2s, box-shadow .2s;
}

.ahl:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.ahl-icon {
  font-size: 1.4rem;
  margin-bottom: .6rem;
}

.ahl-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .3rem;
}

.ahl-desc {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── WHO SECTION ── */
.who-section {
  padding: 5rem 8%;
  background: var(--cream);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.who-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  transition: transform .2s, box-shadow .2s;
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .07);
}

.who-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.who-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}

.who-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── SYLLABUS SECTION ── */
.syl-section {
  padding: 5rem 8%;
  background: var(--paper);
}

.syl-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.syl-desc-text {
  font-size: .88rem;
  line-height: 1.8;
  color: var(--muted);
}

.mod-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.mtab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}

.mtab:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.mtab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.mtab-num {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mtab:not(.active) .mtab-num {
  background: var(--cream);
  color: var(--muted);
}

.mod-panel {
  display: none;
}

.mod-panel.active {
  display: block;
}

.mod-header {
  padding: 1.5rem 2rem;
  border-radius: 12px 12px 0 0;
  border: 1px solid;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mod-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: .5rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
  flex-shrink: 0;
}

.mod-header-right {
  flex: 1;
}

.mod-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .15rem;
}

.mod-tagline {
  font-size: .75rem;
  color: var(--muted);
}

.mod-badge {
  font-size: .62rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 4px;
  border: 1px solid;
  white-space: nowrap;
}

.mod-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 1.8rem 2rem;
}

.topic-group-title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: .8rem;
}

.topic-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: .5rem;
}

.tc {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tc svg {
  width: 8px;
  height: 8px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── CAREER SECTION (basic) ── */
.career-section-b {
  padding: 5rem 8%;
  background: var(--cream);
}

.career-grid-b {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.cc-b {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.cc-b::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-light));
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}

.cc-b:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.cc-b:hover::before {
  transform: scaleX(1);
}

.cc-icon-b {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cc-title-b {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .2rem;
}

.cc-sal-b {
  font-size: .65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--saffron);
  margin-bottom: .7rem;
}

.cc-desc-b {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── GALLERY (basic) ── */
.gallery-section-b {
  padding: 5rem 8%;
  background: var(--ink);
  overflow: hidden;
}

.gallery-header-b {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.gnav-btns {
  display: flex;
  gap: .6rem;
}

.gnav-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
}

.gnav-btn:hover {
  background: rgba(255, 255, 255, .16);
}

.gnav-btn svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, .7);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-outer-b {
  overflow: hidden;
  border-radius: 16px;
}

.gallery-track-b {
  display: flex;
  gap: 18.4px;
  transition: transform .5s cubic-bezier(.25, 1, .5, 1);
  will-change: transform;
}

.gallery-slide-b {
  min-width: calc(33.333% - 12.27px);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/8;
  flex-shrink: 0;
  transition: transform .4s;
}

.gallery-slide-b.ctr {
  transform: scale(1.03);
  z-index: 2;
}

.gs-bg {
  position: absolute;
  inset: 0;
}

.gsbg-1 {
  background: linear-gradient(160deg, #051a18, #0f4a44);
}

.gsbg-2 {
  background: linear-gradient(160deg, #050f1a, #0a3060);
}

.gsbg-3 {
  background: linear-gradient(160deg, #120a2e, #3a1a5a);
}

.gsbg-4 {
  background: linear-gradient(160deg, #1a0e03, #4a2a08);
}

.gsbg-5 {
  background: linear-gradient(160deg, #030f14, #0a3040);
}

.gsbg-6 {
  background: linear-gradient(160deg, #100a20, #301860);
}

.gsbg-7 {
  background: linear-gradient(160deg, #200a18, #5a0a30);
}

.gsbg-8 {
  background: linear-gradient(160deg, #030f06, #0a3012);
}

.gs-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.gs-glow-b {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .35;
  pointer-events: none;
  z-index: 1;
}

.gs-icon-wrap {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .05);
}

.gs-r1 {
  width: 120px;
  height: 120px;
}

.gs-r2 {
  width: 180px;
  height: 180px;
}

.gs-r3 {
  width: 240px;
  height: 240px;
}

.gs-big-icon {
  font-size: 2.6rem;
  position: relative;
  z-index: 1;
}

.gs-num {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  padding: .18rem .42rem;
}

.gs-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .5) 55%, transparent 100%);
  padding: 2.5rem 1.1rem 1rem;
}

.gs-tag {
  display: inline-block;
  padding: .2rem .55rem;
  background: var(--saffron);
  color: var(--white);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.gs-cap-title {
  font-family: var(--font-serif);
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: .2rem;
}

.gs-cap-sub {
  font-size: .65rem;
  color: rgba(255, 255, 255, .5);
}

.gdots {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.6rem;
}

.gdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: all .28s;
  border: none;
  padding: 0;
}

.gdot.active {
  background: var(--saffron);
  width: 24px;
  border-radius: 4px;
}

/* ── FAQ (basic) ── */
.faq-section-b {
  padding: 5rem 8%;
  background: var(--cream);
}

.faq-grid-b {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.faq-item-b {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item-b:hover {
  border-color: rgba(232, 96, 10, .3);
}

.faq-q-b {
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: .5rem;
}

.faq-q-text-b {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}

.faq-tog {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: .7rem;
  color: var(--muted);
  transition: transform .3s, background .2s;
  flex-shrink: 0;
}

.faq-item-b.open .faq-tog {
  transform: rotate(180deg);
  background: var(--saffron);
  color: var(--white);
}

.faq-a-b {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-item-b.open .faq-a-b {
  max-height: 200px;
}

.faq-a-inner-b {
  padding: .1rem 1.3rem 1.1rem;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── CTA + ENQUIRY FORM (basic) ── */
.cta-section-b {
  padding: 5rem 8%;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.cta-section-b::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(232, 96, 10, .1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-grid-b {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-left-b .section-title {
  color: var(--white);
}

.cta-left-b .section-label {
  color: var(--saffron-light);
}

.cta-left-b p {
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 2rem;
  max-width: 380px;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-outline-b {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .65);
  border: 1.5px solid rgba(255, 255, 255, .15);
  padding: .85rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s;
}

.cta-outline-b:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.form-panel {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .3rem;
}

.form-sub {
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 1.5rem;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: .8rem;
}

.frow.full {
  grid-template-columns: 1fr;
}

.fgroup {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flabel {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}

.finput {
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  padding: .65rem .9rem;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.finput::placeholder {
  color: rgba(255, 255, 255, .25);
}

.finput:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232, 96, 10, .15);
}

.fsubmit {
  width: 100%;
  padding: .9rem;
  background: var(--saffron);
  color: var(--white);
  border: none;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(232, 96, 10, .35);
  margin-top: .4rem;
}

.fsubmit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 96, 10, .45);
}

.form-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}

.form-success.show {
  display: block;
}

.fs-icon {
  font-size: 2.5rem;
  margin-bottom: .6rem;
}

.fs-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .3rem;
}

.fs-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6;
}

/* ── BASIC PAGE: RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .syl-intro {
    grid-template-columns: 1fr;
  }

  .who-grid {
    grid-template-columns: 1fr 1fr;
  }

  .career-grid-b {
    grid-template-columns: 1fr 1fr;
  }

  .cta-grid-b {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mod-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .basic-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-right-b {
    padding: 2rem 5% 4rem;
  }

  .hero-left-b {
    padding: 4rem 5% 2rem;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .fstrip {
    flex-direction: column;
    gap: .6rem;
  }

  .fsi-sep {
    display: none;
  }

  .gallery-slide-b {
    min-width: calc(50% - 9.2px);
  }

  .faq-grid-b {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-hl-grid {
    grid-template-columns: 1fr;
  }

  .who-grid {
    grid-template-columns: 1fr;
  }

  .career-grid-b {
    grid-template-columns: 1fr;
  }

  .gallery-slide-b {
    min-width: 100%;
  }

  .frow {
    grid-template-columns: 1fr;
  }

  .hero-vdiv {
    display: none;
  }
}


/* ============================================================
   BLOG PAGE (blog.php)
   ============================================================ */

/* ── HERO ── */
.blog-hero {
  padding: 10rem 8% 5rem;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 96, 10, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s ease both;
}

.blog-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.1s ease both;
}

.blog-hero-title em {
  font-style: normal;
  color: var(--saffron-light);
}

.blog-hero-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.2s ease both;
}

/* ── FILTER BAR ── */
.filter-bar {
  padding: 8px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: sticky;
  top: 78px;
  z-index: 100;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 1.1rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  margin-bottom: -1px;
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.active {
  color: var(--saffron);
  border-bottom-color: var(--saffron);
  font-weight: 600;
}

/* ── FEATURED POST ── */
.featured-section {
  padding: 4rem 8% 2rem;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--saffron);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
  z-index: 2;
  border-radius: 16px 16px 0 0;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.featured-card:hover::before {
  transform: scaleX(1);
}

.featured-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.featured-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--saffron);
  color: var(--white);
  border-radius: 4px;
  padding: 0.3rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  width: fit-content;
}

.featured-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.featured-excerpt {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.featured-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--saffron);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.featured-author-name {
  font-weight: 600;
  color: var(--ink);
}

.featured-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

/* ── BLOG GRID ── */
.blog-grid-section {
  padding: 3rem 8% 6rem;
}

.blog-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.blog-grid-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ink);
}

.blog-grid-count {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--saffron);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
  z-index: 2;
  border-radius: 12px 12px 0 0;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card-category {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: inline-flex;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-radius: 4px;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.blog-card-excerpt {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 1.2rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.blog-card-author-name {
  font-weight: 600;
  color: var(--ink);
}

.blog-card-read {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--cream);
  padding: 5rem 8%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.newsletter-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
}

.newsletter-input {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(232, 96, 10, 0.08);
}

.newsletter-submit {
  background: var(--saffron);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.newsletter-submit:hover {
  background: var(--saffron-light);
  transform: translateY(-2px);
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 3rem 0 0;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.page-btn.active {
  background: var(--saffron);
  color: var(--white);
  border-color: var(--saffron);
}

/* ── BLOG PAGE: RESPONSIVE ── */
@media (max-width: 1024px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-img {
    min-height: 260px;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }
}


/* ============================================================
   BLOG DETAIL PAGE (blog-detail.php)
   ============================================================ */

/* ── POST HERO ── */
.post-hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding-top: 80px;
}

.post-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, .95) 0%, rgba(10, 10, 15, .6) 40%, rgba(10, 10, 15, .3) 100%);
  z-index: 1;
}

.post-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 8%;
  width: 100%;
  max-width: 820px;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 1.5rem;
  animation: fadeUp .6s ease both;
}

.post-breadcrumb a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .2s;
}

.post-breadcrumb a:hover {
  color: var(--saffron-light);
}

.post-breadcrumb .bc-sep {
  color: rgba(255, 255, 255, .25);
}

.post-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--saffron);
  color: var(--white);
  border-radius: 4px;
  padding: .3rem .8rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  animation: fadeUp .6s .05s ease both;
}

.post-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp .6s .1s ease both;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeUp .6s .2s ease both;
}

.post-author-chip {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.post-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--saffron);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, .2);
}

.post-author-info {
  font-size: .8rem;
}

.post-author-name {
  font-weight: 600;
  color: var(--white);
}

.post-author-role {
  color: rgba(255, 255, 255, .45);
  font-size: .72rem;
}

.post-meta-item {
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.post-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

/* ── ARTICLE LAYOUT ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  padding: 4rem 8%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.article-content {
  max-width: 720px;
}

.article-content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 .8rem;
  line-height: 1.25;
}

.article-content p {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.85;
}

.article-content li {
  margin-bottom: .5rem;
}

.article-content blockquote {
  border-left: 3px solid var(--saffron);
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: rgba(232, 96, 10, .04);
  border-radius: 0 12px 12px 0;
}

.article-content blockquote p {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 0;
}

.article-content blockquote cite {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-top: .6rem;
  font-style: normal;
}

.article-content img {
  width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.article-content code {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .15rem .4rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--saffron);
}

.article-content pre {
  background: var(--ink);
  color: rgba(255, 255, 255, .85);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .8rem;
  line-height: 1.7;
}

.article-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--saffron);
  border-radius: 4px 0 0 4px;
}

.info-box-title {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: .6rem;
}

.info-box p {
  margin-bottom: .5rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* ── STEP BLOCKS ── */
.step-block {
  display: flex;
  gap: 1.2rem;
  margin: 1.5rem 0;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--saffron);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content h4 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .4rem;
}

.step-content p {
  font-size: .88rem;
  margin-bottom: 0;
}

/* ── ARTICLE TAGS ── */
.article-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-tag {
  display: inline-block;
  padding: .35rem .9rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
}

.article-tag:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

/* ── SHARE BAR ── */
.share-bar {
  display: flex;
  gap: .6rem;
  align-items: center;
  margin-top: 1.5rem;
}

.share-label {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .5rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s;
  font-size: .85rem;
  color: var(--muted);
}

.share-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  background: rgba(232, 96, 10, .04);
}

/* ── SIDEBAR ── */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}

.sidebar-card-title {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1.2rem;
}

.toc-list {
  list-style: none;
}

.toc-item {
  margin-bottom: .6rem;
}

.toc-item a {
  font-size: .82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .5rem;
  line-height: 1.4;
}

.toc-item a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background .2s;
}

.toc-item a:hover {
  color: var(--saffron);
}

.toc-item a:hover::before {
  background: var(--saffron);
}

.sidebar-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sidebar-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--saffron);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .8rem;
}

.sidebar-author-name {
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: .2rem;
}

.sidebar-author-role {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: .8rem;
}

.sidebar-author-bio {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
}

.sidebar-cta {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  text-align: center;
}

.sidebar-cta .sidebar-card-title {
  color: var(--saffron-light);
}

.sidebar-cta-text {
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.sidebar-cta-btn {
  display: inline-flex;
  background: var(--saffron);
  color: var(--white);
  padding: .7rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: .85rem;
  transition: background .2s, transform .2s;
}

.sidebar-cta-btn:hover {
  background: var(--saffron-light);
  transform: translateY(-2px);
}

/* ── RELATED POSTS ── */
.related-section {
  padding: 5rem 8%;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.related-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ink);
}

.related-all {
  font-size: .85rem;
  font-weight: 500;
  color: var(--saffron);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: gap .2s;
}

.related-all:hover {
  gap: .7rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .1);
}

.related-card:hover .related-card-img img {
  transform: scale(1.05);
}

.related-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.25, 1, .5, 1);
}

.related-card-body {
  padding: 1.5rem;
}

.related-card-cat {
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: .6rem;
}

.related-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: .5rem;
}

.related-card-meta {
  font-size: .72rem;
  color: var(--muted);
}

/* ── BLOG DETAIL: RESPONSIVE ── */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .post-hero-content {
    padding: 3rem 5%;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    padding: 2.5rem 5%;
  }

  .related-section {
    padding: 3rem 5%;
  }

  .post-hero {
    min-height: 380px;
  }
}


/* ============================================================
   CONTACT PAGE (contact.php)
   ============================================================ */

/* ── HERO ── */
.contact-hero {
  padding: 10rem 8% 5rem;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(232, 96, 10, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* ── HERO BANNER IMAGE ── */
.contact-hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.contact-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.22;
  display: block;
}

.contact-hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.70) 50%,
    rgba(15, 23, 42, 0.82) 100%
  );
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-hero-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 1rem;
  animation: fadeUp 0.6s ease both;
}

.contact-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.contact-hero-title em {
  font-style: normal;
  color: var(--saffron-light);
}

.contact-hero-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.15s ease both;
}

/* ── HERO CONTACT PILLS ── */
.hero-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  animation: fadeUp 0.6s 0.25s ease both;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
}

.hero-pill-primary {
  background: var(--saffron);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 96, 10, 0.35);
}

.hero-pill-primary:hover {
  background: var(--saffron-light);
  transform: translateY(-2px);
}

.hero-pill-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.hero-pill-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ── HERO INFO STACK ── */
.hero-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-info-block {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: background 0.2s;
}

.hero-info-block:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hero-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-info-icon.orange {
  background: rgba(232, 96, 10, 0.2);
}

.hero-info-icon.gold {
  background: rgba(212, 160, 23, 0.2);
}

.hero-info-icon.blue {
  background: rgba(26, 74, 138, 0.25);
}

.hero-info-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.hero-info-text span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.hero-info-text a {
  color: var(--saffron-light);
  text-decoration: none;
}

/* ── CONTACT CARDS STRIP ── */
.contact-cards-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
}

.contact-card-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.contact-card-item:last-child {
  border-right: none;
}

.contact-card-item:hover {
  background: rgba(232, 96, 10, 0.04);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card-item:hover .contact-card-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.5rem;
}

.contact-card-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.contact-card-sub {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── DUAL CARD (Phone + WhatsApp) ── */
.contact-card-dual {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  padding: 0;
}

.contact-card-dual-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.8rem 2rem;
  flex: 1;
  transition: background 0.2s;
}

.contact-card-dual-row:hover {
  background: rgba(232, 96, 10, 0.04);
}

.contact-card-dual .contact-card-icon {
  margin: 0;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.contact-card-icon-wa {
  background: rgba(37, 211, 102, 0.08) !important;
  border-color: rgba(37, 211, 102, 0.2) !important;
}

.contact-card-dual-text {
  flex: 1;
}

.contact-card-dual-text .contact-card-label {
  text-align: left;
  margin-bottom: 0.3rem;
}

.contact-card-dual-text .contact-card-value {
  text-align: left;
  margin-bottom: 0.2rem;
}

.contact-card-dual-text .contact-card-value a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-card-dual-text .contact-card-value a:hover {
  color: var(--saffron);
}

.contact-card-dual-text .contact-card-sub {
  text-align: left;
}

/* Thin separator between phone and whatsapp rows (subtle, no visual division) */
.contact-card-dual-sep {
  height: 1px;
  margin: 0 2rem;
  background: var(--border);
  opacity: 0.5;
}

/* Standard cards: make links inheritable */
.contact-card-item .contact-card-value a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-card-item .contact-card-value a:hover {
  color: var(--saffron);
}

/* ── MAIN: FORM + MAP SPLIT ── */
.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.contact-form-side {
  padding: 5rem 4rem 5rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── MAP SIDE ── */
.contact-map-side {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.contact-map-side iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) contrast(1.05);
}

.map-overlay-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  z-index: 5;
  color: var(--white);
}

.map-overlay-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.map-overlay-address {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.map-overlay-actions {
  display: flex;
  gap: 0.6rem;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.map-btn-primary {
  background: var(--saffron);
  color: var(--white);
}

.map-btn-primary:hover {
  background: var(--saffron-light);
}

.map-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.map-btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

/* ── FAQ (contact page) ── */
.faq-section {
  padding: 6rem 8%;
  background: var(--paper);
}

.faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.faq-item.open {
  border-color: rgba(232, 96, 10, 0.3);
}

.faq-item.open .faq-question {
  color: var(--saffron);
}

.faq-item.open .faq-toggle {
  background: var(--saffron);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  transition: color 0.2s;
  user-select: none;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item.open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.3rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── VISIT / CTA SECTION ── */
.visit-section {
  background: var(--ink);
  padding: 5rem 8%;
  position: relative;
  overflow: hidden;
}

.visit-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(232, 96, 10, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.visit-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 0.75rem;
}

.visit-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}

.visit-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.visit-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-secondary-white {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s, color 0.2s;
  padding: 0.85rem 0;
}

.btn-secondary-white:hover {
  gap: 0.8rem;
  color: var(--white);
}

.visit-schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.schedule-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  transition: background 0.2s;
}

.schedule-card:hover {
  background: rgba(255, 255, 255, 0.09);
}

.schedule-icon {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.schedule-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.schedule-detail {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* ── CONTACT PAGE: RESPONSIVE ── */
@media (max-width: 1024px) {
  .contact-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-map-side {
    min-height: 400px;
  }

  .contact-cards-strip {
    grid-template-columns: 1fr 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .visit-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 560px) {
  .contact-cards-strip {
    grid-template-columns: 1fr;
  }

  .faq-section {
    padding: 4rem 5%;
  }

  .visit-section {
    padding: 4rem 5%;
  }

  .visit-schedule {
    grid-template-columns: 1fr;
  }

  .hero-contact-pills {
    flex-direction: column;
  }
}


/* ============================================================
   COURSEINFO PAGE (courseinfo.php) — Tally Prime Course Detail
   ============================================================ */

/* ── LIGHT HERO ── */
.course-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 100px;
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 1;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, .8) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4% 5rem 8%;
  position: relative;
  z-index: 3;
}

.hero-crumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

.hero-crumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.hero-crumb a:hover {
  color: var(--saffron);
}

.hero-crumb-sep {
  opacity: .4;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 1.5rem;
  width: fit-content;
  animation: fadeUp .8s ease both;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
}

.hero-eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--saffron);
  border-radius: 50%;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.025em;
  margin-bottom: 1.4rem;
  animation: fadeUp .8s .1s ease both;
}

.hero-h1 em {
  font-style: normal;
  color: var(--saffron);
  position: relative;
}

.hero-h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--saffron);
  opacity: .2;
  border-radius: 2px;
}

.hero-desc {
  font-size: .98rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2rem;
  animation: fadeUp .8s .2s ease both;
}

.hero-pills {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeUp .8s .3s ease both;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.pill-orange {
  border: 1px solid var(--saffron);
  color: var(--saffron);
}

.pill-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.pill-green {
  border: 1px solid #16a34a;
  color: #16a34a;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp .8s .4s ease both;
}

.hero-outline-btn {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .2s;
  border: 1.5px solid #0f172a;
  padding: .75rem 1.4rem;
  border-radius: 4px;
}

.hero-outline-btn:hover {
  background: #0f172a;
  color: var(--white);
}

/* ── EDITORIAL COMPOSITION ── */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 8% 5rem 0;
  position: relative;
  z-index: 3;
}

.ed-composition {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 550px;
  animation: fadeUp 1s .2s ease both;
}

.ed-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 75%;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 42, .15);
  border: 8px solid var(--white);
}

.ed-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-img-sub {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 45%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, .12);
  border: 8px solid var(--white);
}

.ed-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-badge {
  position: absolute;
  top: 45%;
  left: -5%;
  width: 130px;
  height: 130px;
  background: var(--saffron);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  box-shadow: 0 15px 30px rgba(232, 96, 10, .3);
  border: 4px solid var(--white);
  animation: float 5s ease-in-out infinite;
  z-index: 4;
}

.ed-badge strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: .2rem;
}

.ed-badge span {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--font-mono);
  opacity: .9;
}

.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
  border: 1px solid rgba(0, 0, 0, .06);
  animation: float 6s ease-in-out infinite;
  z-index: 4;
}

.fb-icon {
  font-size: 1.3rem;
}

.fb-text strong {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
}

.fb-text span {
  font-size: .65rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.fb-top-right {
  top: 8%;
  right: -8%;
  animation-delay: 1s;
}

/* ── OVERVIEW STRIP ── */
.overview-strip {
  background: #0f172a;
  padding: 1.8rem 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ov-item {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.ov-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ov-text strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
}

.ov-text span {
  font-size: .7rem;
  color: rgba(255, 255, 255, .7);
}

.ov-sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, .2);
}

/* ── STATS ROW ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-cell {
  padding: 2.2rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell:hover {
  background: var(--cream);
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-val em {
  font-style: normal;
  color: var(--saffron);
}

.stat-lab {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}

/* ── SYLLABUS SECTION ── */
.syllabus-section {
  padding: 5rem 8%;
  background: var(--paper);
}

.syllabus-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.syllabus-desc {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--muted);
}

.syllabus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.syl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}

.syl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
}

.syl-card.featured {
  background: var(--ink);
  border-color: var(--ink);
}

.syl-card-head {
  padding: 1.3rem 1.5rem .9rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  border-bottom: 1px solid var(--border);
}

.syl-card.featured .syl-card-head {
  border-bottom-color: rgba(255, 255, 255, .1);
}

.syl-num {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  color: var(--saffron);
  background: rgba(232, 96, 10, .1);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.syl-card.featured .syl-num {
  background: rgba(232, 96, 10, .2);
}

.syl-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.syl-card.featured .syl-title {
  color: var(--white);
}

.syl-card-body {
  padding: .9rem 1.5rem 1.3rem;
}

.syl-desc {
  font-size: .8rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: .8rem;
}

.syl-card.featured .syl-desc {
  color: rgba(255, 255, 255, .55);
}

.syl-topics {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.syl-topic {
  display: inline-block;
  padding: .2rem .6rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
}

.syl-card.featured .syl-topic {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .55);
}

.syl-card.full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  border-color: rgba(232, 96, 10, .25);
  background: rgba(232, 96, 10, .03);
}

.syl-card.full .syl-card-head {
  border-right: 1px solid rgba(232, 96, 10, .2);
  border-bottom: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  min-width: 180px;
}

.syl-card.full .syl-card-body {
  padding: 1.5rem;
  border-top: none;
}

.syl-card.full .syl-num {
  background: rgba(232, 96, 10, .15);
}

.syl-card.full .syl-title {
  font-size: 1rem;
  color: var(--saffron);
}

/* ── CAREER SECTION (courseinfo) ── */
.career-section {
  padding: 5rem 8%;
  background: var(--cream);
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.career-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--saffron);
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}

.career-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
}

.career-card:hover::before {
  transform: scaleX(1);
}

.career-icon {
  font-size: 1.5rem;
  margin-bottom: .8rem;
}

.career-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
}

.career-sal {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: .4rem;
}

.career-desc {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CERTIFICATION SECTION ── */
.cert-section {
  padding: 5rem 8%;
  background: var(--paper);
}

.cert-intro {
  margin-bottom: 3rem;
}

.cert-eyebrow {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: .5rem;
}

.cert-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: .6rem;
}

.cert-sub-text {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.cert-card:hover {
  border-color: rgba(0, 0, 0, .15);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
}

.cert-accent {
  height: 4px;
  width: 100%;
}

.ca-amber {
  background: var(--gold);
}

.ca-blue {
  background: #1a4a8a;
}

.ca-coral {
  background: var(--saffron);
}

.cert-card-top {
  padding: 1.5rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cert-seal-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
}

.cert-seal {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  flex-shrink: 0;
}

.cs-amber {
  background: rgba(212, 160, 23, .12);
  color: #7a5a08;
}

.cs-blue {
  background: rgba(26, 74, 138, .1);
  color: #1a4a8a;
}

.cs-coral {
  background: rgba(232, 96, 10, .1);
  color: #99400a;
}

.cert-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .7rem;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 600;
}

.cvp-amber {
  background: rgba(212, 160, 23, .1);
  border: 1px solid rgba(212, 160, 23, .3);
  color: #7a5a08;
}

.cvp-blue {
  background: rgba(26, 74, 138, .08);
  border: 1px solid rgba(26, 74, 138, .2);
  color: #1a4a8a;
}

.cvp-coral {
  background: rgba(232, 96, 10, .08);
  border: 1px solid rgba(232, 96, 10, .2);
  color: #99400a;
}

.cvp-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cvpd-amber {
  background: var(--gold);
}

.cvpd-blue {
  background: #1a4a8a;
}

.cvpd-coral {
  background: var(--saffron);
}

.cvp-check {
  width: 8px;
  height: 8px;
  stroke: var(--white);
  stroke-width: 2.5;
  fill: none;
}

.cert-card-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .3rem;
  line-height: 1.25;
}

.cert-card-desc {
  font-size: .8rem;
  line-height: 1.65;
  color: var(--muted);
}

.cert-card-foot {
  padding: .8rem 1.5rem 1.3rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.cert-foot-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  color: var(--muted);
}

.cfd {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cfd-amber {
  background: var(--gold);
}

.cfd-blue {
  background: #1a4a8a;
}

.cfd-coral {
  background: var(--saffron);
}

/* ── GALLERY SECTION ── */
.gallery-section {
  padding: 6rem 8%;
  background: var(--cream);
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.gallery-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.gallery-slider-wrap {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 1.5rem;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  min-width: 380px;
  max-width: 380px;
  scroll-snap-align: start;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25, 1, .5, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, transparent 40%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .3s;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.gallery-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.gallery-arrow {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .3s;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.gallery-arrow:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 96, 10, .3);
}

/* ── FAQ (courseinfo) ── */
.faq-section {
  padding: 5rem 8%;
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item:hover {
  border-color: rgba(232, 96, 10, .3);
}

.faq-q {
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: .5rem;
}

.faq-q-text {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}

.faq-toggle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: .7rem;
  color: var(--muted);
  transition: transform .3s, background .2s;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
  background: var(--saffron);
  color: var(--white);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a-inner {
  padding: .1rem 1.3rem 1.1rem;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── CTA ENQUIRY SECTION ── */
.cta-enquiry {
  padding: 5rem 8%;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.cta-enquiry::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(232, 96, 10, .12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-left .section-title {
  color: var(--white);
}

.cta-left .section-label {
  color: var(--saffron-light);
}

.cta-left p {
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 2rem;
  max-width: 380px;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .65);
  border: 1.5px solid rgba(255, 255, 255, .15);
  padding: .85rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s;
}

.cta-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.enq-form-panel {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 2.5rem;
}

.enq-form-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .3rem;
}

.enq-form-sub {
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 1.5rem;
}

.enq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: .8rem;
}

.enq-row.full {
  grid-template-columns: 1fr;
}

.enq-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.enq-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}

.enq-input {
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  padding: .65rem .9rem;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.enq-input::placeholder {
  color: rgba(255, 255, 255, .25);
}

.enq-input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232, 96, 10, .15);
}

.enq-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,.3)' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, .6);
}

.enq-select option {
  background: var(--ink);
  color: var(--white);
}

.enq-submit {
  width: 100%;
  padding: .9rem;
  background: var(--saffron);
  color: var(--white);
  border: none;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(232, 96, 10, .35);
  margin-top: .4rem;
}

.enq-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 96, 10, .45);
}

.enq-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}

.enq-success.show {
  display: block;
}

.enq-success-icon {
  font-size: 2.5rem;
  margin-bottom: .6rem;
}

.enq-success-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .3rem;
}

.enq-success-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6;
}

/* ── COURSEINFO: RESPONSIVE ── */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1100px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .career-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .course-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-right {
    padding: 2rem 5% 4rem;
    justify-content: center;
  }

  .ed-composition {
    max-width: 400px;
    height: 450px;
  }

  .fb-top-right {
    right: -5%;
  }

  .hero-left {
    padding: 4rem 5% 2rem;
  }

  .syllabus-intro {
    grid-template-columns: 1fr;
  }

  .syllabus-grid {
    grid-template-columns: 1fr;
  }

  .syl-card.full {
    grid-template-columns: 1fr;
  }

  .syl-card.full .syl-card-head {
    border-right: none;
    border-bottom: 1px solid rgba(232, 96, 10, .2);
    flex-direction: row;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .stat-cell {
    border-bottom: 1px solid var(--border);
  }

  .overview-strip {
    flex-direction: column;
    gap: 1rem;
  }

  .ov-sep {
    display: none;
  }
}

@media (max-width: 600px) {
  .course-hero {
    padding-top: 90px;
  }

  .hero-h1 {
    font-size: 2.5rem;
  }

  .ed-composition {
    max-width: 100%;
    height: 350px;
  }

  .fb-top-right {
    right: -10%;
    top: 5%;
  }

  .career-grid {
    grid-template-columns: 1fr 1fr;
  }

  .syllabus-grid {
    grid-template-columns: 1fr;
  }

  .cta-enquiry {
    padding: 3.5rem 5%;
  }

  .enq-row {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    min-width: 280px;
    max-width: 280px;
  }

  .gallery-section {
    padding: 4rem 5%;
  }
}


/* ============================================================
   COURSES PAGE (courses.php) — Course Listing & Brochure Modal
   ============================================================ */

/* ── CENTERED HERO ── */
.page-hero-center {
  padding: 10rem 8% 8rem;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero-center::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(232, 96, 10, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.page-hero-center::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--paper), transparent);
  z-index: 2;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge-center {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(232, 96, 10, 0.15);
  border: 1px solid rgba(232, 96, 10, 0.3);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero-title-center {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title-center em {
  font-style: normal;
  color: var(--saffron);
  position: relative;
  display: inline-block;
}

.hero-title-center em::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--saffron);
  opacity: 0.35;
  border-radius: 2px;
}

.hero-desc-center {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 650px;
  margin: 0 auto 2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions-center {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.brochure-btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.brochure-btn-hero:hover {
  background: rgba(255, 255, 255, 0.14);
}

.brochure-btn-hero svg {
  width: 16px;
  height: 16px;
}

/* ── FILTER WRAP ── */
.filter-wrap {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 5% 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.filter-btn.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
}

/* ── COURSES CONTAINER & GRID ── */
.courses-container {
  padding: 2.5rem 5% 7rem;
  max-width: 1400px;
  margin: 0 auto;
}

.courses-grid-detailed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── COURSE CARD ── */
.course-card-detailed {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.course-card-detailed:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

/* Accent bars */
.card-accent {
  height: 5px;
  width: 100%;
}

.acc-orange {
  background: linear-gradient(90deg, #e8600a, #ff8c42);
}

.acc-blue {
  background: linear-gradient(90deg, #1a4a8a, #3b82f6);
}

.acc-green {
  background: linear-gradient(90deg, #166534, #22c55e);
}

.acc-purple {
  background: linear-gradient(90deg, #5b21b6, #8b5cf6);
}

.acc-gold {
  background: linear-gradient(90deg, #d4a017, #facc15);
}

.acc-teal {
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.acc-red {
  background: linear-gradient(90deg, #991b1b, #ef4444);
}

/* Card top row */
.card-top {
  padding: 1.8rem 1.8rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ic-orange {
  background: rgba(232, 96, 10, 0.1);
}

.ic-blue {
  background: rgba(59, 130, 246, 0.1);
}

.ic-green {
  background: rgba(34, 197, 94, 0.1);
}

.ic-purple {
  background: rgba(139, 92, 246, 0.1);
}

.ic-gold {
  background: rgba(212, 160, 23, 0.1);
}

.ic-teal {
  background: rgba(20, 184, 166, 0.1);
}

.ic-red {
  background: rgba(239, 68, 68, 0.1);
}

.card-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
}

.badge-popular {
  background: rgba(232, 96, 10, 0.12);
  color: var(--saffron);
}

.badge-govt {
  background: rgba(59, 130, 246, 0.1);
  color: #1a4a8a;
}

.badge-new {
  background: rgba(34, 197, 94, 0.1);
  color: #166534;
}

.badge-pro {
  background: rgba(139, 92, 246, 0.1);
  color: #5b21b6;
}

/* Card body */
.card-body-d {
  padding: 1.2rem 1.8rem 1.4rem;
  flex: 1;
}

.card-title-d {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.card-summary {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.card-meta-d {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.chip-duration {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--border);
}

.chip-fee {
  background: rgba(232, 96, 10, 0.08);
  color: var(--saffron);
  border: 1px solid rgba(232, 96, 10, 0.2);
}

/* Syllabus toggle + panel */
.syllabus-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}

.syllabus-toggle-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.syllabus-toggle-icon {
  width: 22px;
  height: 22px;
  background: var(--cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--muted);
  transition: transform 0.3s, background 0.2s;
  flex-shrink: 0;
}

.course-card-detailed.open .syllabus-toggle-icon {
  transform: rotate(180deg);
  background: var(--saffron);
  color: var(--white);
}

.syllabus-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card-detailed.open .syllabus-panel {
  max-height: 340px;
}

.syllabus-scroll-wrap {
  position: relative;
}

.syllabus-scroll {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
  scroll-behavior: smooth;
}

.syllabus-scroll::-webkit-scrollbar {
  width: 4px;
}

.syllabus-scroll::-webkit-scrollbar-track {
  background: var(--paper);
  border-radius: 2px;
}

.syllabus-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.syllabus-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--saffron);
}

.syllabus-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 4px;
  height: 40px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 0 0 8px 8px;
  transition: opacity 0.3s;
}

.syllabus-fade.hidden {
  opacity: 0;
}

.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.5rem auto 0.6rem;
  width: fit-content;
  transition: opacity 0.3s;
}

.scroll-hint svg {
  width: 10px;
  height: 10px;
  animation: bounceDown 1.2s ease-in-out infinite;
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(3px);
  }
}

/* Module list inside syllabus panel */
.module-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.8rem 0 0.6rem;
}

.module-item {
  background: var(--paper);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--border);
  transition: border-color 0.2s;
}

.course-card-detailed.open .module-item:hover {
  border-left-color: var(--saffron);
}

.module-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.module-desc {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.topic-chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}

/* Card footer */
.card-footer-d {
  padding: 1rem 1.8rem 1.8rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.card-enroll-btn {
  flex: 1;
  background: var(--saffron);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(232, 96, 10, 0.3);
}

.card-enroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 96, 10, 0.45);
  color: var(--white);
}

.card-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.card-download-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  background: rgba(232, 96, 10, 0.04);
}

.card-download-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── BROCHURE DOWNLOAD BANNER ── */
.brochure-banner {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.brochure-banner-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 0.5rem;
}

.brochure-banner-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.brochure-banner-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.brochure-banner-right {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.brochure-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--saffron);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(232, 96, 10, 0.35);
}

.brochure-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 96, 10, 0.45);
}

.brochure-all-btn svg {
  width: 16px;
  height: 16px;
}

.enq-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.enq-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* ── BROCHURE MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  background: var(--ink);
  padding: 2rem 2rem 1.8rem;
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(232, 96, 10, 0.15);
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.modal-course-name {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.modal-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.modal-body {
  padding: 1.8rem 2rem 2rem;
}

.modal-field {
  margin-bottom: 1rem;
}

.modal-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
  display: block;
}

.modal-input {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232, 96, 10, 0.1);
}

.modal-download-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--saffron);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(232, 96, 10, 0.35);
  margin-top: 0.5rem;
  line-height: 1;
}

.modal-download-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.modal-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 96, 10, 0.45);
}

.modal-note {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.8rem;
  line-height: 1.5;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.modal-success.show {
  display: block;
}

.modal-success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.modal-success-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.modal-success-sub {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── MISC OUTLINE BUTTON ── */
.cta-btn-outline-border {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s, color 0.2s;
  border: 1.5px solid var(--border);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
}

.cta-btn-outline-border:hover {
  gap: 0.8rem;
  border-color: var(--saffron);
  color: var(--saffron);
}

/* ── COURSES PAGE: RESPONSIVE ── */
@media (max-width: 900px) {
  .courses-grid-detailed {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .courses-grid-detailed {
    grid-template-columns: 1fr;
  }

  .courses-container {
    padding: 2rem 5% 4rem;
  }
}


/* ============================================================
   OFFICE PAGE (office.php) — MS Office Complete Course
   ============================================================ */

/* ── APP COLOR TOKENS ── */
:root {
  --word: #1a56a4;
  --excel: #1d7044;
  --ppt: #c43b1e;
  --internet: #0284c7;
  --outlook: #0f4c81;
  --access: #6d1a36;
  --adv: #7c3aed;
  --vba: #1e3a5f;
  --navy: #0f172a;
  --saffron-grad: linear-gradient(135deg, #e8600a, #ff7a1f);
}

/* ── APP PILLS (hero) ── */
.app-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeUp .8s .3s ease both;
}

.app-pill {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .28rem .7rem;
  border-radius: 5px;
  font-size: .7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  border: 1px solid;
}

.pill-word {
  border-color: rgba(26, 86, 164, .3);
  color: #1a56a4;
}

.pill-excel {
  border-color: rgba(29, 112, 68, .3);
  color: #1d7044;
}

.pill-ppt {
  border-color: rgba(196, 59, 30, .3);
  color: #c43b1e;
}

.pill-outlook {
  border-color: rgba(15, 76, 129, .3);
  color: #0f4c81;
}

.pill-adv {
  border-color: rgba(124, 58, 237, .3);
  color: #7c3aed;
}

.pill-vba {
  border-color: rgba(30, 58, 95, .3);
  color: #1e3a5f;
}

.pill-internet {
  border-color: rgba(2, 132, 199, .3);
  color: #0284c7;
}

.pill-access {
  border-color: rgba(109, 26, 54, .3);
  color: #6d1a36;
}

.app-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── OFFICE HERO OUTLINE BUTTON ── */
.hero-outline-btn {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .2s;
  border: 1.5px solid var(--navy);
  padding: .75rem 1.4rem;
  border-radius: 100px;
}

.hero-outline-btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── FLOAT BADGE (dark glass variant for office) ── */
.float-badge-dark {
  background: rgba(20, 20, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.float-badge-dark .fb-text strong {
  color: var(--white);
}

.float-badge-dark .fb-text span {
  color: var(--saffron);
}

/* ── ABOUT SECTION (office) ── */
.ao-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.ao-section::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 96, 10, .1) 0%, transparent 65%);
  pointer-events: none;
}

.ao-left {
  padding: 6rem 5% 6rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.ao-label {
  color: var(--saffron-light);
}

.ao-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.ao-body {
  font-size: .92rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 1.2rem;
  max-width: 480px;
}

.ao-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.ao-stat-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .2rem;
}

.ao-stat-val span {
  font-style: normal;
  color: var(--saffron);
}

.ao-stat-lab {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255, 255, 255, .35);
}

.ao-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .1);
}

.ao-cta {
  align-self: flex-start;
}

.ao-right {
  padding: 6rem 8% 6rem 5%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(255, 255, 255, .06);
}

.ao-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.ao-feat {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: background .25s, border-color .25s;
}

.ao-feat:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
}

.ao-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ao-feat-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: .25rem;
}

.ao-feat-desc {
  font-size: .75rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6;
}

/* ── APP MODULES SECTION ── */
.modules-section {
  padding: 7rem 8%;
  background: var(--cream);
}

.modules-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.modules-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* ── APP CARD ── */
.app-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .06);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  background: var(--white);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .02);
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, .08);
  border-color: rgba(15, 23, 42, .12);
}

.app-card-header {
  padding: 2.5rem 2.5rem 1.5rem;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.app-card-header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .04;
  transition: opacity .4s;
}

.word-card .app-card-header::after {
  background: var(--word);
}

.excel-card .app-card-header::after {
  background: var(--excel);
}

.ppt-card .app-card-header::after {
  background: var(--ppt);
}

.internet-card .app-card-header::after {
  background: var(--internet);
}

.outlook-card .app-card-header::after {
  background: var(--outlook);
}

.access-card .app-card-header::after {
  background: var(--access);
}

.adv-card .app-card-header::after {
  background: var(--adv);
}

.vba-card .app-card-header::after {
  background: var(--vba);
}

.app-card:hover .app-card-header::after {
  opacity: .08;
}

.app-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.app-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .15);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.app-card:hover .app-logo {
  transform: scale(1.08) rotate(-5deg);
}

/* App logo gradients */
.logo-word {
  background: linear-gradient(135deg, #2563eb, var(--word));
}

.logo-excel {
  background: linear-gradient(135deg, #22c55e, var(--excel));
}

.logo-ppt {
  background: linear-gradient(135deg, #f97316, var(--ppt));
}

.logo-internet {
  background: linear-gradient(135deg, #38bdf8, var(--internet));
}

.logo-outlook {
  background: linear-gradient(135deg, #60a5fa, var(--outlook));
}

.logo-access {
  background: linear-gradient(135deg, #f472b6, var(--access));
}

.logo-adv {
  background: linear-gradient(135deg, #a78bfa, var(--adv));
}

.logo-vba {
  background: linear-gradient(135deg, #94a3b8, var(--vba));
}

/* Module badge/duration pill */
.app-duration {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 100px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--border);
}

.app-duration::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dur-word {
  color: var(--word);
}

.dur-word::before {
  background: var(--word);
}

.dur-excel {
  color: var(--excel);
}

.dur-excel::before {
  background: var(--excel);
}

.dur-ppt {
  color: var(--ppt);
}

.dur-ppt::before {
  background: var(--ppt);
}

.dur-internet {
  color: var(--internet);
}

.dur-internet::before {
  background: var(--internet);
}

.dur-outlook {
  color: var(--outlook);
}

.dur-outlook::before {
  background: var(--outlook);
}

.dur-access {
  color: var(--access);
}

.dur-access::before {
  background: var(--access);
}

.dur-adv {
  color: var(--adv);
}

.dur-adv::before {
  background: var(--adv);
}

.dur-vba {
  color: var(--vba);
}

.dur-vba::before {
  background: var(--vba);
}

.app-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.app-tagline {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: .4rem;
}

.app-card-body {
  padding: 2rem 2.5rem 2.5rem;
}

.app-desc {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.topic-section-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.topic-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.topic-tags:last-child {
  margin-bottom: 0;
}

.ttag {
  display: inline-block;
  padding: .35rem .8rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .3s;
}

/* Per-card tag hover colours */
.word-card .ttag:hover {
  background: rgba(26, 86, 164, .08);
  border-color: rgba(26, 86, 164, .3);
  color: var(--word);
  transform: translateY(-2px);
}

.excel-card .ttag:hover {
  background: rgba(29, 112, 68, .08);
  border-color: rgba(29, 112, 68, .3);
  color: var(--excel);
  transform: translateY(-2px);
}

.ppt-card .ttag:hover {
  background: rgba(196, 59, 30, .08);
  border-color: rgba(196, 59, 30, .3);
  color: var(--ppt);
  transform: translateY(-2px);
}

.internet-card .ttag:hover {
  background: rgba(2, 132, 199, .08);
  border-color: rgba(2, 132, 199, .3);
  color: var(--internet);
  transform: translateY(-2px);
}

.outlook-card .ttag:hover {
  background: rgba(15, 76, 129, .08);
  border-color: rgba(15, 76, 129, .3);
  color: var(--outlook);
  transform: translateY(-2px);
}

.access-card .ttag:hover {
  background: rgba(109, 26, 54, .08);
  border-color: rgba(109, 26, 54, .3);
  color: var(--access);
  transform: translateY(-2px);
}

.adv-card .ttag:hover {
  background: rgba(124, 58, 237, .08);
  border-color: rgba(124, 58, 237, .3);
  color: var(--adv);
  transform: translateY(-2px);
}

.vba-card .ttag:hover {
  background: rgba(30, 58, 95, .08);
  border-color: rgba(30, 58, 95, .3);
  color: var(--vba);
  transform: translateY(-2px);
}

/* Full-width card (VBA module) */
.app-card.full {
  grid-column: 1 / -1;
}

.app-card.full .app-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}

/* ── CAREER SECTION (office) ── */
.career-section-office {
  padding: 5rem 8%;
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.career-grid-office {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.cc-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
}

.cc-sal {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: .6rem;
}

.cc-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── GALLERY SECTION 9:16 (office) ── */
/* ── GALLERY SECTION (office) — card grid ── */
.gal-section {
  padding: 6rem 8%;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .06);
  position: relative;
  overflow: hidden;
}

.gal-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 96, 10, .07) 0%, transparent 65%);
  pointer-events: none;
}

.gal-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.gal-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: .4rem;
  line-height: 1.1;
}

.gal-sub {
  font-size: .88rem;
  color: rgba(255, 255, 255, .4);
  max-width: 400px;
  line-height: 1.6;
}

.gal-enq-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--saffron);
  color: var(--white);
  padding: .75rem 1.8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(232, 96, 10, .35);
  white-space: nowrap;
  flex-shrink: 0;
}

.gal-enq-btn:hover {
  background: var(--saffron-light);
  transform: translateY(-2px);
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.gal-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  overflow: hidden;
  transition: background .3s, border-color .3s, transform .3s;
  cursor: default;
}

.gal-card:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
  transform: translateY(-4px);
}

.gal-card-icon {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.gal-icon-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gal-icon-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.gal-icon-bg svg {
  position: relative;
  z-index: 1;
}

.gal-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.gal-card-tag {
  display: inline-block;
  padding: .22rem .65rem;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}

.gal-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
  line-height: 1.2;
}

.gal-card-desc {
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.65;
}

/* ── OFFICE PAGE: RESPONSIVE ── */
@media (max-width: 1100px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }

  .app-card.full .app-card-body {
    grid-template-columns: 1fr 1fr;
  }

  .career-grid-office {
    grid-template-columns: 1fr 1fr;
  }

  .ao-section {
    grid-template-columns: 1fr;
  }

  .ao-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 4rem 8%;
  }

  .gal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .modules-intro {
    grid-template-columns: 1fr;
  }

  .ao-feat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .float-badge {
    transform: scale(0.85);
    padding: .8rem 1rem;
  }

  .career-grid-office {
    grid-template-columns: 1fr;
  }

  .app-card.full .app-card-body {
    grid-template-columns: 1fr;
  }

  .ao-feat-grid {
    grid-template-columns: 1fr;
  }

  .gal-grid {
    grid-template-columns: 1fr;
  }

  .ao-stats {
    gap: 1rem;
  }
}

/* ══════════════════════════════════════════════════════
   RSCIT PAGE
   ══════════════════════════════════════════════════════ */

/* ── HERO ── */
.rscit-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  padding-top: 100px;
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  position: relative;
  overflow: hidden;
}

.rscit-hero-glow {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, .8) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.rscit-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4% 5rem 8%;
  position: relative;
  z-index: 3;
}

.rscit-hero-left .hero-crumb a {
  color: var(--muted);
}

.rscit-hero-left .hero-crumb span {
  color: #0f172a;
  font-weight: 700;
}

.rscit-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 1.5rem;
  width: fit-content;
  animation: fadeUp .8s ease both;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
}

.rscit-eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--saffron);
  border-radius: 50%;
}

.rscit-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.025em;
  color: #0f172a;
  margin-bottom: 1.4rem;
  animation: fadeUp .8s .1s ease both;
}

.rscit-h1 em {
  font-style: normal;
  color: var(--saffron);
  position: relative;
  display: inline-block;
}

.rscit-h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--saffron);
  opacity: .2;
  border-radius: 2px;
}

.rscit-desc {
  font-size: .98rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2rem;
  animation: fadeUp .8s .2s ease both;
}

.rscit-pills {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeUp .8s .3s ease both;
}

.rscit-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.rscit-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rscit-pill-blue {
  border: 1px solid #1a56a4;
  color: #1a56a4;
}

.rscit-pill-blue::before {
  background: #60a5fa;
}

.rscit-pill-green {
  border: 1px solid #1d7044;
  color: #1d7044;
}

.rscit-pill-green::before {
  background: #86efac;
}

.rscit-pill-red {
  border: 1px solid #c43b1e;
  color: #c43b1e;
}

.rscit-pill-red::before {
  background: #fca5a5;
}

.rscit-pill-ink {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.rscit-pill-ink::before {
  background: #fde68a;
}

.rscit-cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp .8s .4s ease both;
}

.rscit-outline-btn {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1.5px solid #0f172a;
  padding: .75rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
}

.rscit-outline-btn:hover {
  background: #0f172a;
  color: var(--white);
}

/* Hero right composition */
.rscit-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 8% 5rem 0;
  position: relative;
  z-index: 3;
}

.rscit-ed-composition {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 550px;
  animation: fadeUp 1s .2s ease both;
}

.rscit-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 75%;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 42, .15);
  border: 8px solid var(--white);
}

.rscit-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s;
}

.rscit-img-main:hover img {
  transform: scale(1.05);
}

.rscit-img-sub {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 52%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .12);
  border: 6px solid var(--white);
}

.rscit-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rscit-badge {
  position: absolute;
  bottom: 48%;
  right: -2%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--saffron);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  box-shadow: 0 8px 24px rgba(232, 96, 10, .4);
  animation: float 5s ease-in-out infinite;
  z-index: 5;
}

.rscit-badge strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.rscit-badge span {
  font-size: .52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .9;
}

.rscit-float-badge {
  position: absolute;
  top: 8%;
  right: -5%;
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.3rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  gap: .8rem;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, .9);
  animation: float 4s 1s ease-in-out infinite;
}

.rscit-fb-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(26, 74, 138, .1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rscit-fb-text strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .1rem;
}

.rscit-fb-text span {
  font-size: .65rem;
  color: var(--muted);
}

/* ── OVERVIEW STRIP ── */
.rscit-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1.8rem 5%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.rscit-strip-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .8rem;
  color: var(--muted);
}

.rscit-strip-item svg {
  flex-shrink: 0;
  color: var(--saffron);
}

.rscit-strip-item strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}

.rscit-strip-item span {
  display: block;
  font-size: .7rem;
  color: var(--muted);
}

.rscit-strip-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── STATS BAR ── */
.rscit-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
}

.rscit-stat {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.rscit-stat:last-child {
  border-right: none;
}

.rscit-stat-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .3rem;
}

.rscit-stat-val em {
  font-style: normal;
  color: var(--saffron);
}

.rscit-stat-lab {
  font-size: .68rem;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── MODULES ── */
.rscit-modules {
  padding: 5rem 8%;
  background: var(--paper);
}

.rscit-modules-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.rscit-modules-desc {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--muted);
}

.rscit-blocks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.rscit-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.rscit-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.rscit-block-full {
  grid-column: 1 / -1;
}

.rscit-block-head {
  padding: 1.5rem 1.8rem;
}

.rscit-block-blue .rscit-block-head {
  background: linear-gradient(135deg, #1a3a6a, #1a56a4);
}

.rscit-block-red .rscit-block-head {
  background: linear-gradient(135deg, #4a1a0a, #7a3010);
}

.rscit-block-green .rscit-block-head {
  background: linear-gradient(135deg, #0a2e1a, #1d7044);
}

.rscit-block-purple .rscit-block-head {
  background: linear-gradient(135deg, #2e1a4a, #5b21b6);
}

.rscit-block-navy .rscit-block-head {
  background: linear-gradient(135deg, #0a1a2e, #1a4a8a);
}

.rscit-block-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: .8rem;
}

.rscit-block-num {
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 100px;
  color: var(--white);
  background: rgba(255, 255, 255, .15);
}

.rscit-block-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: .52rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  color: var(--white);
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .2);
}

.rscit-block-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .15rem;
}

.rscit-block-tagline {
  font-size: .72rem;
  color: rgba(255, 255, 255, .55);
}

.rscit-block-body {
  padding: 1.5rem 1.8rem;
}

.rscit-block-body-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.rscit-block-desc {
  font-size: .82rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.rscit-topic-group {
  margin-bottom: 1rem;
}

.rscit-topic-group:last-child {
  margin-bottom: 0;
}

.rscit-topic-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: .5rem;
}

.rscit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.rscit-tags span {
  display: inline-block;
  padding: .2rem .55rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── TIMELINE ── */
.rscit-timeline-section {
  padding: 5rem 8%;
  background: var(--cream);
}

.rscit-timeline-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.rscit-timeline-desc {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--muted);
}

.rscit-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.rscit-timeline-line {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.rscit-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

.rscit-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .07);
}

.rscit-step-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.rscit-step-dot svg {
  opacity: .8;
}

.rscit-dot-orange {
  background: rgba(232, 96, 10, .12);
}

.rscit-dot-orange svg {
  stroke: var(--saffron);
}

.rscit-dot-blue {
  background: rgba(26, 74, 138, .1);
}

.rscit-dot-blue svg {
  stroke: #3b82f6;
}

.rscit-dot-green {
  background: rgba(22, 101, 52, .1);
}

.rscit-dot-green svg {
  stroke: #22c55e;
}

.rscit-dot-purple {
  background: rgba(91, 33, 182, .1);
}

.rscit-dot-purple svg {
  stroke: #8b5cf6;
}

.rscit-step-label {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: .4rem;
}

.rscit-step-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
}

.rscit-step-desc {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── WHY SOFTCOM ── */
.rscit-why {
  padding: 5rem 8%;
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.rscit-why-head {
  margin-bottom: 3rem;
}

.rscit-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rscit-why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: transform .2s, box-shadow .2s;
}

.rscit-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .07);
}

.rscit-why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}

.rscit-why-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}

.rscit-why-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CAREER ── */
.rscit-career {
  padding: 5rem 8%;
  background: var(--cream);
}

.rscit-career .section-label {
  display: block;
  margin-bottom: .5rem;
}

.rscit-career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.rscit-career-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.rscit-career-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.rscit-cc-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}

.rscit-career-card:hover .rscit-cc-accent {
  transform: scaleX(1);
}

.rscit-cc-icon {
  margin-bottom: 1rem;
}

.rscit-cc-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .2rem;
}

.rscit-cc-sal {
  font-size: .65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--saffron);
  margin-bottom: .7rem;
}

.rscit-cc-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── FAQ ── */
.rscit-faq {
  padding: 5rem 8%;
  background: var(--cream);
}

.rscit-faq .section-label {
  display: block;
  margin-bottom: .5rem;
}

.rscit-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.rscit-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}

.rscit-faq-item:hover {
  border-color: rgba(26, 86, 164, .3);
}

.rscit-faq-q {
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}

.rscit-faq-tog {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: .7rem;
  color: var(--muted);
  transition: transform .3s, background .2s;
  flex-shrink: 0;
}

.rscit-faq-item.open .rscit-faq-tog {
  transform: rotate(180deg);
  background: #1a4a8a;
  color: var(--white);
}

.rscit-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.rscit-faq-item.open .rscit-faq-a {
  max-height: 200px;
}

.rscit-faq-a-inner {
  padding: .1rem 1.3rem 1.1rem;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── CTA + FORM ── */
.rscit-cta {
  padding: 5rem 8%;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.rscit-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(26, 86, 164, .12) 0%, transparent 70%);
  pointer-events: none;
}

.rscit-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.rscit-cta-desc {
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 2rem;
  max-width: 380px;
}

.rscit-cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.rscit-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .65);
  border: 1.5px solid rgba(255, 255, 255, .15);
  padding: .85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s;
}

.rscit-cta-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.rscit-form-panel {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 2.5rem;
}

.rscit-form-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .3rem;
}

.rscit-form-sub {
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 1.5rem;
}

.rscit-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: .8rem;
}

.rscit-form-full {
  grid-template-columns: 1fr;
}

.rscit-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rscit-form-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}

.rscit-form-input {
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  padding: .65rem .9rem;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.rscit-form-input::placeholder {
  color: rgba(255, 255, 255, .25);
}

.rscit-form-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

.rscit-form-select {
  appearance: none;
  cursor: pointer;
  color: rgba(255, 255, 255, .7);
}

.rscit-form-select option {
  background: var(--ink);
  color: var(--white);
}

.rscit-form-submit {
  width: 100%;
  padding: .9rem;
  background: #1a4a8a;
  color: var(--white);
  border: none;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, background .2s;
  box-shadow: 0 4px 16px rgba(26, 74, 138, .4);
  margin-top: .4rem;
}

.rscit-form-submit:hover {
  transform: translateY(-2px);
  background: #215fa5;
}

.rscit-enq-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}

.rscit-enq-success.show {
  display: block;
}

.rscit-enq-success-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .3rem;
}

.rscit-enq-success-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6;
}

/* ── RSCIT RESPONSIVE ── */
@media (max-width: 1100px) {
  .rscit-blocks-grid {
    grid-template-columns: 1fr;
  }

  .rscit-cta-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .rscit-career-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rscit-why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rscit-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .rscit-timeline-line {
    display: none;
  }

  .rscit-modules-intro {
    grid-template-columns: 1fr;
  }

  .rscit-timeline-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .rscit-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .rscit-hero-right {
    padding: 2rem 5% 4rem;
    justify-content: center;
  }

  .rscit-ed-composition {
    max-width: 400px;
    height: 450px;
  }

  .rscit-hero-left {
    padding: 4rem 5% 2rem;
  }

  .rscit-stats {
    grid-template-columns: 1fr 1fr;
  }

  .rscit-strip {
    flex-direction: column;
    gap: .8rem;
  }

  .rscit-strip-sep {
    display: none;
  }

  .rscit-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .rscit-career-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rscit-why-grid {
    grid-template-columns: 1fr;
  }

  .rscit-timeline {
    grid-template-columns: 1fr;
  }

  .rscit-form-row {
    grid-template-columns: 1fr;
  }

  .rscit-block-body-2col {
    grid-template-columns: 1fr;
  }

  .rscit-float-badge {
    transform: scale(.85);
    padding: .8rem 1rem;
  }
}

/* ══════════════════════════════════════════════════════
   TALLY PRIME PAGE (tally.php)
   ══════════════════════════════════════════════════════ */

/* ── HERO ── */
.tally-page-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  /* padding-top: 100px; */
  background: linear-gradient(135deg, #f0f4f8 0%, #e8dcc8 100%);
  position: relative;
  overflow: hidden;
}

.tally-hero-glow {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, .75) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.tally-page-hero .hero-bg-dots {
  background-image: radial-gradient(circle, rgba(15, 23, 42, .05) 1px, transparent 1px);
}

.tally-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4% 5rem 8%;
  position: relative;
  z-index: 3;
}

.tally-hero-left .hero-crumb {
  color: var(--muted);
}

.tally-hero-left .hero-crumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.tally-hero-left .hero-crumb a:hover {
  color: var(--saffron);
}

.tally-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid rgba(212, 160, 23, .3);
  border-radius: 100px;
  padding: .38rem 1.1rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7a5a08;
  margin-bottom: 1.5rem;
  width: fit-content;
  animation: fadeUp .8s ease both;
  box-shadow: 0 4px 12px rgba(212, 160, 23, .08);
}

.tally-eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.tally-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.025em;
  color: #0f172a;
  margin-bottom: 1.3rem;
  animation: fadeUp .8s .1s ease both;
}

.tally-h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.tally-h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  opacity: .25;
  border-radius: 2px;
}

.tally-hero-desc {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 490px;
  margin-bottom: 2rem;
  animation: fadeUp .8s .2s ease both;
}

.tally-pills {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeUp .8s .3s ease both;
}

.tally-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .9rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  /* background: var(--white); */
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.tally-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tally-pill-gold {
  border: 1px solid rgba(212, 160, 23, .4);
  color: #7a5a08;
}

.tally-pill-gold .tally-pill-dot {
  background: var(--gold);
}

.tally-pill-orange {
  border: 1px solid rgba(232, 96, 10, .4);
  color: #8a3a06;
}

.tally-pill-orange .tally-pill-dot {
  background: var(--saffron);
}

.tally-pill-blue {
  border: 1px solid rgba(26, 86, 164, .35);
  color: #1a4a8a;
}

.tally-pill-blue .tally-pill-dot {
  background: #3b82f6;
}

.tally-pill-green {
  border: 1px solid rgba(22, 163, 74, .35);
  color: #166534;
}

.tally-pill-green .tally-pill-dot {
  background: #22c55e;
}

.tally-cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp .8s .4s ease both;
}

.tally-outline-btn {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1.5px solid rgba(15, 23, 42, .25);
  padding: .75rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
}

.tally-outline-btn:hover {
  background: #0f172a;
  color: var(--white);
  border-color: #0f172a;
}

/* ── HERO RIGHT COMPOSITION ── */
.tally-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 8% 5rem 0;
  position: relative;
  z-index: 3;
}

.tally-ed-composition {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 550px;
  animation: fadeUp 1s .2s ease both;
}

.tally-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 75%;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 42, .15);
  border: 8px solid var(--white);
}

.tally-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s;
}

.tally-img-main:hover img {
  transform: scale(1.05);
}

.tally-img-sub {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 52%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .12);
  border: 6px solid var(--white);
}

.tally-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tally-hero-badge {
  position: absolute;
  bottom: 50%;
  right: -2%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  box-shadow: 0 8px 24px rgba(212, 160, 23, .4);
  animation: float 5s ease-in-out infinite;
  z-index: 5;
}

.tally-hero-badge strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.tally-hero-badge span {
  font-size: .5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .9;
}

.tally-float-badge {
  position: absolute;
  top: 8%;
  right: -5%;
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.3rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  gap: .8rem;
  z-index: 6;
  border: 1px solid rgba(212, 160, 23, .2);
  animation: float 4s 1s ease-in-out infinite;
}

.tally-fb-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(212, 160, 23, .1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tally-fb-text strong {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .1rem;
}

.tally-fb-text span {
  font-size: .65rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── FALLBACK VISUAL (when no images) ── */
.tally-hero-visual-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1a2d4a 60%, #0f2010 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* overflow: hidden; */
  box-shadow: 0 24px 48px rgba(15, 23, 42, .2);
  border: 1px solid rgba(212, 160, 23, .15);
}

.tally-hero-visual-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212, 160, 23, .06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.thvf-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.thvf-logo {
  background: linear-gradient(135deg, rgba(212, 160, 23, .2), rgba(232, 96, 10, .15));
  border: 1px solid rgba(212, 160, 23, .3);
  border-radius: 20px;
  padding: 1.5rem 2.5rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.thvf-logo-text {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.thvf-logo-text em {
  font-style: normal;
  color: var(--gold);
}

.thvf-modules {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  max-width: 300px;
}

.thvf-mod {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  padding: .3rem .7rem;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-mono);
}

/* ── OVERVIEW STRIP ── */
.tally-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1.8rem 5%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.tally-strip-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .8rem;
  color: var(--muted);
}

.tally-strip-item strong {
  display: block;
  font-size: .83rem;
  font-weight: 700;
  color: var(--ink);
}

.tally-strip-item span {
  display: block;
  font-size: .7rem;
  color: var(--muted);
}

.tally-strip-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── STATS BAR ── */
.tally-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0f172a;
  border-top: 3px solid var(--gold);
}

.tally-stat-cell {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s;
}

.tally-stat-cell:last-child {
  border-right: none;
}

.tally-stat-cell:hover {
  background: rgba(212, 160, 23, .06);
}

.tally-stat-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .3rem;
}

.tally-stat-val em {
  font-style: normal;
  color: var(--gold);
}

.tally-stat-lab {
  font-size: .68rem;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── ABOUT SECTION ── */
.tally-about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.tally-about-section::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 160, 23, .08) 0%, transparent 65%);
  pointer-events: none;
}

.tally-about-left {
  padding: 6rem 5% 6rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.tally-about-left .section-label {
  color: #fbbf24;
}

.tally-about-left .section-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.tally-about-para {
  font-size: .92rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 1.2rem;
  max-width: 480px;
}

.tally-about-badges {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.tally-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tally-badge-gold {
  background: rgba(212, 160, 23, .15);
  border: 1px solid rgba(212, 160, 23, .35);
  color: #fcd34d;
}

.tally-badge-orange {
  background: rgba(232, 96, 10, .15);
  border: 1px solid rgba(232, 96, 10, .3);
  color: var(--saffron-light);
}

.tally-badge-ink {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .7);
}

.tally-about-right {
  padding: 6rem 8% 6rem 5%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(255, 255, 255, .06);
}

.tally-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.tally-feat-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 1.3rem;
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  transition: background .25s, border-color .25s;
}

.tally-feat-card:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(212, 160, 23, .25);
}

.tally-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tally-feat-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .2rem;
  line-height: 1.25;
}

.tally-feat-desc {
  font-size: .75rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6;
}

/* ── SYLLABUS ── */
.tally-syl-section {
  padding: 5rem 8%;
  background: var(--paper);
}

.tally-syl-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.tally-syl-desc {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--muted);
}

.tally-syl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tally-mod-card {
  border: 1px solid;
  border-radius: 18px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.tally-mod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.tally-mod-head {
  padding: 1.6rem 1.8rem 1.2rem;
}

.tally-mod-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: .9rem;
}

.tally-mod-num {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .75rem;
  border-radius: 100px;
}

.tally-mod-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}

.tally-mod-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: .2rem;
}

.tally-mod-tagline {
  font-size: .75rem;
  color: var(--muted);
}

.tally-mod-body {
  padding: 0 1.8rem 1.6rem;
}

.tally-topic-group {
  margin-bottom: 1rem;
}

.tally-topic-group:last-child {
  margin-bottom: 0;
}

.tally-topic-title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: .55rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.tally-topic-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.tally-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.tally-topic-tags span {
  display: inline-block;
  padding: .22rem .6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
}

.tally-mod-card:hover .tally-topic-tags span {
  border-color: rgba(212, 160, 23, .35);
  color: #7a5a08;
}

/* ── WHO SECTION ── */
.tally-who-section {
  padding: 5rem 8%;
  background: var(--cream);
}

.tally-who-section .section-label {
  display: block;
  margin-bottom: .5rem;
}

.tally-who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.tally-who-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.tally-who-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}

.tally-who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
}

.tally-who-card:hover::before {
  transform: scaleX(1);
}

.tally-who-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.tally-who-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}

.tally-who-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CAREER SECTION ── */
.tally-career-section {
  padding: 5rem 8%;
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.tally-career-section .section-label {
  display: block;
  margin-bottom: .5rem;
}

.tally-career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.tally-career-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.tally-career-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.tally-cc-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}

.tally-career-card:hover .tally-cc-accent {
  transform: scaleX(1);
}

.tally-cc-icon {
  margin-bottom: .8rem;
}

.tally-cc-emoji {
  font-size: 1.4rem;
  margin-bottom: .5rem;
}

.tally-cc-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .2rem;
}

.tally-cc-sal {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: .6rem;
}

.tally-cc-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── FAQ ── */
.tally-faq-section {
  padding: 5rem 8%;
  background: var(--cream);
}

.tally-faq-section .section-label {
  display: block;
  margin-bottom: .5rem;
}

.tally-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.tally-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}

.tally-faq-item:hover {
  border-color: rgba(212, 160, 23, .4);
}

.tally-faq-item.open {
  border-color: rgba(212, 160, 23, .5);
}

.tally-faq-q {
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}

.tally-faq-tog {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: .7rem;
  color: var(--muted);
  transition: transform .3s, background .2s;
  flex-shrink: 0;
}

.tally-faq-item.open .tally-faq-tog {
  transform: rotate(180deg);
  background: var(--gold);
  color: var(--white);
}

.tally-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.tally-faq-item.open .tally-faq-a {
  max-height: 220px;
}

.tally-faq-a-inner {
  padding: .1rem 1.3rem 1.1rem;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── CTA + FORM ── */
.tally-cta-section {
  padding: 5rem 8%;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.tally-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(212, 160, 23, .1) 0%, transparent 70%);
  pointer-events: none;
}

.tally-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tally-cta-desc {
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 2rem;
  max-width: 380px;
}

.tally-cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tally-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .65);
  border: 1.5px solid rgba(255, 255, 255, .15);
  padding: .85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s;
}

.tally-cta-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.tally-cta-trust {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.tally-trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}

.tally-trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ── FORM PANEL ── */
.tally-form-panel {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 2.5rem;
}

.tally-form-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .3rem;
}

.tally-form-sub {
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 1.5rem;
}

.tally-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: .8rem;
}

.tally-form-full {
  grid-template-columns: 1fr;
}

.tally-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tally-form-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}

.tally-form-input {
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  padding: .65rem .9rem;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.tally-form-input::placeholder {
  color: rgba(255, 255, 255, .25);
}

.tally-form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, .15);
}

.tally-form-select {
  appearance: none;
  cursor: pointer;
  color: rgba(255, 255, 255, .7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,.3)' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 2rem;
}

.tally-form-select option {
  background: var(--ink);
  color: var(--white);
}

.tally-form-submit {
  width: 100%;
  padding: .9rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(212, 160, 23, .35);
  margin-top: .4rem;
  color: #0f172a;
}

.tally-form-submit:hover {
  transform: translateY(-2px);
  background: #e6b820;
  box-shadow: 0 8px 24px rgba(212, 160, 23, .45);
}

.tally-enq-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}

.tally-enq-success-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .3rem;
}

.tally-enq-success-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   TALLY PAGE – RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .tally-cta-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .tally-career-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tally-who-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tally-syl-intro {
    grid-template-columns: 1fr;
  }

  .tally-about-section {
    grid-template-columns: 1fr;
  }

  .tally-about-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 4rem 8%;
  }
}

@media (max-width: 900px) {
  .tally-page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .tally-hero-right {
    padding: 2rem 5% 4rem;
    justify-content: center;
  }

  .tally-ed-composition {
    max-width: 400px;
    height: 450px;
  }

  .tally-hero-left {
    padding: 4rem 5% 2rem;
  }

  .tally-stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .tally-strip {
    flex-direction: column;
    gap: .8rem;
  }

  .tally-strip-sep {
    display: none;
  }

  .tally-faq-grid {
    grid-template-columns: 1fr;
  }

  .tally-syl-grid {
    grid-template-columns: 1fr;
  }

  .tally-feat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tally-career-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tally-who-grid {
    grid-template-columns: 1fr;
  }

  .tally-form-row {
    grid-template-columns: 1fr;
  }

  .tally-float-badge {
    transform: scale(.85);
    padding: .8rem 1rem;
    right: 0;
  }

  .tally-hero-visual-fallback {
    border-radius: 16px;
  }

  .thvf-logo-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .tally-career-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAY ONLINE PAGE  (pay-online.php)
   ============================================================ */

/* ── HERO ── */
.pay-hero {
  background: var(--ink);
  padding: 10rem 8% 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pay-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
  pointer-events: none;
}

.pay-hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(232, 96, 10, .18) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.pay-hero-inner {
  position: relative;
  z-index: 2;
  animation: fadeUp .8s ease both;
}

.pay-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(232, 96, 10, .12);
  border: 1px solid rgba(232, 96, 10, .3);
  border-radius: 100px;
  padding: .38rem 1.1rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 1.5rem;
}

.pay-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--saffron);
  border-radius: 50%;
}

.pay-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 1rem;
}

.pay-hero-title em {
  font-style: normal;
  color: var(--saffron);
}

.pay-hero-desc {
  font-size: .98rem;
  color: rgba(255, 255, 255, .55);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.pay-hero-trust {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pay-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 100px;
  padding: .35rem .9rem;
  font-size: .76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
}

.pay-trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── MAIN LAYOUT ── */
.pay-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

/* ── FORM SIDE ── */
.pay-form-side {
  background: var(--paper);
  padding: 5rem 5% 5rem 8%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  border-right: 1px solid var(--border);
}

.pay-form-card {
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .06);
  position: sticky;
  top: 100px;
}

.pay-form-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: .5rem;
}

.pay-form-heading {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: .4rem;
  line-height: 1.15;
}

.pay-form-sub {
  font-size: .83rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pay-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 1rem;
}

.pay-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
}

.pay-input {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.pay-input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232, 96, 10, .1);
}

.pay-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b6560' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.pay-amount-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pay-rupee {
  position: absolute;
  left: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  pointer-events: none;
}

.pay-amount-input {
  padding-left: 2rem !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

.pay-quick-amounts {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.pay-quick {
  padding: .28rem .7rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  color: var(--muted);
}

.pay-quick:hover {
  background: rgba(232, 96, 10, .1);
  border-color: var(--saffron);
  color: var(--saffron);
}

.pay-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: var(--saffron);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 1.2rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(232, 96, 10, .35);
}

.pay-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 96, 10, .45);
}

.pay-form-note {
  font-size: .68rem;
  color: var(--muted);
  text-align: center;
  margin-top: .75rem;
  line-height: 1.5;
}

/* ── INFO SIDE ── */
.pay-info-side {
  background: var(--white);
  padding: 5rem 8% 5rem 5%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pay-section-label {
  font-family: var(--font-mono);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: .5rem;
}

.pay-info-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1.4rem;
  line-height: 1.2;
}

/* ── UPI CARD ── */
.pay-upi-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.pay-upi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-light));
}

.pay-upi-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.pay-qr-static {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 6px;
}

.pay-qr-img,
.pay-qr-static canvas,
.pay-qr-static>div,
.pay-qr-static>div>img,
.pay-qr-static>div>canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.pay-upi-details {
  flex: 1;
}

.pay-upi-row {
  margin-bottom: .9rem;
}

.pay-upi-label {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}

.pay-upi-val {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-mono);
}

.pay-upi-val-wrap {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.pay-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .22rem .65rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: .65rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font-sans);
}

.pay-copy-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.pay-copy-btn.copied {
  background: rgba(34, 197, 94, .1);
  border-color: rgba(34, 197, 94, .4);
  color: #166534;
}

.pay-upi-apps-label {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}

.pay-app-chips {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.pay-app-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all .15s;
}

.pay-app-chip:hover {
  border-color: var(--saffron);
  background: rgba(232, 96, 10, .04);
  transform: translateY(-1px);
}

.pay-app-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: .62rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}

.pay-app-gpay {
  background: #4285f4;
}

.pay-app-phonepe {
  background: #5f259f;
}

.pay-app-paytm {
  background: #00baf2;
}

.pay-app-upi {
  background: var(--saffron);
}

/* ── BANK CARD ── */
.pay-bank-card {
  background: var(--ink);
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.pay-bank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #fbbf24);
}

.pay-bank-card .pay-section-label {
  color: #fbbf24;
}

.pay-bank-card .pay-info-heading {
  color: var(--white);
}

.pay-bank-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pay-bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.pay-bank-row:last-child {
  border-bottom: none;
}

.pay-bank-label {
  font-size: .72rem;
  color: rgba(255, 255, 255, .4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  flex-shrink: 0;
}

.pay-bank-val {
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  text-align: right;
}

.pay-mono {
  font-family: var(--font-mono);
  letter-spacing: .05em;
}

.pay-bank-val-wrap {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pay-bank-badge {
  padding: .18rem .55rem;
  background: rgba(212, 160, 23, .15);
  border: 1px solid rgba(212, 160, 23, .3);
  border-radius: 4px;
  font-size: .6rem;
  font-weight: 700;
  color: #fbbf24;
  font-family: var(--font-mono);
  letter-spacing: .04em;
}

.pay-bank-card .pay-copy-btn {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .6);
}

.pay-bank-card .pay-copy-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 160, 23, .12);
}

.pay-bank-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: 1.2rem;
  padding: .9rem 1rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 8px;
  font-size: .75rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.5;
}

.pay-bank-note svg {
  flex-shrink: 0;
  margin-top: 1px;
  stroke: rgba(255, 255, 255, .35);
}

.pay-bank-note a {
  color: var(--saffron-light);
  text-decoration: none;
}

/* ── HELP NOTE ── */
.pay-help-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.pay-help-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pay-help-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .2rem;
}

.pay-help-sub {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}

.pay-help-sub a {
  color: var(--saffron);
  text-decoration: none;
  font-weight: 600;
}

/* ══════════════════════════════
   PAY MODAL
══════════════════════════════ */
.pay-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 10, 15, .82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.pay-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.pay-modal-box {
  background: var(--white);
  border-radius: 22px;
  max-width: 380px;
  width: 100%;
  overflow: hidden;
  transform: translateY(32px) scale(.96);
  transition: transform .38s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.pay-modal-box::-webkit-scrollbar {
  display: none;
}

.pay-modal-box {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.pay-modal-overlay.open .pay-modal-box {
  transform: translateY(0) scale(1);
}

/* Header */
.pay-modal-header {
  background: var(--ink);
  padding: 1.1rem 1.6rem .9rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.pay-modal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(232, 96, 10, .22) 0%, transparent 70%);
  pointer-events: none;
}

.pay-modal-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-light));
}

.pay-modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, .75);
  transition: background .2s;
  z-index: 2;
}

.pay-modal-close:hover {
  background: rgba(255, 255, 255, .22);
  color: var(--white);
}

.pay-modal-eyebrow {
  font-family: var(--font-mono);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: .2rem;
  position: relative;
  z-index: 1;
}

.pay-modal-amount-display {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .2rem;
  position: relative;
  z-index: 1;
}

.pay-modal-to {
  font-size: .7rem;
  color: rgba(255, 255, 255, .45);
  position: relative;
  z-index: 1;
}

.pay-modal-to strong {
  color: rgba(255, 255, 255, .8);
}

/* Body */
.pay-modal-body {
  padding: 1.3rem 1.5rem 1.6rem;
}

.pay-modal-qr-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
}

.pay-modal-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.pay-modal-qr-frame {
  width: 155px;
  height: 155px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .1);
  overflow: hidden;
}

.pay-modal-qr-frame img,
.pay-modal-qr-frame canvas,
.pay-modal-qr-frame>div,
.pay-modal-qr-frame>div>img,
.pay-modal-qr-frame>div>canvas {
  width: 100% !important;
  height: 100% !important;
  border-radius: 5px;
  object-fit: contain;
  display: block;
}

.pay-modal-qr-hint {
  font-size: .6rem;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-mono);
}

.pay-modal-apps {
  display: flex;
  gap: .45rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.pay-modal-app-btn {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .4rem .85rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: all .18s;
}

.pay-modal-app-btn:hover {
  border-color: var(--saffron);
  background: rgba(232, 96, 10, .04);
  transform: translateY(-2px);
}

.pay-modal-divider {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pay-modal-divider::before,
.pay-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.pay-modal-upi-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: .55rem .9rem;
  width: 100%;
}

.pay-modal-upi-id {
  flex: 1;
  font-family: var(--font-mono);
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
}

.pay-confirm-standalone {
  width: 100%;
  background: #166534;
  color: var(--white);
  border: none;
  border-radius: 9px;
  padding: .82rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, background .2s;
  box-shadow: 0 4px 14px rgba(22, 101, 52, .28);
}

.pay-confirm-standalone:hover {
  transform: translateY(-2px);
  background: #1d7044;
}

/* Success */
.pay-success-wrap {
  padding: 2rem 1.8rem;
  text-align: center;
}

.pay-success-anim {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.1rem;
  position: relative;
}

.pay-success-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(22, 101, 52, .2);
  animation: ringPulse 1.5s ease-out forwards;
}

@keyframes ringPulse {
  0% {
    transform: scale(.5);
    opacity: 1;
    border-color: rgba(22, 101, 52, .6);
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.pay-success-check {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d7044, #22c55e);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(22, 101, 52, .35);
  animation: fadeUp .5s .3s ease both;
  position: relative;
  z-index: 1;
}

.pay-success-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: .35rem;
  animation: fadeUp .5s .4s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.pay-success-sub {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .65rem;
  line-height: 1.6;
  animation: fadeUp .5s .5s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.pay-success-info {
  font-size: .75rem;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: .7rem 1rem;
  margin-bottom: 1.1rem;
  line-height: 1.6;
  animation: fadeUp .5s .55s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.pay-success-info a {
  color: var(--saffron);
  font-weight: 600;
  text-decoration: none;
}

.pay-success-actions {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .5s .6s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.pay-success-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #25D366;
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: .68rem 1.2rem;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 12px rgba(37, 211, 102, .28);
}

.pay-success-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 211, 102, .38);
}

.pay-success-close {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .68rem 1.2rem;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.pay-success-close:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pay-main {
    grid-template-columns: 1fr;
  }

  .pay-form-side {
    padding: 4rem 5%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    justify-content: center;
  }

  .pay-info-side {
    padding: 4rem 5%;
  }

  .pay-form-card {
    position: static;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .pay-upi-inner {
    flex-direction: column;
  }

  .pay-qr-static {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 160px;
  }

  .pay-form-card {
    padding: 2rem 1.5rem;
  }

  .pay-modal-body {
    padding: 1.1rem 1.2rem 1.4rem;
  }

  .pay-modal-amount-display {
    font-size: 1.9rem;
  }

  .pay-modal-qr-frame {
    width: 136px;
    height: 136px;
  }

  .pay-modal-box {
    border-radius: 16px;
  }

  .pay-success-wrap {
    padding: 1.7rem 1.2rem;
  }
}

/* ══════════════════════════════════════════════════
   MANAGE STUDENTS — manage-students.php
   Append to bottom of custom.css
══════════════════════════════════════════════════ */

.stud-stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 1.4rem;
}

/* ── Filter bar ── */
.stud-filter-bar {
  padding: .85rem 1.1rem;
  margin-bottom: 1.2rem;
}

.stud-filter-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.stud-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.stud-search-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--on-lt-f);
  font-size: .82rem;
  pointer-events: none;
}

.stud-search-input {
  padding-left: 2.2rem;
}

.stud-filter-select {
  width: auto;
  min-width: 140px;
}

.stud-count-chip {
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--on-lt-f);
  white-space: nowrap;
  background: var(--lt);
  border: 1.5px solid var(--lt-bdr);
  border-radius: 20px;
  padding: .25rem .75rem;
}

/* ── Table ── */
.stud-table-card {
  padding: 0;
  overflow: hidden;
}

.stud-table-card .sc-table-wrap {
  border-radius: var(--r);
}

.stud-td-num {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--on-lt-f);
  width: 36px;
}

.stud-td-date {
  font-size: .78rem;
  color: var(--on-lt-m);
  white-space: nowrap;
}

/* ── Name cell ── */
.stud-name-cell {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.stud-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--lt-bdr);
  flex-shrink: 0;
}

.stud-avatar-initials {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--t), var(--t-d));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .68rem;
  font-weight: 800;
  font-family: var(--mono);
  flex-shrink: 0;
}

.stud-name {
  font-size: .84rem;
  font-weight: 600;
  color: var(--on-lt);
  white-space: nowrap;
}

.stud-email {
  font-size: .7rem;
  color: var(--on-lt-f);
  margin-top: 1px;
}

/* ── Course chip ── */
.stud-course-chip {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  padding: .18rem .55rem;
  border-radius: 4px;
  background: var(--t-bg);
  color: var(--t-d);
  border: 1px solid var(--t-bdr);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Toggle buttons in table ── */
.stud-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .68rem;
  font-weight: 700;
  font-family: var(--mono);
  padding: .22rem .6rem;
  border-radius: 20px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.stud-toggle-on {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: var(--ok-br);
}

.stud-toggle-on:hover {
  background: rgba(0, 200, 150, .18);
}

.stud-toggle-off {
  background: var(--er-bg);
  color: var(--er);
  border-color: var(--er-br);
}

.stud-toggle-off:hover {
  background: rgba(255, 61, 87, .18);
}

.stud-verified-on {
  background: rgba(0, 180, 255, .1);
  color: var(--ocean);
  border-color: rgba(0, 180, 255, .28);
}

.stud-verified-on:hover {
  background: rgba(0, 180, 255, .2);
}

.stud-verified-off {
  background: var(--wn-bg);
  color: var(--wn);
  border-color: var(--wn-br);
}

.stud-verified-off:hover {
  background: rgba(255, 179, 0, .18);
}

/* ── Action buttons ── */
.stud-action-btns {
  display: flex;
  gap: .4rem;
}

.sc-btn-xs {
  padding: .28rem .55rem;
  font-size: .75rem;
  border-radius: var(--r-sm);
}

.sc-btn-danger {
  background: var(--er-bg);
  color: var(--er);
  border: 1.5px solid var(--er-br);
}

.sc-btn-danger:hover {
  background: var(--er);
  color: #fff;
}

/* ── Empty state ── */
.stud-empty-row {
  text-align: center;
  padding: 3rem 1rem !important;
  color: var(--on-lt-f);
  font-size: .9rem;
}

.stud-empty-row i {
  font-size: 2rem;
  display: block;
  margin-bottom: .5rem;
  color: var(--lt-bdr);
}

/* ══════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════ */
.stud-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 20, .55);
  backdrop-filter: blur(4px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}

.stud-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.stud-modal {
  background: var(--lt-c);
  border: 1.5px solid var(--lt-bdr);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  transform: translateY(18px) scale(.97);
  transition: transform .22s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

.stud-modal-overlay.open .stud-modal {
  transform: translateY(0) scale(1);
}

.stud-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.2rem 1.5rem 1rem;
  border-bottom: 1.5px solid var(--lt-s);
  flex-shrink: 0;
}

.stud-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--on-lt);
  line-height: 1.2;
}

.stud-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--lt-bdr);
  background: transparent;
  display: grid;
  place-items: center;
  font-size: .9rem;
  color: var(--on-lt-f);
  cursor: pointer;
  transition: all .14s;
  flex-shrink: 0;
}

.stud-modal-close:hover {
  background: var(--er-bg);
  border-color: var(--er-br);
  color: var(--er);
}

.stud-modal-body {
  overflow-y: auto;
  padding: 1.3rem 1.5rem;
  flex: 1;
}

.stud-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  padding: 1rem 1.5rem;
  border-top: 1.5px solid var(--lt-s);
  background: var(--lt);
  flex-shrink: 0;
}

/* ── Section labels inside modal ── */
.stud-section-label {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--t-d);
  font-family: var(--mono);
  margin: 1.2rem 0 .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--lt-s);
}

.stud-section-label:first-child {
  margin-top: 0;
}

.stud-modal-grid {
  gap: .85rem 1.1rem;
}

/* ── Photo preview ── */
.stud-photo-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
}

.stud-photo-preview {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--t-bdr);
  flex-shrink: 0;
}

/* ── Toggle switch ── */
.stud-toggle-group {
  justify-content: flex-start;
  gap: .5rem;
}

.stud-switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  cursor: pointer;
  user-select: none;
}

.stud-switch-wrap input[type="checkbox"] {
  display: none;
}

.stud-switch {
  width: 38px;
  height: 22px;
  background: var(--lt-bdr);
  border-radius: 11px;
  position: relative;
  transition: background .2s;
  flex-shrink: 0;
}

.stud-switch::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left .2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

.stud-switch-wrap input:checked+.stud-switch {
  background: var(--ok);
}

.stud-switch-wrap input:checked+.stud-switch::after {
  left: 19px;
}

.stud-switch-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--on-lt-m);
  font-family: var(--mono);
  min-width: 80px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .stud-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stud-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .stud-filter-select {
    width: 100%;
  }

  .stud-modal {
    max-height: 100vh;
    border-radius: var(--r);
  }

  .stud-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CERTIFICATE VERIFICATION PAGE  (verify.php)
   ═══════════════════════════════════════════════════════════════ */

/* ── Nav verify button ── */
.nav-verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.48rem 1.1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink) !important;
  background: transparent;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-verify-btn svg {
  width: 13px;
  height: 13px;
  stroke: var(--saffron);
  flex-shrink: 0;
}

.nav-verify-btn:hover {
  border-color: var(--saffron);
  background: rgba(232, 96, 10, 0.06);
  color: var(--saffron) !important;
}

.nav-verify-btn:hover svg {
  stroke: var(--saffron);
}

/* ── Main wrapper ── */
.sv-main {
  min-height: calc(100vh - 68px);
  background: var(--paper);
}

/* ── Hero ── */
.sv-hero {
  background: var(--ink);
  background-image:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(232, 96, 10, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 50%, rgba(212, 160, 23, 0.07) 0%, transparent 60%);
  padding: 4.5rem 8% 4rem;
  position: relative;
  overflow: hidden;
}

.sv-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise-bg);
  opacity: 0.6;
  pointer-events: none;
}

.sv-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.sv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(232, 96, 10, 0.15);
  border: 1px solid rgba(232, 96, 10, 0.3);
  color: var(--saffron-light);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.sv-hero-badge svg {
  stroke: var(--saffron-light);
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.sv-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.sv-hero-title span {
  color: var(--saffron);
}

.sv-hero-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 520px;
}

/* ── Lookup section ── */
.sv-lookup-section {
  padding: 4rem 8% 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.sv-lookup-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── Search card ── */
.sv-search-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.4rem 2rem;
  box-shadow: var(--shadow-card-lg);
}

.sv-search-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(232, 96, 10, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.sv-search-icon-wrap svg {
  stroke: var(--saffron);
}

.sv-search-heading {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.sv-search-sub {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.sv-search-sub code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--cream);
  color: var(--saffron);
  padding: 0.1em 0.45em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ── Input row ── */
.sv-input-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.sv-cert-input {
  flex: 1;
  height: 52px;
  padding: 0 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
}

.sv-cert-input::placeholder {
  color: rgba(107, 101, 96, 0.45);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.sv-cert-input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232, 96, 10, 0.1);
  background: var(--white);
}

.sv-cert-input.sv-input-loading {
  opacity: 0.65;
  pointer-events: none;
}

.sv-submit-btn {
  height: 52px;
  padding: 0 1.75rem;
  background: var(--saffron);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.sv-submit-btn:hover:not(:disabled) {
  background: var(--saffron-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.sv-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.sv-btn-arrow {
  flex-shrink: 0;
  stroke: var(--white);
}

.sv-btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: sv-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes sv-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Hint line ── */
.sv-input-hint {
  font-size: 0.82rem;
  margin-top: 0.6rem;
  line-height: 1.5;
  min-height: 1.2em;
}

.sv-hint-error {
  color: #c0392b;
}

.sv-hint-success {
  color: var(--green-dark);
}

/* ── Result area ── */
.sv-result-area {
  transition: opacity 0.3s;
}

.sv-result-area.sv-result-visible {
  animation: sv-fadein 0.4s ease forwards;
}

@keyframes sv-fadein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Not found card ── */
.sv-not-found {
  background: var(--white);
  border: 1.5px solid #f5c6c6;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.4rem;
  text-align: center;
}

.sv-nf-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  border: 1.5px solid #fcd5d5;
}

.sv-nf-icon-wrap svg {
  stroke: #c0392b;
}

.sv-nf-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.sv-nf-msg {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.sv-nf-tips {
  list-style: none;
  padding: 1.2rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  text-align: left;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sv-nf-tips li {
  font-size: 0.845rem;
  color: var(--muted);
  padding-left: 1.1em;
  position: relative;
}

.sv-nf-tips li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--saffron);
  font-weight: 700;
}

.sv-nf-tips code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--white);
  color: var(--saffron);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.sv-nf-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.6rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.sv-nf-contact-btn:hover {
  background: #1a1a2e;
  color: var(--white);
}

/* ── Result card ── */
.sv-result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-lg);
}

@keyframes sv-animate-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.sv-animate-in {
  animation: sv-animate-in 0.45s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* ── Success banner ── */
.sv-success-banner {
  background: linear-gradient(135deg, #14532d 0%, #166534 100%);
  padding: 1.2rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sv-success-banner-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sv-success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sv-success-icon svg {
  stroke: #fff;
}

.sv-success-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.sv-success-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.15rem;
}

.sv-success-sub strong {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
}

.sv-success-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sv-success-stamp svg {
  stroke: rgba(255, 255, 255, 0.7);
}

/* ── Card body ── */
.sv-card-body {
  padding: 2rem 1.75rem 1.75rem;
}

/* ── Profile row ── */
.sv-card-profile {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.sv-card-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  flex-shrink: 0;
}

.sv-card-photo-initials {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.sv-card-identity {
  flex: 1;
  min-width: 0;
}

.sv-card-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.sv-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #166534;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #bbf7d0;
}

.sv-verified-badge svg {
  stroke: #166534;
}

.sv-card-gender {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: capitalize;
  margin-bottom: 0.6rem;
}

.sv-card-course-pill {
  display: inline-block;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(232, 96, 10, 0.1);
  border: 1px solid rgba(232, 96, 10, 0.22);
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Details grid ── */
.sv-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.sv-detail-item {
  background: var(--paper);
  padding: 1.1rem 1.2rem;
}

.sv-detail-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.sv-detail-label svg {
  stroke: var(--saffron);
  flex-shrink: 0;
}

.sv-detail-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-serif);
}

/* ── Status pills ── */
.sv-status-pill {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sv-status-completed {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.sv-status-active {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.sv-status-registered {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fef08a;
}

/* ── Card footer ── */
.sv-card-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sv-card-footer-brand {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.sv-card-footer-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── Trust strip ── */
.sv-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.sv-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.sv-trust-item svg {
  stroke: var(--saffron);
  flex-shrink: 0;
}

.sv-trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sv-hero {
    padding: 3rem 5% 2.5rem;
  }

  .sv-lookup-section {
    padding: 2.5rem 5% 3.5rem;
  }

  .sv-search-card {
    padding: 1.75rem 1.4rem 1.5rem;
  }

  .sv-input-row {
    flex-direction: column;
  }

  .sv-cert-input, .sv-submit-btn {
    width: 100%;
    height: 50px;
  }

  .sv-submit-btn {
    justify-content: center;
  }

  .sv-details-grid {
    grid-template-columns: 1fr;
  }

  .sv-card-profile {
    flex-direction: column;
    text-align: center;
  }

  .sv-card-name {
    justify-content: center;
  }

  .sv-card-footer {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }

  .sv-trust-strip {
    gap: 0.75rem;
  }

  .sv-trust-divider {
    display: none;
  }

  .nav-verify-btn span {
    display: none;
  }

  .sv-success-banner {
    padding: 1rem 1.2rem;
  }

  .sv-card-body {
    padding: 1.5rem 1.2rem 1.25rem;
  }

  .sv-not-found {
    padding: 2rem 1.4rem;
  }
}

@media (max-width: 480px) {
  .sv-hero-title {
    font-size: 1.9rem;
  }

  .sv-success-stamp {
    display: none;
  }

  .sv-trust-item {
    font-size: 0.62rem;
  }
}

/* ── Sidebar verify link ── */
.sb-verify-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(232, 96, 10, 0.07);
  border: 1.5px solid rgba(232, 96, 10, 0.2);
  color: var(--saffron);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: background 0.2s;
}

.sb-verify-link:hover {
  background: rgba(232, 96, 10, 0.13);
  color: var(--saffron);
}

.sb-verify-link svg {
  stroke: var(--saffron);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   VERIFY PAGE — Loader + Alert popup
   ═══════════════════════════════════════════════════════════════ */

/* ── Full-screen loader overlay ── */
.sv-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(8px) saturate(60%);
  -webkit-backdrop-filter: blur(8px) saturate(60%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}

.sv-loader-overlay.sv-loader-active {
  opacity: 1;
  pointer-events: auto;
}

.sv-body-loading {
  overflow: hidden;
}

.sv-loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem 3rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  animation: sv-loader-pop 0.28s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes sv-loader-pop {
  from {
    transform: scale(0.88) translateY(12px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.sv-loader-ring {
  width: 60px;
  height: 60px;
  position: relative;
}

.sv-loader-ring svg {
  width: 60px;
  height: 60px;
  animation: sv-rotate 1.1s linear infinite;
}

@keyframes sv-rotate {
  to {
    transform: rotate(360deg);
  }
}

.sv-ring-track {
  stroke: var(--border);
}

.sv-ring-arc {
  stroke: var(--saffron);
  stroke-dasharray: 100 52;
  stroke-dashoffset: 0;
}

.sv-loader-text {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ── Alert popup overlay ── */
.sv-alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 9200;
  background: rgba(10, 10, 15, 0.5);
  backdrop-filter: blur(8px) saturate(60%);
  -webkit-backdrop-filter: blur(8px) saturate(60%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}

.sv-alert-overlay.sv-alert-active {
  opacity: 1;
  pointer-events: auto;
}

.sv-alert-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2.25rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  position: relative;
}

.sv-alert-in {
  animation: sv-alert-in 0.3s cubic-bezier(.22, 1, .36, 1) forwards;
}

.sv-alert-out {
  animation: sv-alert-out 0.24s ease forwards;
}

@keyframes sv-alert-in {
  from {
    transform: scale(0.88) translateY(16px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes sv-alert-out {
  from {
    transform: scale(1) translateY(0);
    opacity: 1;
  }

  to {
    transform: scale(0.9) translateY(8px);
    opacity: 0;
  }
}

/* icon wrap */
.sv-alert-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
}

.sv-alert-icon-notfound {
  background: rgba(251, 191, 36, 0.1);
  border: 1.5px solid rgba(251, 191, 36, 0.25);
}

.sv-alert-icon-notfound svg {
  stroke: #d97706;
}

.sv-alert-icon-inactive {
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.2);
}

.sv-alert-icon-inactive svg {
  stroke: #dc2626;
}

.sv-alert-icon-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.2);
}

.sv-alert-icon-error svg {
  stroke: #dc2626;
}

.sv-alert-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.sv-alert-msg {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.sv-alert-msg strong {
  color: var(--ink);
}

.sv-alert-msg code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--cream);
  color: var(--saffron);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* buttons */
.sv-alert-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.sv-alert-btn-primary,
.sv-alert-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.3rem;
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: 0.845rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.18s, transform 0.16s;
  text-decoration: none;
}

.sv-alert-btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(10, 10, 15, 0.2);
}

.sv-alert-btn-primary:hover {
  background: #1a1a28;
  transform: translateY(-1px);
}

.sv-alert-btn-secondary {
  background: var(--cream);
  color: var(--muted);
  border: 1.5px solid var(--border);
}

.sv-alert-btn-secondary:hover {
  background: var(--border);
  color: var(--ink);
}