/* ============================================================
   Computer Guru Academy â€” Static Site Styles
   ============================================================ */

/* â”€â”€ Design Tokens â”€â”€ */
:root {
  --primary:          oklch(0.52 0.14 155);
  --primary-dark:     oklch(0.44 0.14 155);
  --primary-soft:     oklch(0.93 0.06 155);
  --primary-text:     oklch(0.36 0.14 155);
  --blue:             oklch(0.45 0.13 240);
  --blue-soft:        oklch(0.92 0.05 240);
  --blue-text:        oklch(0.35 0.13 240);
  --amber:            #f59e0b;

  --bg:               #ffffff;
  --bg-muted:         #f7f7f8;
  --card:             #ffffff;
  --border:           #e5e7eb;
  --foreground:       #111827;
  --fg-dark:          #0f172a;
  --muted:            #6b7280;
  --muted-light:      #9ca3af;

  --radius-sm:        0.5rem;
  --radius:           0.75rem;
  --radius-lg:        1rem;
  --radius-xl:        1.5rem;

  --shadow-sm:        0 1px 3px rgb(0 0 0 / .07), 0 1px 2px rgb(0 0 0 / .04);
  --shadow:           0 4px 12px rgb(0 0 0 / .07);

  --font-sans:        'Inter', system-ui, -apple-system, sans-serif;
  --max-w:            80rem;
  --px:               1.25rem;
}

/* â”€â”€ Reset â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* â”€â”€ Utility â”€â”€ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1        { gap: .25rem; }
.gap-2        { gap: .5rem; }
.gap-3        { gap: .75rem; }
.gap-4        { gap: 1rem; }
.gap-5        { gap: 1.25rem; }
.gap-6        { gap: 1.5rem; }
.gap-8        { gap: 2rem; }
.mt-auto      { margin-top: auto; }

/* â”€â”€ Typography helpers â”€â”€ */
.section-label {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--primary) 12%, transparent);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--foreground);
  text-wrap: balance;
  line-height: 1.25;
}
.section-sub {
  color: var(--muted);
  margin-top: .5rem;
  text-wrap: pretty;
  line-height: 1.6;
}

/* â”€â”€ Buttons â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .625rem 1.4rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .01em;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease,
              box-shadow 0.22s ease, transform 0.18s ease,
              border-color 0.22s ease, opacity 0.22s ease;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0px); }
.btn[disabled],
.btn:disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* Primary â€” brand green */
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px -2px color-mix(in oklch, var(--primary) 45%, transparent);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 18px -4px color-mix(in oklch, var(--primary) 50%, transparent);
}
.btn-primary:active { box-shadow: 0 1px 6px -2px color-mix(in oklch, var(--primary) 40%, transparent); }

/* Outline â€” clean border */
.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--bg-muted);
  border-color: color-mix(in oklch, var(--foreground) 30%, transparent);
  box-shadow: 0 2px 8px -3px rgb(0 0 0 / .08);
}

/* Dark */
.btn-dark {
  background: var(--fg-dark);
  color: #fff;
  box-shadow: 0 2px 10px -3px rgb(0 0 0 / .25);
}
.btn-dark:hover {
  background: #1e293b;
  box-shadow: 0 6px 18px -4px rgb(0 0 0 / .30);
}

/* White â€” used on dark hero sections */
.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 10px -3px rgb(0 0 0 / .15);
}
.btn-white:hover {
  background: color-mix(in oklch, var(--primary) 6%, #fff);
  box-shadow: 0 6px 18px -4px rgb(0 0 0 / .18);
}

/* Blue */
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 10px -2px color-mix(in oklch, var(--blue) 45%, transparent);
}
.btn-blue:hover {
  background: oklch(0.39 0.13 240);
  box-shadow: 0 6px 18px -4px color-mix(in oklch, var(--blue) 50%, transparent);
}

/* Sizes */
.btn-sm { padding: .4rem 1rem; font-size: .8125rem; }
.btn-lg { padding: .75rem 1.9rem; font-size: 1rem; letter-spacing: .015em; }

/* â”€â”€ Badge / Tag â”€â”€ */
.badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: .375rem;
  font-size: .72rem;
  font-weight: 600;
}
.badge-green { background: var(--primary-soft); color: var(--primary-text); }
.badge-blue  { background: var(--blue-soft);    color: var(--blue-text); }
.badge-amber { background: oklch(0.97 0.06 80);  color: oklch(0.45 0.16 60); }
.badge-muted { background: var(--bg-muted);      color: var(--muted); }
.badge-pill  { border-radius: 9999px; }

/* â”€â”€ Card â”€â”€ */
.card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-p { padding: 1.5rem; }
.card-hover { transition: box-shadow .2s; }
.card-hover:hover { box-shadow: var(--shadow); }

/* â”€â”€ Icon Box â”€â”€ */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius);
}
.icon-box-sm  { width: 2rem;   height: 2rem; }
.icon-box-md  { width: 2.5rem; height: 2.5rem; }
.icon-box-lg  { width: 3rem;   height: 3rem; }
.icon-box-xl  { width: 3.5rem; height: 3.5rem; border-radius: 9999px; }
.icon-box-green { background: color-mix(in oklch, var(--primary) 12%, transparent); color: var(--primary); }
.icon-box-blue  { background: var(--blue-soft); color: var(--blue); }

/* â”€â”€ Stars â”€â”€ */
.stars { display: inline-flex; gap: 1px; color: var(--amber); }
.stars svg { fill: currentColor; }

/* â”€â”€ Avatar â”€â”€ */
.avatar {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--primary) 12%, transparent);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .8125rem;
  flex-shrink: 0;
}
.avatar-blue { background: var(--blue-soft); color: var(--blue); }
.avatar-lg   { width: 3.5rem; height: 3.5rem; font-size: 1.1rem; border-radius: 9999px; }

/* â”€â”€ Section spacing â”€â”€ */
.section     { padding: 4rem 0; }
.section-lg  { padding: 5rem 0; }
.section-muted { background: var(--bg-muted); }

/* â”€â”€ Banner / Page header â”€â”€ */
.page-banner {
  background: var(--fg-dark);
  color: #fff;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-wrap: balance;
  margin-bottom: .75rem;
}
.page-banner p {
  color: rgba(255,255,255,.68);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
  text-wrap: pretty;
}
.banner-glow {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

/* â”€â”€ Grid helpers â”€â”€ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* â”€â”€ Color band top of card â”€â”€ */
.card-band { height: .375rem; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.card-band-green { background: var(--primary); }
.card-band-blue  { background: var(--blue); }
.card-band-amber { background: oklch(0.78 0.16 70); }

/* â”€â”€ Divider â”€â”€ */
hr.divider { border: none; border-top: 1.5px solid var(--border); }

/* â”€â”€ Form elements â”€â”€ */
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-label { font-size: .875rem; font-weight: 500; color: var(--foreground); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .6rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--foreground);
  font-size: .875rem;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted-light); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 18%, transparent);
}
.form-textarea { resize: none; }
.form-hint { font-size: .75rem; color: var(--muted); }

/* â”€â”€ Smoother field focus (lift + glow) â”€â”€ */
.form-input, .form-select, .form-textarea {
  transition: border-color 0.3s var(--ease-lux, cubic-bezier(0.16,1,0.3,1)),
              box-shadow 0.3s var(--ease-lux, cubic-bezier(0.16,1,0.3,1)),
              transform 0.3s var(--ease-lux, cubic-bezier(0.16,1,0.3,1)),
              background-color 0.3s var(--ease-lux, cubic-bezier(0.16,1,0.3,1));
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  transform: translateY(-1px);
}

/* â”€â”€ Validation states â”€â”€ */
.form-input.is-valid, .form-select.is-valid {
  border-color: color-mix(in oklch, var(--primary) 55%, var(--border));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.25rem;
}
.form-input.is-invalid, .form-select.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px color-mix(in oklch, #dc2626 15%, transparent);
}

/* â”€â”€ Inline error message â”€â”€ */
.field-error {
  font-size: .75rem;
  color: #dc2626;
  font-weight: 500;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.35s var(--ease-lux, cubic-bezier(0.16,1,0.3,1)),
              opacity 0.35s var(--ease-lux, cubic-bezier(0.16,1,0.3,1)),
              transform 0.35s var(--ease-lux, cubic-bezier(0.16,1,0.3,1));
}
.field-error.show {
  max-height: 3rem;
  opacity: 1;
  transform: translateY(0);
}

/* â”€â”€ Shake on invalid â”€â”€ */
@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-5px); }
  40%      { transform: translateX(5px); }
  60%      { transform: translateX(-3px); }
  80%      { transform: translateX(3px); }
}
.shake { animation: fieldShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97); }

/* â”€â”€ Phone group with country selector â”€â”€ */
.phone-group {
  display: flex;
  gap: .5rem;
  align-items: stretch;
}
.phone-group .phone-country {
  width: auto;
  min-width: 6rem;
  flex: 0 0 auto;
  padding-right: 1.75rem;
  font-weight: 600;
}
.phone-group .phone-number {
  flex: 1 1 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
.brand-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: .5rem;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .8rem;
  letter-spacing: -.02em;
}
.brand-name {
  font-weight: 700;
  font-size: .9375rem;
  color: var(--foreground);
}
.site-nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .375rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .12s, background .12s;
}
.nav-link:hover { color: var(--foreground); background: var(--bg-muted); }
.nav-link.active { color: var(--primary); background: color-mix(in oklch, var(--primary) 10%, transparent); }
.header-cta { display: flex; align-items: center; }

/* Mobile menu */
.menu-btn {
  display: none;
  padding: .4rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color .12s, background .12s;
}
.menu-btn:hover { color: var(--foreground); background: var(--bg-muted); }
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: .75rem var(--px);
  border-top: 1.5px solid var(--border);
  background: var(--bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: .5rem .75rem; }
.mobile-nav .btn { margin-top: .5rem; width: 100%; }

@media (max-width: 767px) {
  .site-nav, .header-cta { display: none; }
  .menu-btn { display: flex; }
  .brand-name { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--fg-dark);
  color: rgba(255,255,255,.65);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 2rem;
  padding: 3rem 0 2.5rem;
}
.footer-brand .brand-name { color: rgba(255,255,255,.9); }
.footer-desc { font-size: .8125rem; color: rgba(255,255,255,.45); line-height: 1.7; margin-top: .75rem; }
.footer-heading { font-size: .8125rem; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .8125rem; color: rgba(255,255,255,.45); transition: color .12s; }
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-contact { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .8125rem; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.footer-contact-item a { color: rgba(255,255,255,.45); transition: color .12s; }
.footer-contact-item a:hover { color: rgba(255,255,255,.9); }
.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:18px;
    padding-top:24px;
}

.footer-copy{
    flex:1;
}

.footer-credit{
    flex:1;
    text-align:center;
    font-size:.95rem;
    color:var(--muted);
}

.footer-credit a{
    color:var(--primary);
    font-weight:600;
    text-decoration:none;
}

.footer-credit a:hover{
    text-decoration:underline;
}

.social-row{
    display:flex;
    gap:.75rem;
}
.footer-copy { font-size: .8125rem; color: rgba(255,255,255,.3); }
.social-row { display: flex; align-items: center; gap: .625rem; }
.social-label { font-size: .8125rem; color: rgba(255,255,255,.4); margin-right: .25rem; }
.social-btn {
  width: 2.1rem; height: 2.1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background 0.22s ease, color 0.22s ease,
              border-color 0.22s ease, transform 0.18s ease;
}
.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 959px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   HOME PAGE
   ============================================================ */
.hero {
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-glow-1, .hero-glow-2 {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: color-mix(in oklch, var(--primary) 5%, transparent);
  top: -140px; right: -160px;
  animation: heroFloat1 9s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: color-mix(in oklch, var(--blue) 5%, transparent);
  bottom: -80px; left: -60px;
  animation: heroFloat2 11s ease-in-out infinite;
}
@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(-10px, 14px); }
  66%       { transform: translate(8px, -10px); }
}
@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0); }
  40%       { transform: translate(12px, -16px); }
  70%       { transform: translate(-8px, 10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow-1, .hero-glow-2 { animation: none; }
}
.hero-inner { text-align: center; max-width: 52rem; margin: 0 auto; position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .85rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  border: 1.5px solid color-mix(in oklch, var(--primary) 22%, transparent);
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: .5rem; height: .5rem;
  border-radius: 9999px;
  background: var(--primary);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--foreground);
  text-wrap: balance;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--primary); }
.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 38rem;
  margin: 0 auto 2rem;
  text-wrap: pretty;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}
.stat-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card-val { font-size: 1.25rem; font-weight: 800; color: var(--foreground); }
.stat-card-lbl { font-size: .75rem; color: var(--muted); margin-top: .25rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.feature-title { font-weight: 700; font-size: .875rem; color: var(--foreground); }
.feature-desc  { font-size: .75rem; color: var(--muted); margin-top: .2rem; line-height: 1.5; }

/* ============================================================
   COURSE CARDS
   ============================================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.course-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.course-card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:1rem;
}

.course-icon{
    width:48px;
    height:48px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--primary-soft);
    color:var(--primary);
    font-size:1.35rem;
}

.course-image-wrapper{
    height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:linear-gradient(
        135deg,
        var(--primary-soft),
        #ffffff
    );
    border-bottom:1px solid var(--border);
    position:relative;
}

.course-image{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:.3s ease;
}

.course-image-wrapper:hover .course-image{
    transform:scale(1.08) rotate(-2deg);
}

.course-icon-wrapper{
    height:180px;
    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(
        135deg,
        var(--primary-soft),
        #ffffff
    );

    border-bottom:1px solid var(--border);
}

.course-icon-circle{
    width:96px;
    height:96px;
    border-radius:24px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fff;

    color:var(--primary);

    font-size:3.25rem;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);

    transition:.35s ease;
}

.course-card:hover .course-icon-circle{
    transform:translateY(-6px) rotate(-8deg);
}

.course-card:hover .course-icon-circle i{
    transform:scale(1.1);
}

.course-icon-circle i{
    transition:.35s ease;
}

.course-card:hover .course-icon{
    transform:rotate(-8deg) scale(1.08);
    transition:.3s ease;
}
.course-card-title { font-size: 1.0625rem; font-weight: 700; color: var(--foreground); margin-bottom: .4rem; }
.course-card-desc { font-size: .8125rem; color: var(--muted); line-height: 1.65; flex: 1; text-wrap: pretty; }
.course-card-meta { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; font-size: .75rem; color: var(--muted); }
.course-card-meta svg { flex-shrink: 0; }
.course-topics { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .75rem; }
.topic-tag {
  padding: .15rem .6rem;
  border-radius: 9999px;
  background: var(--bg-muted);
  font-size: .7rem;
  color: var(--muted);
}
.course-card-footer {
  display: flex;
  gap: .5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1.5px solid var(--border);
}

/* â”€â”€ Rating â”€â”€ */
.rating { display: flex; align-items: center; gap: .25rem; }
.rating-val { font-size: .75rem; font-weight: 700; color: var(--foreground); }

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review-card { display: flex; flex-direction: column; }
.review-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.review-card-author { display: flex; align-items: center; gap: .625rem; }
.author-name  { font-size: .875rem; font-weight: 600; color: var(--foreground); }
.author-time  { font-size: .72rem; color: var(--muted); }
.review-card-g {
  font-size: .65rem; font-weight: 800;
  color: var(--muted);
  background: var(--bg-muted);
  padding: .15rem .45rem;
  border-radius: 9999px;
}
.review-text { font-size: .8125rem; color: var(--muted); line-height: 1.7; flex: 1; }

/* â”€â”€ CTA banner â”€â”€ */
.cta-banner {
  border-radius: var(--radius-xl);
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 2rem;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.4rem, 2.5vw, 1.875rem); font-weight: 800; text-wrap: balance; margin-bottom: .5rem; }
.cta-banner p  { color: rgba(255,255,255,.78); max-width: 36rem; margin: 0 auto 1.5rem; text-wrap: pretty; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mission-card { border-radius: var(--radius-xl); padding: 2rem; color: #fff; }
.mission-card-green { background: var(--primary); }
.mission-card-blue  { background: var(--blue); }
.mission-card h2    { font-size: 1.4rem; font-weight: 800; margin: 1.25rem 0 .75rem; }
.mission-card p     { line-height: 1.7; opacity: .85; text-wrap: pretty; }
.mission-icon-box {
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.value-card  { text-align: center; }
.value-card-title { font-weight: 700; color: var(--foreground); margin-bottom: .35rem; }
.value-card-desc  { font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.story-prose { max-width: 48rem; margin: 0 auto; }
.story-prose h2 { font-size: 1.75rem; font-weight: 800; color: var(--foreground); margin-bottom: 1rem; }
.story-prose p  { color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; text-wrap: pretty; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }

/* â”€â”€ Founder featured card â”€â”€ */
.founder-wrap {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}
.founder-card {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--card);
  border: 2px solid color-mix(in oklch, var(--primary) 35%, var(--border));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.founder-card:hover,
.founder-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgb(0 0 0 / .12);
  border-color: var(--primary);
  outline: none;
}
.founder-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .9rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.founder-photo {
  width: 7rem;
  height: 7rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid color-mix(in oklch, var(--primary) 30%, transparent);
}
.founder-avatar {
  width: 7rem;
  height: 7rem;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.founder-info { display: flex; flex-direction: column; gap: .25rem; }
.founder-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--foreground);
}
.founder-role {
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary);
}
.founder-expertise {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: .25rem;
}

/* â”€â”€ 3-column team grid â”€â”€ */
.team-grid.team-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

@media (max-width: 767px) {
  .founder-card { flex-direction: column; text-align: center; padding: 2rem 1.25rem 1.5rem; }
  .founder-info { align-items: center; }
  .team-grid.team-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .team-grid.team-grid-3 { grid-template-columns: 1fr; }
}



.team-card { text-align: center; }
.team-name  { font-size: .875rem; font-weight: 600; color: var(--foreground); margin-bottom: .25rem; }
.team-role  { font-size: .72rem; color: var(--muted); line-height: 1.4; }

/* ============================================================
   EVENTS PAGE
   ============================================================ */
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.event-card-body { padding: 1.5rem; }
.event-meta { display: flex; flex-direction: column; gap: .5rem; border-top: 1.5px solid var(--border); padding-top: 1rem; margin: 1rem 0; }
.event-meta-row { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--muted); }

/* Selected event card highlight */
.event-card-selectable {
  cursor: pointer;
  transition: box-shadow .2s, border-color .2s, transform .15s;
}
.event-card-selectable:hover {
  box-shadow: 0 4px 16px rgb(0 0 0 / .1);
  transform: translateY(-1px);
}
.event-card-selectable.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 18%, transparent), 0 4px 16px rgb(0 0 0 / .07);
}
.event-meta-row svg { flex-shrink: 0; color: var(--primary); }
.past-events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.past-event-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: .625rem; }
.past-event-date { font-size: .72rem; color: var(--muted); flex-shrink: 0; }
.past-event-title { font-weight: 700; color: var(--foreground); margin-bottom: .4rem; font-size: .9375rem; }
.past-event-desc  { font-size: .8125rem; color: var(--muted); line-height: 1.6; margin-bottom: .625rem; text-wrap: pretty; }
.attendees { display: flex; align-items: center; gap: .375rem; font-size: .72rem; color: var(--muted); }

/* Events empty state */
.events-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; gap: 1rem; }
.events-empty-icon { width: 80px; height: 80px; border-radius: 50%; background: color-mix(in oklch, var(--primary) 10%, transparent); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.events-empty-title { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin: 0; }
.events-empty-sub { font-size: .875rem; color: var(--muted); max-width: 42ch; margin: 0; line-height: 1.6; }

/* Subscribe banner */
.subscribe-banner { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg, 1rem); padding: 2rem 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.subscribe-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: color-mix(in oklch, var(--primary) 12%, transparent); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.subscribe-copy { flex: 1 1 220px; }
.subscribe-form { flex: 0 0 auto; width: 100%; max-width: 380px; }
.subscribe-row { display: flex; gap: .5rem; }
.subscribe-input { flex: 1 1 0; min-width: 0; }
.subscribe-btn { flex-shrink: 0; white-space: nowrap; }
.subscribe-msg { font-size: .8125rem; margin-top: .5rem; min-height: 1.2em; }
.subscribe-msg--success { color: var(--primary); }
.subscribe-msg--error { color: #ef4444; }

/* ============================================================
   ACHIEVEMENTS PAGE
   ============================================================ */
.student-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.ach-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.ach-stat-card { text-align: center; }
.ach-stat-val { font-size: 1.5rem; font-weight: 800; color: var(--foreground); }
.ach-stat-lbl { font-size: .8125rem; color: var(--muted); margin-top: .25rem; }
.ach-timeline { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.ach-item { display: flex; align-items: flex-start; gap: 1.25rem; }
.ach-item-icon { flex-shrink: 0; margin-top: 2px; }
.ach-item-tag-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .375rem; }
.ach-item-title { font-weight: 700; color: var(--foreground); margin-bottom: .2rem; }
.ach-item-org   { font-size: .75rem; font-weight: 600; color: var(--muted); margin-bottom: .35rem; }
.ach-item-desc  { font-size: .8125rem; color: var(--muted); line-height: 1.65; text-wrap: pretty; }
.ach-year { font-size: .72rem; color: var(--muted); }

/* Student certificate gallery */

.student-achievements-intro { max-width: 48rem; margin: 0 auto 2.5rem; text-align: center; }
.student-achievements-intro .badge { margin-bottom: .875rem; }
.student-achievements-lead { max-width: 44rem; margin: .75rem auto 0; color: var(--muted); font-size: 1rem; line-height: 1.7; text-wrap: pretty; }
.student-achievements-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 1.25rem; max-width: 68rem; margin: 0 auto; }
.student-achievement-card { min-width: 0; overflow: hidden; background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.student-achievement-card:hover { transform: translateY(-3px); border-color: color-mix(in oklch, var(--primary) 45%, var(--border)); box-shadow: var(--shadow); }
.student-achievement-card--featured { border-color: color-mix(in oklch, var(--primary) 55%, var(--border)); }
.student-achievements-intro .badge { margin-bottom: .875rem; }
.student-achievements-lead { max-width: 44rem; margin: .75rem auto 0; color: var(--muted); font-size: 1rem; line-height: 1.7; text-wrap: pretty; }
.student-achievements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.student-achievement-card { min-width: 0; overflow: hidden; background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.student-achievement-card:hover { transform: translateY(-3px); border-color: color-mix(in oklch, var(--primary) 45%, var(--border)); box-shadow: var(--shadow); }
.student-achievement-card--featured { border-color: color-mix(in oklch, var(--primary) 55%, var(--border)); }
.student-achievement-figure { height: 100%; display: flex; flex-direction: column; position: relative; }
.student-achievement-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-muted); border-bottom: 1.5px solid var(--border); }
.student-featured-badge { position: absolute; top: .875rem; left: .875rem; padding: .35rem .65rem; border-radius: 9999px; background: var(--primary); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .02em; }
.student-achievement-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 1.25rem; }
.student-achievement-course { margin-bottom: .5rem; color: var(--primary); font-size: .72rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.student-achievement-content h3 { color: var(--foreground); font-size: 1.125rem; font-weight: 800; line-height: 1.35; }
.student-achievement-award { margin-top: .25rem; color: var(--foreground); font-size: .875rem; font-weight: 600; }
.student-achievement-description { margin-top: .75rem; color: var(--muted); font-size: .8125rem; line-height: 1.65; text-wrap: pretty; }
.student-instagram-link { display: inline-flex; align-items: center; gap: .375rem; margin-top: auto; padding-top: 1rem; color: var(--primary); font-size: .8125rem; font-weight: 700; text-underline-offset: 3px; }
.student-instagram-link:hover { text-decoration: underline; }
.student-instagram-link:focus-visible { border-radius: .25rem; outline: 2px solid var(--primary); outline-offset: 3px; }
.student-achievements-empty { max-width: 38rem; margin: 0 auto; text-align: center; }
.student-achievements-empty h3 { color: var(--foreground); font-size: 1.125rem; font-weight: 700; }
.student-achievements-empty p { margin-top: .4rem; color: var(--muted); font-size: .875rem; }

@media (max-width: 900px) {
  .student-achievements-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .student-achievements-grid { grid-template-columns: 1fr; }
  .student-achievements-intro { margin-bottom: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .student-achievement-card { transition: none; }
  .student-achievement-card:hover { transform: none; }
}

/* ============================================================
   ENROLL PAGE
   ============================================================ */
.enroll-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: flex-start; }
.enroll-form-title { font-size: 1.375rem; font-weight: 800; color: var(--foreground); margin-bottom: .375rem; }
.enroll-form-sub   { color: var(--muted); font-size: .875rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.enroll-form .card { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.125rem; }
.sidebar-card { padding: 1.5rem; margin-bottom: 1rem; }
.sidebar-card-title { font-weight: 700; color: var(--foreground); margin-bottom: 1rem; font-size: .9375rem; }
.benefit-row { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; }
.benefit-text { font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.contact-row  { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--foreground); margin-bottom: .625rem; }
.contact-row svg { color: var(--primary); flex-shrink: 0; }
.contact-row a { transition: color .12s; }
.contact-row a:hover { color: var(--primary); }
.iso-badge { background: color-mix(in oklch, var(--primary) 10%, transparent); border: 1.5px solid color-mix(in oklch, var(--primary) 22%, transparent); border-radius: var(--radius-xl); padding: 1.25rem; text-align: center; }
.iso-badge-num { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.iso-badge-label { font-size: .6875rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: .25rem 0; }
.iso-badge-desc { font-size: .72rem; color: var(--muted); }
.form-note { font-size: .72rem; color: var(--muted); text-align: center; }

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 2rem 1rem;
}
.success-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 32px rgb(0 0 0 / .07);
  position: relative;
  z-index: 1;
}
.ring-wrap {
  position: relative;
  width: 120px; height: 120px;
  margin: 0 auto 2rem;
}
.ring-svg {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.ring-track    { fill: none; stroke: var(--border); stroke-width: 4; }
.ring-progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 339.3;
  stroke-dashoffset: 0;
  animation: ring-drain 5s linear forwards;
}
@keyframes ring-drain {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: 339.3; }
}
.tick-circle {
  position: absolute; inset: 10px;
  border-radius: 9999px;
  background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center;
  animation: pop-in 0.45s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.tick-svg { width: 42px; height: 42px; overflow: visible; }
.tick-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: draw-tick 0.5s 0.3s ease-out forwards;
}
@keyframes draw-tick { to { stroke-dashoffset: 0; } }
.countdown-label {
  position: absolute;
  bottom: 5px; left: 50%;
  transform: translateX(-50%);
  font-size: .7rem; font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.success-title {
  font-size: 1.6rem; font-weight: 800;
  color: var(--foreground);
  margin: 0 0 .5rem;
  line-height: 1.25;
}
.success-sub {
  font-size: .9375rem; color: var(--muted);
  line-height: 1.65; margin: 0 0 1.75rem;
}
.redirect-notice {
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  font-size: .8125rem; color: var(--muted);
  margin-bottom: 1.5rem;
}
.redirect-notice strong { color: var(--primary); font-weight: 700; }
.success-divider { border: none; border-top: 1.5px solid var(--border); margin: 1.5rem 0; }
.brand-line {
  font-size: .72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}
/* Confetti */
.confetti {
  position: fixed; inset: 0;
  pointer-events: none; overflow: hidden; z-index: 0;
}
.confetti span {
  position: absolute; top: -10px;
  width: 8px; height: 8px; border-radius: 9999px;
  animation: fall linear forwards; opacity: 0;
}
@keyframes fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ============================================================
   COURSE DETAIL PAGE
   ============================================================ */
.course-detail-hero {
  padding: 4rem 0 5rem;
  position: relative; overflow: hidden; color: #fff;
}
.course-detail-hero-inner { position: relative; max-width: 48rem; }
.course-detail-hero .back-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8125rem; color: rgba(255,255,255,.65);
  margin-bottom: 1.5rem; transition: color .12s;
}
.course-detail-hero .back-link:hover { color: #fff; }
.course-detail-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800; text-wrap: balance;
  margin-bottom: 1rem;
}
.course-detail-hero p { color: rgba(255,255,255,.78); line-height: 1.7; font-size: 1.0625rem; margin-bottom: 1.25rem; text-wrap: pretty; }
.course-detail-hero-meta { display: flex; align-items: center; gap: 1.5rem; font-size: .875rem; color: rgba(255,255,255,.65); }
.course-detail-hero-meta span { display: flex; align-items: center; gap: .375rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: flex-start; }
.detail-section { margin-bottom: 1.5rem; }
.detail-section-title { font-size: 1.125rem; font-weight: 700; color: var(--foreground); margin-bottom: 1rem; }
.topics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.topic-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .8125rem; color: var(--muted); }
.topic-item svg { flex-shrink: 0; margin-top: 1px; }
.outcome-item { display: flex; align-items: flex-start; gap: .625rem; margin-bottom: .75rem; }
.outcome-icon { width: 1.25rem; height: 1.25rem; border-radius: 9999px; background: color-mix(in oklch, var(--primary) 12%, transparent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.outcome-text { font-size: .8125rem; color: var(--muted); }
.sidebar-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem; }
.sidebar-meta-item { background: var(--bg-muted); border-radius: var(--radius); padding: .75rem; text-align: center; }
.sidebar-meta-val { font-size: 1rem; font-weight: 700; color: var(--foreground); }
.sidebar-meta-lbl { font-size: .7rem; color: var(--muted); margin-top: .2rem; }
.sidebar-meta-item.full { grid-column: 1 / -1; }
.other-courses { display: flex; flex-direction: column; gap: .25rem; }
.other-course-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .5rem .25rem; font-size: .8125rem; color: var(--muted);
  border-bottom: 1.5px solid var(--border); transition: color .12s;
}
.other-course-link:last-child { border-bottom: none; }
.other-course-link:hover { color: var(--foreground); }
.other-course-link svg { opacity: 0; transition: opacity .12s; }
.other-course-link:hover svg { opacity: 1; }

/* ------------------------------------------------------------
   Course card â€” faculty line
   ------------------------------------------------------------ */
.course-faculty-line {
  display: flex; align-items: center; gap: .375rem;
  font-size: .75rem; color: var(--muted);
  margin-top: .75rem;
}
.course-faculty-line svg { flex-shrink: 0; }

/* ------------------------------------------------------------
   Course card â€” prerequisite note
   ------------------------------------------------------------ */
.course-prereq-note {
  display: flex; align-items: flex-start; gap: .3rem;
  font-size: .72rem; color: var(--muted);
  margin-top: .5rem; line-height: 1.5;
}
.course-prereq-note svg { flex-shrink: 0; margin-top: 1px; }

/* ------------------------------------------------------------
   Course detail â€” module list (curriculum)
   ------------------------------------------------------------ */
.module-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}
.module-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .875rem 0;
  border-bottom: 1.5px solid var(--border);
}
.module-item:last-child { border-bottom: none; }
.module-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .04em;
  margin-top: 1px;
}
.module-body { flex: 1; min-width: 0; }
.module-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: .25rem;
}
.module-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}

/* ------------------------------------------------------------
   Course detail â€” prerequisites block
   ------------------------------------------------------------ */
.prereq-block {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: var(--bg-muted);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
}
.prereq-block p {
  margin: 0;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   Course detail â€” career path tags
   ------------------------------------------------------------ */
.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.career-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--bg-muted);
  border: 1.5px solid var(--border);
  border-radius: 9999px;
  padding: .3rem .75rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--foreground);
}
.career-tag svg { flex-shrink: 0; color: var(--primary); }

/* ------------------------------------------------------------
   Course detail sidebar â€” level row
   ------------------------------------------------------------ */
.sidebar-level-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .875rem;
  margin-bottom: .875rem;
  border-bottom: 1.5px solid var(--border);
}

/* ------------------------------------------------------------
   Course detail sidebar â€” faculty list
   ------------------------------------------------------------ */
.sidebar-faculty {
  margin-bottom: 1.25rem;
}
.sidebar-faculty-label {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .625rem;
}
.sidebar-faculty-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.sidebar-faculty-item {
  display: flex;
  align-items: center;
  gap: .625rem;
}
.sidebar-faculty-avatar {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.sidebar-faculty-avatar-green {
  background: var(--primary-soft);
  color: var(--primary-text);
}
.sidebar-faculty-avatar-blue {
  background: var(--blue-soft);
  color: var(--blue-text);
}
.sidebar-faculty-info { flex: 1; min-width: 0; }
.sidebar-faculty-name {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-faculty-role {
  font-size: .72rem;
  color: var(--muted);
  margin-top: .1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1023px) {
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
.features-grid .feature-card { flex-basis: 100%; }
  .values-grid, .team-grid { grid-template-columns: repeat(3, 1fr); }
  .enroll-grid  { grid-template-columns: 1fr; }
  .detail-grid  { grid-template-columns: 1fr; }
  .ach-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar-sticky { position: static !important; }
}
@media (max-width: 767px) {
  .grid-2, .mission-grid, .courses-grid, .reviews-grid,
  .events-grid, .past-events-grid { grid-template-columns: 1fr; }
  .grid-3, .courses-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .section, .section-lg { padding: 2.5rem 0; }
  .page-banner { padding: 2.5rem 0 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .ach-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .course-detail-hero-meta { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
@media (max-width: 479px) {
  .success-card { padding: 2rem 1.25rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   GUIDANCE / COURSE FINDER QUIZ
   ============================================================ */
.quiz-progress { display: flex; align-items: center; gap: .5rem; margin-bottom: 2rem; }
.quiz-progress-track { flex: 1; height: .375rem; border-radius: 9999px; background: var(--border); overflow: hidden; }
.quiz-progress-bar { height: 100%; border-radius: 9999px; background: var(--primary); transition: width .3s; }
.quiz-progress-count { font-size: .75rem; color: var(--muted); white-space: nowrap; margin-left: .25rem; }

.quiz-q-label { font-size: .75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .5rem; }
.quiz-q-title { font-size: 1.5rem; font-weight: 800; color: var(--foreground); text-wrap: balance; margin-bottom: 2rem; }

.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.quiz-option {
  text-align: left;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: var(--card);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.22s ease, background 0.22s ease,
              box-shadow 0.22s ease, transform 0.18s ease;
}
.quiz-option:hover {
  border-color: var(--primary);
  background: color-mix(in oklch, var(--primary) 5%, transparent);
  box-shadow: 0 4px 14px -4px color-mix(in oklch, var(--primary) 25%, transparent);
  transform: translateY(-1px);
}
.quiz-option:active { transform: translateY(0); }
.quiz-option-label { font-weight: 700; font-size: .875rem; color: var(--foreground); margin-bottom: .25rem; }
.quiz-option:hover .quiz-option-label { color: var(--primary); }
.quiz-option-desc { font-size: .75rem; color: var(--muted); line-height: 1.5; }

.quiz-back {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: .35rem .6rem;
  border-radius: 9999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.quiz-back:hover { color: var(--foreground); background: var(--bg-muted); }

.quiz-result-header { text-align: center; margin-bottom: 2.5rem; }
.quiz-result-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background: color-mix(in oklch, var(--primary) 12%, transparent);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.quiz-result-title { font-size: 1.5rem; font-weight: 800; color: var(--foreground); margin-bottom: .5rem; }
.quiz-result-sub { font-size: .875rem; color: var(--muted); }

.quiz-rec-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.quiz-rec-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius-lg, 1rem);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.quiz-rec-rank {
  width: 2rem; height: 2rem; border-radius: .75rem; flex-shrink: 0; margin-top: .125rem;
  background: color-mix(in oklch, var(--primary) 12%, transparent);
  color: var(--primary); font-weight: 800; font-size: .8125rem;
  display: flex; align-items: center; justify-content: center;
}
.quiz-rec-body { flex: 1; min-width: 0; }
.quiz-rec-top { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .375rem; }
.quiz-rec-title { font-weight: 700; color: var(--foreground); font-size: .875rem; }
.quiz-rec-desc { font-size: .75rem; color: var(--muted); line-height: 1.6; }
.quiz-rec-link { flex-shrink: 0; display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.quiz-rec-link:hover { text-decoration: underline; }

.quiz-cta-row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .quiz-cta-row { flex-direction: row; } }
.quiz-cta-row .btn { flex: 1; justify-content: center; }

@media (max-width: 639px) {
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-rec-card { flex-direction: column; }
  .quiz-rec-link { align-self: flex-start; }
}

/* ============================================================
   MOTION SYSTEM â€” Refined, Premium, Apple/Google-inspired
   ============================================================ */

/* Shared easing curves */
:root {
  --ease-lux:    cubic-bezier(0.16, 1, 0.3, 1);   /* easeOutExpo â€” silky settle */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);    /* material standard */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* gentle overshoot */
  --dur:   0.7s;
  --dur-sm: 0.4s;
}

html { scroll-behavior: smooth; }

/* â”€â”€ Keyframes â”€â”€ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes navSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes badgePop {
  0%   { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1);    opacity: 1; }
}
@keyframes heroTextReveal {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes gradientDrift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* â”€â”€ Scroll-reveal base (JS toggles .is-visible) â”€â”€ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity var(--dur) var(--ease-lux),
              transform var(--dur) var(--ease-lux),
              filter var(--dur) var(--ease-lux);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  filter: blur(6px);
  transition: opacity var(--dur) var(--ease-lux),
              transform var(--dur) var(--ease-lux),
              filter var(--dur) var(--ease-lux);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); filter: blur(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  filter: blur(6px);
  transition: opacity var(--dur) var(--ease-lux),
              transform var(--dur) var(--ease-lux),
              filter var(--dur) var(--ease-lux);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); filter: blur(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  filter: blur(6px);
  transition: opacity var(--dur) var(--ease-lux),
              transform var(--dur) var(--ease-lux),
              filter var(--dur) var(--ease-lux);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); filter: blur(0); }

/* Stagger delays â€” gentle cascade */
.stagger > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger > *:nth-child(2)  { transition-delay: 0.12s; }
.stagger > *:nth-child(3)  { transition-delay: 0.19s; }
.stagger > *:nth-child(4)  { transition-delay: 0.26s; }
.stagger > *:nth-child(5)  { transition-delay: 0.33s; }
.stagger > *:nth-child(6)  { transition-delay: 0.40s; }
.stagger > *:nth-child(7)  { transition-delay: 0.47s; }
.stagger > *:nth-child(8)  { transition-delay: 0.54s; }

/* â”€â”€ Hero entrance â”€â”€ */
.hero-badge    { animation: badgePop 0.6s var(--ease-lux) 0.1s both; }
.hero h1       { animation: heroTextReveal 0.9s var(--ease-lux) 0.24s both; }
.hero-sub      { animation: heroTextReveal 0.8s var(--ease-lux) 0.42s both; }
.hero-btns     { animation: fadeUp 0.7s var(--ease-lux) 0.56s both; }
.stats-grid    { animation: fadeUp 0.7s var(--ease-lux) 0.68s both; }
.features-grid { animation: fadeUp 0.7s var(--ease-lux) 0.8s both; }

/* â”€â”€ Nav & banner entrance â”€â”€ */
.site-header    { animation: navSlide 0.55s var(--ease-lux) both; }
.page-banner h1 { animation: heroTextReveal 0.85s var(--ease-lux) 0.1s both; }
.page-banner p  { animation: heroTextReveal 0.75s var(--ease-lux) 0.3s both; }

/* â”€â”€ Premium card hover: gentle lift + refined depth â”€â”€ */
.card, .card-hover, .stat-card, .feature-card, .mission-card {
  transition: transform var(--dur-sm) var(--ease-lux),
              box-shadow var(--dur-sm) var(--ease-lux),
              border-color var(--dur-sm) var(--ease-lux);
  will-change: transform;
}
.card:hover, .card-hover:hover, .stat-card:hover, .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1px 2px rgb(0 0 0 / .04),
              0 14px 34px -10px rgb(0 0 0 / .18);
  border-color: color-mix(in oklch, var(--primary) 32%, var(--border));
}
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -12px color-mix(in oklch, var(--primary) 45%, transparent);
}

/* Course card image gentle zoom */
.course-card img, .course-card .course-card-img {
  transition: transform 0.6s var(--ease-lux);
}
.course-card:hover img, .course-card:hover .course-card-img {
  transform: scale(1.06);
}

/* Floating stat icon on hover */
.stat-card:hover .icon-box { animation: floatY 2s ease-in-out infinite; }

/* â”€â”€ Animated gradient section label â”€â”€ */
.section-label {
  background: linear-gradient(
    90deg,
    color-mix(in oklch, var(--primary) 14%, transparent) 0%,
    color-mix(in oklch, var(--primary) 30%, transparent) 45%,
    color-mix(in oklch, var(--primary) 14%, transparent) 65%
  );
  background-size: 200% auto;
  animation: shimmer 3.5s linear infinite;
}

/* â”€â”€ Hero accent word: subtle gradient text + animated underline â”€â”€ */
.hero h1 span {
  position: relative;
  display: inline;
  background: linear-gradient(
    100deg,
    var(--primary),
    color-mix(in oklch, var(--primary) 55%, var(--blue, #2563eb)),
    var(--primary)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
  animation: gradientDrift 6s ease-in-out infinite;
}
.hero h1 span::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--primary), color-mix(in oklch, var(--primary) 50%, transparent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-lux);
}
.hero h1.is-visible span::after { transform: scaleX(1); }

/* â”€â”€ Buttons: focus ring â”€â”€ */
.btn:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
}
.btn-blue:focus-visible  { outline-color: var(--blue); }
.btn-dark:focus-visible  { outline-color: var(--fg-dark); }
.btn-white:focus-visible { outline-color: #fff; }

/* â”€â”€ Nav link underline â”€â”€ */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  border-radius: 9999px;
  background: var(--primary);
  transition: width 0.35s var(--ease-lux), left 0.35s var(--ease-lux);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 1.5rem);
  left: .75rem;
}

/* â”€â”€ Header: frosted blur + shadow on scroll â”€â”€ */
.site-header {
  transition: box-shadow 0.4s var(--ease-lux),
              background-color 0.4s var(--ease-lux),
              backdrop-filter 0.4s var(--ease-lux);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px -8px rgb(0 0 0 / .12);
  border-bottom-color: transparent;
  background-color: color-mix(in oklch, var(--card) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

/* â”€â”€ Scroll progress bar â”€â”€ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 1000;
  background: linear-gradient(
    90deg,
    var(--primary),
    color-mix(in oklch, var(--primary) 45%, var(--blue, #2563eb))
  );
  box-shadow: 0 0 12px color-mix(in oklch, var(--primary) 50%, transparent);
  transition: width 0.1s linear;
}

/* â”€â”€ Section heading divider â”€â”€ */
.section-heading-line {
  display: block;
  width: 3rem; height: 3px;
  border-radius: 9999px;
  background: var(--primary);
  margin: .75rem auto 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-lux) 0.3s;
}
[class*="reveal"].is-visible .section-heading-line { transform: scaleX(1); }

/* â”€â”€ Floating WhatsApp button â”€â”€ */
.wa-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 3.4rem; height: 3.4rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, #2ee06f, #1eba57);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px -4px rgb(37 211 102 / .55),
              0 2px 6px rgb(0 0 0 / .12);
  border: none;
  cursor: pointer;
  text-decoration: none;
  animation: fadeUp 0.7s var(--ease-lux) 1s both;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-lux);
}
.wa-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px -6px rgb(37 211 102 / .6),
              0 4px 10px rgb(0 0 0 / .15);
}
.wa-btn svg { width: 1.75rem; height: 1.75rem; position: relative; z-index: 1; }
.wa-btn-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  border: 2px solid #25d366;
  opacity: 0;
  animation: wa-pulse 2.4s ease-out infinite 1.5s;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* â”€â”€ Count-up number â”€â”€ */
.stat-card-val.count-animate { animation: countUp 0.6s var(--ease-lux) both; }

/* â”€â”€ Reduced motion override â”€â”€ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .hero-badge, .hero h1, .hero h1 span, .hero-sub, .hero-btns,
  .stats-grid, .features-grid, .page-banner h1, .page-banner p,
  .site-header, .wa-btn, .section-label {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ============================================================
   FACULTY TABS + DETAIL MODAL
   ============================================================ */
.faculty-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1rem;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.faculty-tab:hover,
.faculty-tab:focus-visible {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: color-mix(in oklch, var(--primary) 35%, var(--border));
  outline: none;
}
.faculty-tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.faculty-tab-avatar { margin-bottom: .4rem; transition: transform .2s ease; }
.faculty-tab:hover .faculty-tab-avatar { transform: scale(1.06); }
.faculty-tab-expertise {
  font-size: .7rem;
  color: var(--muted-light);
  line-height: 1.4;
  margin-top: .15rem;
}

.faculty-tab-photo{
    width:56px;
    height:56px;
    border-radius:50%;
    object-fit:cover;
    object-position:center 12%;
}

.faculty-tab:hover .faculty-tab-photo{
    transform:scale(1.06);
}

/* Overlay + backdrop blur (non-interactive page underneath) */
.faculty-modal-lock { overflow: hidden; }
.faculty-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: color-mix(in oklch, var(--fg-dark) 55%, transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease, backdrop-filter .28s ease, pointer-events .28s ease;
}
.faculty-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.faculty-modal-overlay.is-closing { opacity: 0; }

/* Card */
.faculty-modal-card {
  position: relative;
  width: 100%;
  max-width: 30rem;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgb(0 0 0 / .28);
  transform: translateY(16px) scale(.94);
  opacity: 0;
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .3s ease;
}
.faculty-modal-overlay.is-open .faculty-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.faculty-modal-card:focus { outline: none; }

.faculty-modal-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--fg-dark) 8%, #fff);
  color: var(--foreground);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.faculty-modal-close:hover { background: color-mix(in oklch, var(--fg-dark) 16%, #fff); transform: rotate(90deg); }
.faculty-modal-close:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Media: big photo that zooms from the face out to the full portrait */
.faculty-modal-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.5rem .5rem;
}
.faculty-modal-media.has-photo {
  padding: 0;
  height: 18rem;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--bg-muted);
}
.faculty-modal-photo{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 25%;

    image-rendering:auto;
    backface-visibility:hidden;
    transform:translateZ(0);
}
@keyframes facultyPhotoReveal {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}
.faculty-modal-initials {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  font-size: 2rem;
  font-weight: 700;
}

.faculty-modal-body { padding: 1.25rem 1.75rem 2rem; text-align: center; }
.faculty-modal-name { font-size: 1.5rem; font-weight: 800; color: var(--foreground); margin-bottom: .25rem; }
.faculty-modal-role { font-size: .95rem; color: var(--primary-text); font-weight: 600; margin-bottom: .9rem; }
.faculty-modal-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.faculty-modal-about { color: var(--muted); line-height: 1.7; text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) {
  .faculty-modal-overlay,
  .faculty-modal-card { transition: opacity .15s ease; }
  .faculty-modal-card { transform: none; }
  .faculty-modal-photo { animation: none; transform: scale(1); }
}

/* ============================================================
   POLISH LAYER â€” Logo, Cursor, Micro-interactions
   ============================================================ */

/* â”€â”€ Brand logo (transparent SVG, no box) â”€â”€ */
.brand-logo {
  height: 2.5rem;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}
.brand:hover .brand-logo { transform: scale(1.06) rotate(-2deg); }

/* â”€â”€ Custom cursor â”€â”€ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  border-radius: 9999px;
  pointer-events: none;
  opacity: 0;
}
.cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--primary);
  transition: opacity .25s ease, width .25s var(--ease-lux), height .25s var(--ease-lux), margin .25s var(--ease-lux);
}
.cursor-ring {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid color-mix(in oklch, var(--primary) 50%, transparent);
  transition: opacity .25s ease,
              width .3s var(--ease-lux), height .3s var(--ease-lux),
              margin .3s var(--ease-lux),
              background-color .3s ease, border-color .3s ease;
}

body.cursor-blue .cursor-dot{
    background: var(--blue);
}

body.cursor-blue .cursor-ring{
    border-color: color-mix(in oklch, var(--blue) 65%, transparent);
    background: color-mix(in oklch, var(--blue) 10%, transparent);
}
body.cursor-on .cursor-dot,
body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-hidden .cursor-dot,
body.cursor-hidden .cursor-ring { opacity: 0; }
body.cursor-active .cursor-ring {
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  background: color-mix(in oklch, var(--primary) 9%, transparent);
  border-color: color-mix(in oklch, var(--primary) 65%, transparent);
}
body.cursor-active .cursor-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; }

/* Hide the native cursor on every element when our custom cursor is active.
   !important is required to override the many cursor:pointer declarations
   scattered through the stylesheet. Text-entry fields keep cursor:text so
   the user still sees the I-beam insertion caret. */
@media (pointer: fine) {
  body.has-cursor *,
  body.has-cursor { cursor: none !important; }

  body.has-cursor input,
  body.has-cursor input[type],
  body.has-cursor textarea,
  body.has-cursor select { cursor: text !important; }

  body.has-cursor input[type="checkbox"],
  body.has-cursor input[type="radio"],
  body.has-cursor input[type="range"],
  body.has-cursor input[type="file"] { cursor: none !important; }
}

/* â”€â”€ Button shine sweep (filled buttons only) â”€â”€ */
.btn-primary, .btn-blue, .btn-dark {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .btn-blue::after, .btn-dark::after {
  content: '';
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .3), transparent);
  transform: skewX(-20deg);
  transition: left .65s var(--ease-lux);
  pointer-events: none;
}
.btn-primary:hover::after, .btn-blue:hover::after, .btn-dark:hover::after { left: 130%; }

/* â”€â”€ Card spotlight (follows cursor) â”€â”€ */
.has-spotlight { position: relative; }
.has-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--sx, 50%) var(--sy, 50%),
              color-mix(in oklch, var(--primary) 8%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity .4s var(--ease-lux);
  pointer-events: none;
  z-index: 1;
}
.has-spotlight:hover::before { opacity: 1; }

/* â”€â”€ Mobile nav open animation â”€â”€ */
.mobile-nav.open { animation: navSlide 0.35s var(--ease-lux); }

/* â”€â”€ Reduced motion: disable polish layer â”€â”€ */
@media (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring { display: none; }
  body.has-cursor *, body.has-cursor { cursor: auto !important; }
  .brand-logo { transition: none; }
  .brand:hover .brand-logo { transform: none; }
  .btn-primary::after, .btn-blue::after, .btn-dark::after { display: none; }
  .has-spotlight::before { display: none; }
}




/* ============================================================
   FOUNDER FEATURED CARD + 3x3 TEAM GRID
   ============================================================ */
.founder-wrap {
  margin-bottom: 2.5rem;
}
.founder-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2.25rem 2.5rem;
  background: var(--card);
  border: 2px solid color-mix(in oklch, var(--primary) 35%, var(--border));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.founder-card:hover,
.founder-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgb(0 0 0 / .12);
  border-color: var(--primary);
  outline: none;
}
.founder-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.founder-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.founder-photo {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  flex-shrink: 0;
  border: 3px solid color-mix(in oklch, var(--primary) 30%, transparent);
  transition: transform .2s ease;
}
.founder-card:hover .founder-photo { transform: scale(1.05); }
.founder-avatar {
  width: 8rem;
  height: 8rem;
  font-size: 2rem;
  flex-shrink: 0;
}
.founder-info {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.founder-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
}
.founder-role {
  font-size: .95rem;
  font-weight: 600;
  color: var(--primary);
}
.founder-expertise {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: .25rem;
}

/* Force exactly 3 columns for the remaining team */
.team-grid.team-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 767px) {
  .founder-card {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding: 2.5rem 1.25rem 1.75rem;
  }
  .founder-info { align-items: center; }
  .team-grid.team-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .team-grid.team-grid-3 { grid-template-columns: 1fr; }



}




.collaboration-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:1.5rem;
}

.collaboration-card{
    display:flex;
    gap:1rem;
    align-items:flex-start;
    transition:.3s;
}

.collaboration-card:hover{
    transform:translateY(-6px);
}

.collaboration-logo img{
    width:70px;
    height:70px;
    object-fit:contain;
}

.collaboration-content h3{
    margin:.5rem 0 .2rem;
    font-size:1.05rem;
    font-weight:700;
}

.collaboration-content h4{
    color:var(--primary);
    font-size:.95rem;
    margin-bottom:.5rem;
}

.collaboration-content p{
    color:var(--muted);
    line-height:1.7;
}

.collaboration-footer{
    text-align:center;
    max-width:900px;
    margin:3rem auto 0;
}

.collaboration-footer p{
    font-size:1.05rem;
    color:var(--muted);
}

.festival-logo{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.festival-logo canvas,
.festival-logo svg,
.festival-logo .festival-layer{
    position:absolute;
    inset:0;
    pointer-events:none;
}

.festival-logo .brand-logo{
    position:relative;
    z-index:5;
}

/* =========================================
   CORE VALUES — CLEAN PREMIUM STYLE
========================================= */

.core-values-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

#values-heading::before,
#values-heading::after {
    display: none !important;
}

/* Values container */
.core-values-list {
    width: min(760px, 100%);
    margin: 0 auto;

    display: flex;
    flex-direction: column;

    position: relative;
}

/* Vertical connecting line */
.core-values-list::before {
    content: "";
    position: absolute;

    left: 14px;
    top: 15px;
    bottom: 15px;

    width: 1px;

    background: color-mix(
        in oklch,
        var(--primary) 18%,
        transparent
    );
}

/* Individual value */
.core-value-item {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 62px;

    padding: 0 0 0 48px;

    font-size: 1.08rem;
    font-weight: 600;

    color: var(--text);

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

/* Green dot */
.core-value-dot {
    position: absolute;

    left: 8px;
    top: 50%;

    width: 13px;
    height: 13px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: var(--primary);

    box-shadow:
        0 0 0 6px color-mix(
            in oklch,
            var(--primary) 10%,
            transparent
        );

    z-index: 2;
}

/* Text */
.core-value-text {
    line-height: 1.5;
}

/* Hover */
.core-value-item:hover {
    transform: translateX(7px);
}

.core-value-item:hover .core-value-dot {
    box-shadow:
        0 0 0 8px color-mix(
            in oklch,
            var(--primary) 13%,
            transparent
        );
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .core-values-header {
        margin-bottom: 2.5rem;
    }

    .core-values-list {
        width: 100%;
    }

    .core-value-item {
        min-height: 58px;
        padding-left: 42px;
        font-size: 1rem;
    }

    .core-values-list::before {
        left: 13px;
    }

    .core-value-dot {
        left: 7px;
        width: 12px;
        height: 12px;
    }
}

/* ============================================================
   FACULTY GRID — 4 TOP + 2 CENTERED BOTTOM
============================================================ */

.team-grid.team-grid-3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Center the last two faculty cards */
.team-grid.team-grid-3 > :nth-child(5) {
    grid-column: 2;
}

.team-grid.team-grid-3 > :nth-child(6) {
    grid-column: 3;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

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

    .team-grid.team-grid-3 > :nth-child(5),
    .team-grid.team-grid-3 > :nth-child(6) {
        grid-column: auto;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 479px) {

    .team-grid.team-grid-3 {
        grid-template-columns: 1fr;
    }

    .team-grid.team-grid-3 > :nth-child(5),
    .team-grid.team-grid-3 > :nth-child(6) {
        grid-column: auto;
    }
}

/* ============================================================
   WHY CHOOSE US — 4 TOP + 2 CENTERED BOTTOM
============================================================ */

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* 5th card ? column 2 */
.values-grid > :nth-child(5) {
    grid-column: 2;
}

/* 6th card ? column 3 */
.values-grid > :nth-child(6) {
    grid-column: 3;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

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

    .values-grid > :nth-child(5),
    .values-grid > :nth-child(6) {
        grid-column: auto;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 479px) {

    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-grid > :nth-child(5),
    .values-grid > :nth-child(6) {
        grid-column: auto;
    }
}



/* ============================================================
   RESPONSIVE HERO: FULL-SCREEN (LAPTOP) & HALF-SCREEN (MOBILE)
   WITH PARYUSHAN PARV AND GANPATI AMBIENT BACKGROUND ANIMATION
============================================================ */

/* ============================================================
   RESPONSIVE HERO: FULL-SCREEN (LAPTOP) & HALF-SCREEN (MOBILE)
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  background: var(--bg) !important;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
}

@media (prefers-color-scheme: dark) {
  .hero-video-overlay {
    background: rgba(15, 23, 42, 0.2);
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (max-width: 767px) {
  .hero {
    min-height: 50vh;
    min-height: 50dvh;
    max-height: 55vh;
    padding: 2.5rem 0;
    align-items: flex-start;
  }

  .hero-bg-video {
    transform: translate(-50%, -50%) scale(1.8);
    width: auto;
    height: 100%;
  }

  .hero-inner {
    transform: scale(0.92);
    transform-origin: top center;
  }
}