/* IQ SOFTTECH — public site design system v3 (on top of Bootstrap 5.3).
   Light and dark themes via data-bs-theme. Three pillars share one visual language:
   IT courses = crimson, Academics = indigo, Software = teal. */
:root,
[data-bs-theme="light"] {
  --iq-red: #d7142f;
  --iq-red-dark: #a80f26;
  --iq-red-soft: #fdebee;
  --iq-coral: #ff6a3d;
  --iq-navy: #0b1230;
  --iq-navy-2: #141d4a;
  --iq-indigo: #4f46e5;
  --iq-indigo-soft: #eceafd;
  --iq-teal: #0ea5a4;
  --iq-teal-soft: #e0f6f5;
  --iq-gold: #f6b51e;
  --iq-green: #16a34a;
  --iq-ink: #121a2e;
  --iq-muted: #5c6578;
  --iq-line: #e6e9f2;
  --iq-bg: #f5f7fc;
  --iq-bg-2: #eef1f9;
  --iq-card: #ffffff;
  --iq-glass: rgba(255, 255, 255, .72);
  --iq-glass-border: rgba(255, 255, 255, .6);
  --iq-radius: 20px;
  --iq-radius-sm: 14px;
  --iq-shadow: 0 10px 30px -12px rgba(11, 18, 48, .18);
  --iq-shadow-lg: 0 30px 60px -24px rgba(11, 18, 48, .32);
  --iq-glow: 0 12px 32px -10px rgba(215, 20, 47, .55);
  --iq-header-h: 78px;
  --iq-grad: linear-gradient(135deg, #d7142f 0%, #ff6a3d 100%);
  --iq-grad-indigo: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --iq-grad-teal: linear-gradient(135deg, #0ea5a4 0%, #0284c7 100%);
  --iq-grad-text: linear-gradient(90deg, #d7142f, #ff6a3d 50%, #f6b51e);
  --bs-primary: #d7142f;
  --bs-primary-rgb: 215, 20, 47;
  --bs-link-color: #d7142f;
  --bs-link-hover-color: #a80f26;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: #121a2e;
  --bs-body-bg: #ffffff;
  --iq-heading-font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}
[data-bs-theme="dark"] {
  --iq-red: #ff4d6a;
  --iq-red-dark: #e63d5a;
  --iq-red-soft: rgba(255, 77, 106, .14);
  --iq-coral: #ff7a52;
  --iq-navy: #070b1a;
  --iq-navy-2: #10173a;
  --iq-indigo: #818cf8;
  --iq-indigo-soft: rgba(129, 140, 248, .16);
  --iq-teal: #2dd4bf;
  --iq-teal-soft: rgba(45, 212, 191, .14);
  --iq-ink: #e8ebf5;
  --iq-muted: #98a2bd;
  --iq-line: #1f2847;
  --iq-bg: #0c1228;
  --iq-bg-2: #111936;
  --iq-card: #121a37;
  --iq-glass: rgba(12, 18, 40, .7);
  --iq-glass-border: rgba(255, 255, 255, .08);
  --iq-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
  --iq-shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);
  --iq-glow: 0 12px 32px -10px rgba(255, 77, 106, .5);
  --iq-grad-text: linear-gradient(90deg, #ff4d6a, #ff8a5c 50%, #ffd166);
  --bs-primary: #ff4d6a;
  --bs-primary-rgb: 255, 77, 106;
  --bs-link-color: #ff7a90;
  --bs-link-hover-color: #ffa0b0;
  --bs-body-color: #e8ebf5;
  --bs-body-bg: #080d1f;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--iq-header-h) + 16px); }
body { font-family: var(--bs-body-font-family); color: var(--iq-ink); background: var(--bs-body-bg); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: var(--iq-heading-font); line-height: 1.18; color: var(--iq-navy); font-weight: 700; letter-spacing: -.02em; }
[data-bs-theme="dark"] h1, [data-bs-theme="dark"] h2, [data-bs-theme="dark"] h3, [data-bs-theme="dark"] h4 { color: #fff; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--iq-gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--iq-red); color: #fff; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--iq-navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { top: 12px; color: #fff; }
.text-muted, .muted { color: var(--iq-muted) !important; }
.grad-text { background: var(--iq-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--iq-red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.section-head .eyebrow::before { display: none; }
.section-head .eyebrow { padding: 6px 14px; border-radius: 999px; background: var(--iq-red-soft); }
.section { padding: clamp(60px, 8vw, 110px) 0; position: relative; }
.section-alt { background: var(--iq-bg); }
.section-dark { background: var(--iq-navy); color: #c9d0e6; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 0%, rgba(215, 20, 47, .22), transparent 60%), radial-gradient(50% 50% at 90% 100%, rgba(79, 70, 229, .3), transparent 60%); pointer-events: none; }
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--iq-gold); background: rgba(246, 181, 30, .12); }
.section-dark .text-muted, .section-dark .muted { color: #aeb7d2 !important; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--iq-muted); font-size: 1.08rem; margin: 0; }
.section-head h2 { margin-bottom: 14px; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .eyebrow { padding: 0; background: none; }
.section-head.left .eyebrow::before { display: inline-block; }

/* ---------- buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: 12px 26px; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; letter-spacing: .01em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary, .btn-brand { background: var(--iq-grad); border: 0; color: #fff; box-shadow: var(--iq-glow); position: relative; overflow: hidden; }
.btn-primary::after, .btn-brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
.btn-primary:hover::after, .btn-brand:hover::after { transform: translateX(120%); }
.btn-primary:hover, .btn-brand:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:first-child:active { background: var(--iq-grad); color: #fff; box-shadow: 0 16px 36px -10px rgba(215, 20, 47, .6); border: 0; }
.btn-outline-brand { border: 1.5px solid var(--iq-line); color: var(--iq-navy); background: var(--iq-card); }
[data-bs-theme="dark"] .btn-outline-brand { color: #fff; }
.btn-outline-brand:hover { border-color: var(--iq-red); color: var(--iq-red); background: var(--iq-red-soft); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; color: var(--iq-navy); border-color: #fff; }
.btn-whatsapp { background: #22c55e; border: 0; color: #fff; box-shadow: 0 12px 28px -10px rgba(34, 197, 94, .6); }
.btn-whatsapp:hover { background: #16a34a; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--iq-red); }
.link-arrow i { transition: transform .2s; font-size: .85em; }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--iq-navy); color: #b9c1d9; font-size: .82rem; position: relative; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent); }
.topbar a { color: #c9d0e6; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--iq-gold); margin-right: 6px; }
.topbar .pulse { display: inline-flex; align-items: center; gap: 8px; }
.topbar .pulse::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: live-pulse 1.8s infinite; }
#app-header { display: contents; } /* the wrapper must not create a box, or the sticky header would only stick inside it */
.site-header { position: sticky; top: 0; z-index: 1020; background: var(--iq-glass); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--iq-line); transition: box-shadow .3s, background .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -14px rgba(11, 18, 48, .25); background: rgba(255, 255, 255, .88); }
[data-bs-theme="dark"] .site-header.scrolled { background: rgba(8, 13, 31, .9); }
.site-header .navbar { min-height: var(--iq-header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--iq-navy); text-decoration: none; }
[data-bs-theme="dark"] .brand { color: #fff; }
.brand img { width: 50px; height: 50px; border-radius: 14px; background: #fff; padding: 3px; box-shadow: 0 6px 16px -6px rgba(11, 18, 48, .3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--iq-heading-font); font-size: 1.22rem; letter-spacing: -.01em; white-space: nowrap; font-weight: 800; }
.brand-text strong span { color: var(--iq-red); }
.brand-text small { font-size: .66rem; color: var(--iq-muted); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; margin-top: 3px; font-weight: 600; }
.navbar .nav-link { color: var(--iq-ink); font-weight: 600; font-size: .9rem; padding: 10px 14px; white-space: nowrap; border-radius: 999px; transition: background .2s, color .2s; position: relative; }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .nav-item.active > .nav-link { color: var(--iq-red); background: var(--iq-red-soft); }
.navbar .nav-link.dropdown-toggle::after { border: 0; content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .6rem; vertical-align: 1px; margin-left: 6px; transition: transform .2s; }
.navbar .dropdown.show > .nav-link.dropdown-toggle::after { transform: rotate(180deg); }
.navbar .dropdown-menu { border-radius: 18px; box-shadow: var(--iq-shadow-lg); border: 1px solid var(--iq-line); padding: 10px; min-width: 270px; background: var(--iq-card); margin-top: 8px !important; animation: menu-in .22s ease; }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.navbar .dropdown-item { border-radius: 10px; padding: 10px 12px 10px 14px; font-size: .9rem; font-weight: 500; color: var(--iq-ink); display: flex; align-items: center; gap: 10px; transition: background .15s, color .15s, padding-left .15s; }
.navbar .dropdown-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--iq-line); flex: none; transition: background .15s, transform .15s; }
.navbar .dropdown-item:hover { background: var(--iq-red-soft); color: var(--iq-red); padding-left: 18px; }
.navbar .dropdown-item:hover::before { background: var(--iq-red); transform: scale(1.3); }
.navbar .dropdown-divider { margin: 8px 4px; border-color: var(--iq-line); opacity: 1; }
.navbar .dropdown-item.all { color: var(--iq-red); font-weight: 700; }
.navbar .dropdown-item.all::before { display: none; }
.navbar .dropdown-item.all::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; margin-left: auto; }
.theme-toggle { border: 1px solid var(--iq-line); background: var(--iq-card); color: var(--iq-ink); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: transform .3s, background .2s, color .2s; }
.theme-toggle:hover { transform: rotate(25deg); color: var(--iq-red); border-color: var(--iq-red); }
.navbar-toggler { border: 1px solid var(--iq-line); border-radius: 12px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--iq-ink); padding: 0; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(246, 181, 30, .4); }
.site-header .btn-apply { padding: 9px 18px; font-size: .86rem; white-space: nowrap; flex: none; }
.site-header .brand, .site-header .brand-text { flex: none; }
@media (min-width: 1200px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; }
  .navbar .dropdown > .dropdown-menu { margin-top: 0 !important; }
  .navbar .dropdown::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; bottom: -14px; }
  .navbar-nav { background: var(--iq-bg); border: 1px solid var(--iq-line); border-radius: 999px; padding: 5px; gap: 2px; }
  [data-bs-theme="dark"] .navbar-nav { background: rgba(255, 255, 255, .04); }
}
/* 1200–1499px laptops: tighten the links so brand, menu and buttons stay on one row instead of overflowing the page. */
@media (min-width: 1200px) and (max-width: 1499.98px) {
  .site-header .navbar.container { max-width: 1320px; }
  .navbar .nav-link { font-size: .84rem; padding: 9px 10px; }
  .navbar .brand { margin-right: .5rem !important; }
  .brand-text small { display: none; }
}
@media (min-width: 1200px) and (max-width: 1299.98px) {
  .navbar .nav-link { font-size: .78rem; padding: 9px 7px; }
  .navbar-nav { padding: 4px; }
  .theme-toggle { width: 38px; height: 38px; }
  .site-header .btn-apply { padding: .35rem .7rem; font-size: .8rem; }
}
@media (max-width: 1199.98px) {
  .topbar { display: none; }
  .navbar-collapse { padding: 10px 0 18px; }
  .navbar .nav-link { border-radius: 12px; padding: 12px 14px; font-size: 1rem; }
  .navbar .dropdown-menu { box-shadow: none; border: 0; padding: 4px 0 8px 10px; margin: 0 !important; background: transparent; animation: none; }
}

/* ---------- hero slider ---------- */
.hero { position: relative; background: var(--iq-navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero .carousel-item { min-height: clamp(560px, 82vh, 760px); display: flex; align-items: center; }
.hero .slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: hero-zoom 12s ease-in-out infinite alternate; }
@keyframes hero-zoom { to { transform: scale(1.12); } }
.hero .carousel-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 11, 28, .94) 0%, rgba(7, 11, 28, .78) 45%, rgba(7, 11, 28, .25) 100%); }
.hero .carousel-item.no-image { background: radial-gradient(60% 80% at 80% 20%, #3a2a8f 0%, transparent 60%), radial-gradient(50% 60% at 10% 90%, #7a0f24 0%, transparent 60%), var(--iq-navy); }
.hero .carousel-item.no-image::after { background: none; }
.hero .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 1; pointer-events: none; animation: orb-float 14s ease-in-out infinite alternate; }
.hero .orb-1 { width: 420px; height: 420px; right: 8%; top: -10%; background: #7c3aed; }
.hero .orb-2 { width: 360px; height: 360px; right: 28%; bottom: -20%; background: #d7142f; animation-delay: -5s; }
.hero .orb-3 { width: 260px; height: 260px; right: 2%; bottom: 10%; background: #0ea5a4; animation-delay: -9s; }
@keyframes orb-float { to { transform: translate(-40px, 30px) scale(1.1); } }
.hero .hero-grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(70% 70% at 70% 50%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(70% 70% at 70% 50%, #000 20%, transparent 100%); pointer-events: none; }
.hero .slide-icon { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); font-size: clamp(8rem, 20vw, 17rem); color: rgba(255, 255, 255, .06); z-index: 1; }
.hero .slide-icon-badge { width: 72px; height: 72px; border-radius: 22px; background: var(--iq-grad); display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 22px; box-shadow: var(--iq-glow); }
.hero .slide-content { position: relative; z-index: 2; max-width: 720px; padding: 70px 0 150px; }
.hero .slide-content h1, .hero .slide-content h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 18px; font-weight: 800; letter-spacing: -.03em; }
.hero .slide-content p { font-size: clamp(1rem, 1.6vw, 1.22rem); color: #c9d0e6; margin-bottom: 30px; max-width: 600px; }
.hero .eyebrow { color: #ffd166; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 6px 14px 6px 8px; border-radius: 999px; backdrop-filter: blur(8px); }
.hero .eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: #ffd166; opacity: 1; box-shadow: 0 0 0 4px rgba(255, 209, 102, .25); }
.hero .carousel-indicators { bottom: 112px; margin-bottom: 0; }
.hero .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .4); border: 0; transition: width .3s, background .3s; margin: 0 4px; }
.hero .carousel-indicators .active { width: 34px; background: var(--iq-gold); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; opacity: .6; }
.hero .carousel-control-prev-icon, .hero .carousel-control-next-icon { width: 44px; height: 44px; border-radius: 50%; background-color: rgba(255, 255, 255, .12); background-size: 45%; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.hero .slide-content .d-flex .btn { padding: 14px 28px; }

/* Pillar strip floating over the hero bottom */
.pillar-strip { position: relative; z-index: 5; margin-top: -92px; }
.pillar-strip.no-hero { margin-top: 48px; }
.pillar-strip + .ticker { margin-top: 48px; }
.pillar-strip .grid { gap: 18px; }
.pillar { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 22px; background: var(--iq-glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--iq-glass-border); box-shadow: var(--iq-shadow-lg); color: var(--iq-ink); text-decoration: none; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--p-grad); }
.pillar:hover { transform: translateY(-6px); color: var(--iq-ink); box-shadow: 0 36px 60px -24px rgba(11, 18, 48, .4); }
.pillar .icon-circle { width: 58px; height: 58px; border-radius: 18px; background: var(--p-grad); color: #fff; font-size: 1.4rem; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .35); }
.pillar strong { display: block; font-family: var(--iq-heading-font); font-size: 1.05rem; color: var(--iq-navy); letter-spacing: -.01em; }
[data-bs-theme="dark"] .pillar strong { color: #fff; }
.pillar span { font-size: .84rem; color: var(--iq-muted); display: block; }
.pillar .fa-arrow-right { margin-left: auto; color: var(--iq-muted); transition: transform .25s, color .25s; }
.pillar:hover .fa-arrow-right { transform: translateX(5px); color: var(--iq-red); }
.pillar-it { --p-grad: var(--iq-grad); }
.pillar-academic { --p-grad: var(--iq-grad-indigo); }
.pillar-software { --p-grad: var(--iq-grad-teal); }

/* Marquee ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--iq-line); border-bottom: 1px solid var(--iq-line); background: var(--iq-bg); padding: 14px 0; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--iq-bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--iq-bg), transparent); }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--iq-card); border: 1px solid var(--iq-line); font-size: .86rem; font-weight: 600; color: var(--iq-ink); text-decoration: none; white-space: nowrap; transition: border-color .2s, color .2s; }
.ticker-item i { color: var(--iq-red); }
.ticker-item:hover { border-color: var(--iq-red); color: var(--iq-red); }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; } .hero .slide-bg, .hero .orb { animation: none; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--iq-navy); color: #c9d0e6; padding: 64px 0 60px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 85% 20%, rgba(124, 58, 237, .45), transparent 65%), radial-gradient(40% 60% at 10% 100%, rgba(215, 20, 47, .4), transparent 65%); z-index: -1; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(60% 80% at 80% 50%, #000 10%, transparent 100%); -webkit-mask-image: radial-gradient(60% 80% at 80% 50%, #000 10%, transparent 100%); z-index: -1; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { max-width: 720px; font-size: 1.1rem; margin: 0; color: #c9d0e6; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #ffd166; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); padding: 6px 14px 6px 8px; border-radius: 999px; }
.page-hero .eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: #ffd166; opacity: 1; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero .breadcrumb { margin-bottom: 18px; font-size: .84rem; --bs-breadcrumb-divider-color: #6f7a9c; --bs-breadcrumb-divider: "/"; }
.page-hero .breadcrumb a { color: #aeb7d2; text-decoration: none; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .active { color: #ffd166; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.iq-card { background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: var(--iq-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; position: relative; }
.iq-card:hover { transform: translateY(-8px); box-shadow: var(--iq-shadow-lg); border-color: transparent; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--iq-bg); position: relative; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.iq-card:hover .card-img img { transform: scale(1.08); }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 48, .35)); opacity: 0; transition: opacity .3s; }
.iq-card:hover .card-img::after { opacity: 1; }
.card-img-icon { display: grid; place-items: center; font-size: 3.2rem; color: var(--iq-red); background: radial-gradient(70% 80% at 30% 20%, var(--iq-red-soft), transparent 70%), radial-gradient(60% 70% at 90% 100%, var(--iq-indigo-soft), transparent 70%), var(--iq-bg); }
.card-img-icon i { filter: drop-shadow(0 10px 18px rgba(215, 20, 47, .3)); transition: transform .4s; }
.iq-card:hover .card-img-icon i { transform: scale(1.12) rotate(-4deg); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.12rem; }
.card-body h3 a { color: var(--iq-navy); text-decoration: none; }
[data-bs-theme="dark"] .card-body h3 a { color: #fff; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card-body h3 a:hover { color: var(--iq-red); }
.card-body p { color: var(--iq-muted); margin: 0; font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: auto; padding-top: 12px; font-size: .82rem; color: var(--iq-muted); border-top: 1px dashed var(--iq-line); }
.card-meta i { color: var(--iq-red); margin-right: 4px; }
.iq-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--iq-red-soft); color: var(--iq-red); font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.iq-badge-navy { background: var(--iq-indigo-soft); color: var(--iq-indigo); }
.iq-badge-gold { background: #fff3cf; color: #8a5a00; }
[data-bs-theme="dark"] .iq-badge-gold { background: rgba(246, 181, 30, .18); color: #ffd166; }
.icon-circle { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.4rem; background: var(--iq-red-soft); color: var(--iq-red); flex-shrink: 0; transition: transform .3s, box-shadow .3s; }
.feature-card { background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: var(--iq-radius); padding: 30px; transition: transform .3s, box-shadow .3s, border-color .3s; height: 100%; color: inherit; text-decoration: none; display: block; position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; width: 160px; height: 160px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(var(--iq-red-soft), transparent 70%); opacity: 0; transition: opacity .3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--iq-shadow-lg); color: inherit; border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover .icon-circle { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 12px 24px -10px rgba(215, 20, 47, .5); background: var(--iq-grad); color: #fff; }
.feature-card h3 { margin: 18px 0 8px; font-size: 1.1rem; }
.feature-card p { color: var(--iq-muted); margin: 0; font-size: .95rem; }
.section-dark .feature-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); backdrop-filter: blur(10px); }
.section-dark .feature-card .icon-circle { background: rgba(246, 181, 30, .14); color: var(--iq-gold); }
.section-dark .feature-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); }
.section-dark .feature-card p { color: #aeb7d2; }

/* Divisions: bento layout */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.bento > * { grid-column: span 4; }
.bento .division-card.division-it { grid-column: span 12; min-height: 320px; flex-direction: row; align-items: flex-end; }
.bento .division-card.division-it .division-copy { max-width: 560px; }
.bento .division-card.division-academic, .bento .division-card.division-software { grid-column: span 6; }
@media (max-width: 991.98px) { .bento .division-card.division-academic, .bento .division-card.division-software { grid-column: span 12; } .bento .division-card.division-it { flex-direction: column; align-items: stretch; } }
.division-card { position: relative; border-radius: 26px; padding: 36px 32px; color: #fff; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 300px; transition: transform .3s, box-shadow .3s; text-decoration: none; isolation: isolate; }
.division-card:hover { transform: translateY(-8px); box-shadow: var(--iq-shadow-lg); color: #fff; }
.division-card h3 { color: #fff; font-size: 1.6rem; margin: 10px 0 0; letter-spacing: -.02em; }
.division-card p { color: rgba(255, 255, 255, .82); margin: 0; font-size: 1rem; }
.division-card .icon-circle { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); width: 62px; height: 62px; }
.division-card .link-arrow { margin-top: auto; color: #fff; padding-top: 14px; }
.division-card .division-copy { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.division-card .big-icon { position: absolute; right: -20px; bottom: -30px; font-size: 13rem; color: rgba(255, 255, 255, .1); transform: rotate(-12deg); transition: transform .5s; z-index: -1; }
.division-card:hover .big-icon { transform: rotate(-4deg) scale(1.08); }
.division-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 90% 10%, rgba(255, 255, 255, .18), transparent 60%); z-index: -1; }
.division-card .division-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.division-card .division-tags span { font-size: .78rem; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); }
.division-it { background: linear-gradient(135deg, #b3101f 0%, #e01c3a 55%, #ff6a3d 100%); }
.division-academic { background: linear-gradient(135deg, #312e81 0%, #4f46e5 60%, #7c3aed 100%); }
.division-software { background: linear-gradient(135deg, #0b4f6c 0%, #0ea5a4 60%, #22d3ee 100%); }

/* Split / about */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.split-img { position: relative; }
.split-img img { border-radius: 28px; box-shadow: var(--iq-shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; position: relative; z-index: 1; }
.split-img::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 28px; background: var(--iq-grad); opacity: .14; z-index: 0; }
.split-img::after { content: ""; position: absolute; width: 120px; height: 120px; right: -30px; top: -30px; background: radial-gradient(circle, var(--iq-red) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .35; z-index: 0; }
.split-img .floating-card { position: absolute; left: -28px; bottom: -28px; background: var(--iq-card); border-radius: 20px; padding: 18px 22px; box-shadow: var(--iq-shadow-lg); display: flex; gap: 14px; align-items: center; z-index: 2; border: 1px solid var(--iq-line); }
.floating-card strong { font-family: var(--iq-heading-font); font-size: 1.7rem; color: var(--iq-red); display: block; line-height: 1; font-weight: 800; }
.floating-card span { font-size: .85rem; color: var(--iq-muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 500; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 8px; background: var(--iq-grad); color: #fff; font-size: .65rem; display: grid; place-items: center; box-shadow: 0 6px 12px -6px rgba(215, 20, 47, .6); }
.check-list.two-col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-img .floating-card { left: 12px; bottom: -20px; }
  .split-img::before { inset: 16px -12px -12px 16px; }
}

/* Stats band */
.stats { background: transparent; color: #fff; padding: 0; position: relative; }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; text-align: center; background: linear-gradient(120deg, #d7142f 0%, #ff6a3d 100%); border-radius: 28px; padding: 36px 24px; transform: translateY(0); box-shadow: 0 30px 60px -30px rgba(215, 20, 47, .6); position: relative; overflow: hidden; }
.stats .container::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1.5px); background-size: 22px 22px; opacity: .35; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); }
.stats-wrap { background: var(--bs-body-bg); padding: 0 0 10px; }
.stat { position: relative; padding: 10px 14px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(255, 255, 255, .25); }
.stat strong { display: block; font-family: var(--iq-heading-font); font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: .88rem; opacity: .92; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 767.98px) { .stat + .stat::before { display: none; } }

/* Academic tiles */
.class-tile { display: flex; gap: 18px; align-items: flex-start; background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: var(--iq-radius); padding: 24px; transition: transform .3s, box-shadow .3s, border-color .3s; color: var(--iq-ink); height: 100%; text-decoration: none; position: relative; overflow: hidden; }
.class-tile::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 20px; top: 22px; color: var(--iq-indigo); opacity: 0; transform: translateX(-8px); transition: all .3s; font-size: .85rem; }
.class-tile:hover { transform: translateY(-6px); box-shadow: var(--iq-shadow-lg); color: var(--iq-ink); border-color: transparent; }
.class-tile:hover::after { opacity: 1; transform: none; }
.class-tile h3 { margin: 0 0 4px; font-size: 1.08rem; }
.class-tile p { margin: 0; color: var(--iq-muted); font-size: .9rem; }
.class-tile .icon-circle { background: var(--iq-indigo-soft); color: var(--iq-indigo); }
.class-tile:hover .icon-circle { background: var(--iq-grad-indigo); color: #fff; transform: rotate(-6deg); box-shadow: 0 12px 24px -10px rgba(79, 70, 229, .6); }
.class-tile .fee { margin-top: 8px; color: var(--iq-indigo); font-weight: 700; font-size: .85rem; }
.class-tile .fee::before { content: "\f3d1"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 6px; font-size: .75rem; }

/* Software cards */
.software-card { background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, box-shadow .3s, border-color .3s; height: 100%; position: relative; overflow: hidden; }
.software-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--iq-grad-teal); opacity: 0; transition: opacity .3s; }
.software-card:hover { transform: translateY(-8px); box-shadow: var(--iq-shadow-lg); border-color: transparent; }
.software-card:hover::before { opacity: 1; }
.software-card h3 { margin: 0; font-size: 1.25rem; }
.software-card h3 a { color: var(--iq-navy); text-decoration: none; }
[data-bs-theme="dark"] .software-card h3 a { color: #fff; }
.software-card h3 a::after { content: ""; position: absolute; inset: 0; }
.software-card .icon-circle { background: var(--iq-grad-teal); color: #fff; box-shadow: 0 12px 24px -10px rgba(14, 165, 164, .6); }
.software-card:hover .icon-circle { transform: rotate(-6deg) scale(1.05); }
.software-card .card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.software-card .btn-live-demo { position: relative; z-index: 2; }
.software-card .link-arrow { color: var(--iq-teal); }

/* Live demo button (software link set in admin) */
.btn-live-demo { background: #16a34a; border: 0; color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 12px 28px -10px rgba(22, 163, 74, .6); }
.btn-live-demo:hover, .btn-live-demo:focus-visible { background: #15803d; color: #fff; }
.btn-live-demo .fa-arrow-up-right-from-square { font-size: .8em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #bbf7d0; box-shadow: 0 0 0 0 rgba(187, 247, 208, .8); animation: live-pulse 1.8s infinite; flex: none; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px rgba(187, 247, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(187, 247, 208, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot, .topbar .pulse::before { animation: none; } }
.live-demo-note { margin: 12px 0 0; font-size: .9rem; color: var(--iq-muted); }
.live-demo-note i { color: #16a34a; }
.live-demo-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 20px; margin: 18px 0; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 18px; }
.live-demo-box strong { display: block; color: #14532d; }
.live-demo-box span { font-size: .9rem; color: #3f6212; }
[data-bs-theme="dark"] .live-demo-box { background: rgba(22, 163, 74, .14); border-color: rgba(187, 247, 208, .25); }
[data-bs-theme="dark"] .live-demo-box strong, [data-bs-theme="dark"] .live-demo-box span { color: #dcfce7; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 0; }
.tag-list li { font-size: .78rem; padding: 5px 11px; border-radius: 999px; background: var(--iq-bg); color: var(--iq-muted); border: 1px solid var(--iq-line); font-weight: 500; }
.tag-list.lg li { font-size: .95rem; padding: 9px 18px; background: var(--iq-card); color: var(--iq-ink); transition: all .2s; }
.tag-list.lg li:hover { border-color: var(--iq-indigo); color: var(--iq-indigo); transform: translateY(-2px); }

.showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 26px; }
.screenshot { margin: 0; border-radius: 20px; overflow: hidden; background: var(--iq-card); border: 1px solid var(--iq-line); box-shadow: var(--iq-shadow); transition: transform .3s, box-shadow .3s; }
.screenshot:hover { transform: translateY(-6px); box-shadow: var(--iq-shadow-lg); }
.screenshot a { display: block; position: relative; }
.screenshot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; }
.screenshot figcaption { padding: 14px 18px; font-size: .9rem; color: var(--iq-muted); border-top: 1px solid var(--iq-line); }
.screenshot figcaption strong { color: var(--iq-navy); }
[data-bs-theme="dark"] .screenshot figcaption strong { color: #fff; }
.browser-frame { border-radius: 20px; overflow: hidden; box-shadow: var(--iq-shadow-lg); border: 1px solid var(--iq-line); background: var(--iq-card); }
.browser-frame-bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--iq-bg-2); align-items: center; }
.browser-frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd5e3; }
.browser-frame-bar span:first-child { background: #ff5f57; }
.browser-frame-bar span:nth-child(2) { background: #febc2e; }
.browser-frame-bar span:nth-child(3) { background: #28c840; }
.browser-frame-bar::after { content: ""; flex: 1; height: 18px; margin-left: 12px; border-radius: 6px; background: var(--iq-card); border: 1px solid var(--iq-line); }
.browser-frame img { width: 100%; display: block; }
.browser-frame .placeholder-art { aspect-ratio: 16/10; display: grid; place-items: center; background: radial-gradient(60% 70% at 30% 20%, var(--iq-teal-soft), transparent 70%), radial-gradient(60% 70% at 90% 100%, var(--iq-indigo-soft), transparent 70%), var(--iq-bg); text-align: center; padding: 24px; }

/* testimonials */
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 390px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 26px; scrollbar-width: none; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial { scroll-snap-align: start; background: var(--iq-card); border-radius: var(--iq-radius); padding: 30px; border: 1px solid var(--iq-line); display: flex; flex-direction: column; gap: 16px; margin: 0; position: relative; transition: transform .3s, box-shadow .3s; }
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--iq-shadow); }
.section-dark .testimonial { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: #d7dcea; backdrop-filter: blur(10px); }
.testimonial blockquote { margin: 0; font-size: 1.02rem; line-height: 1.7; }
.testimonial blockquote::before { content: "\201C"; font-family: Georgia, serif; font-size: 4rem; line-height: .5; color: var(--iq-red); display: block; margin-bottom: 14px; opacity: .8; }
.section-dark .testimonial blockquote::before { color: var(--iq-gold); }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--iq-line); }
.section-dark .testimonial figcaption { border-color: rgba(255, 255, 255, .12); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--iq-grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--iq-heading-font); overflow: hidden; flex-shrink: 0; box-shadow: 0 8px 16px -8px rgba(215, 20, 47, .6); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial strong { display: block; }
.section-dark .testimonial strong { color: #fff; }
.testimonial small { color: var(--iq-muted); }
.stars { color: var(--iq-gold); font-size: .85rem; letter-spacing: 2px; }
.track-controls { display: flex; gap: 10px; justify-content: center; }
.track-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--iq-line); background: var(--iq-card); color: var(--iq-navy); cursor: pointer; transition: all .2s; }
.track-btn:hover { background: var(--iq-red); color: #fff; border-color: var(--iq-red); transform: translateY(-2px); }
[data-bs-theme="dark"] .track-btn { color: #fff; }
.section-dark .track-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; }

/* faculty */
.faculty-card { text-align: center; background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: var(--iq-radius); padding: 30px 22px 26px; transition: transform .3s, box-shadow .3s, border-color .3s; height: 100%; position: relative; overflow: hidden; }
.faculty-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: radial-gradient(70% 100% at 50% 0%, var(--iq-red-soft), transparent 80%); }
.faculty-card:hover { transform: translateY(-6px); box-shadow: var(--iq-shadow-lg); border-color: transparent; }
.faculty-photo { width: 118px; height: 118px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; border: 4px solid var(--iq-card); box-shadow: 0 0 0 2px var(--iq-red), 0 14px 30px -12px rgba(11, 18, 48, .4); display: block; position: relative; transition: transform .3s; }
.faculty-card:hover .faculty-photo { transform: scale(1.05); }
.faculty-photo.placeholder { display: grid; place-items: center; font-size: 2.2rem; background: var(--iq-grad-indigo); color: #fff; font-family: var(--iq-heading-font); font-weight: 700; }
.faculty-card h3 { margin: 0 0 4px; font-size: 1.1rem; position: relative; }
.faculty-card h3 a { color: var(--iq-navy); text-decoration: none; }
[data-bs-theme="dark"] .faculty-card h3 a { color: #fff; }
.faculty-card h3 a::after { content: ""; position: absolute; inset: 0; }
.faculty-card p { margin: 0; color: var(--iq-muted); font-size: .9rem; position: relative; }

.news-date { font-size: .8rem; color: var(--iq-muted); display: inline-flex; align-items: center; gap: 6px; }
.empty { text-align: center; padding: 56px 24px; border: 2px dashed var(--iq-line); border-radius: var(--iq-radius); color: var(--iq-muted); background: var(--iq-card); }
.empty i { font-size: 2.2rem; color: #b3bacb; margin-bottom: 12px; display: block; }

/* ---------- accordion / modules ---------- */
.iq-accordion .accordion-item { background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: 16px !important; margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s; }
.iq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) { box-shadow: var(--iq-shadow); border-color: transparent; }
.iq-accordion .accordion-button { background: var(--iq-card); color: var(--iq-navy); font-weight: 600; padding: 18px 22px; gap: 14px; box-shadow: none; font-family: var(--iq-heading-font); }
[data-bs-theme="dark"] .iq-accordion .accordion-button { color: #fff; }
.iq-accordion .accordion-button:not(.collapsed) { background: var(--iq-card); color: var(--iq-red); }
.iq-accordion .accordion-button::after { background-image: none; content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; width: 30px; height: 30px; border-radius: 50%; background: var(--iq-bg); display: grid; place-items: center; font-size: .8rem; color: var(--iq-navy); transition: transform .3s, background .3s, color .3s; }
[data-bs-theme="dark"] .iq-accordion .accordion-button::after { color: #fff; }
.iq-accordion .accordion-button:not(.collapsed)::after { content: "\f068"; transform: rotate(180deg); background: var(--iq-grad); color: #fff; }
.iq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(246, 181, 30, .4); }
.iq-accordion .accordion-body { color: var(--iq-muted); padding: 0 22px 22px; }
.module-static { display: flex; gap: 14px; align-items: center; padding: 16px 22px; background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: 16px; font-weight: 600; color: var(--iq-navy); margin-bottom: 12px; font-family: var(--iq-heading-font); }
[data-bs-theme="dark"] .module-static { color: #fff; }
.module-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--iq-red-soft); color: var(--iq-red); display: grid; place-items: center; font-size: .85rem; font-weight: 800; font-family: var(--iq-heading-font); }
.accordion-button:not(.collapsed) .module-num { background: var(--iq-grad); color: #fff; }
.module-title small { display: block; font-weight: 500; color: var(--iq-muted); font-size: .82rem; font-family: var(--bs-body-font-family); }
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.topic-list li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; background: var(--iq-bg); border-radius: 10px; font-size: .92rem; color: var(--iq-ink); }
.topic-list li i { color: var(--iq-red); margin-top: 5px; font-size: .75rem; }

/* ---------- detail page layout ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 44px; align-items: start; }
.detail-main > section { margin-bottom: 52px; }
.detail-main h2 { font-size: 1.55rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.detail-main h2 i { color: var(--iq-red); font-size: 1rem; width: 38px; height: 38px; border-radius: 12px; background: var(--iq-red-soft); display: grid; place-items: center; flex: none; }
.sidebar { position: sticky; top: calc(var(--iq-header-h) + 20px); display: grid; gap: 20px; }
.side-card { background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: var(--iq-radius); padding: 26px; box-shadow: var(--iq-shadow); }
.side-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.fact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.fact-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--iq-line); font-size: .93rem; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list i { color: var(--iq-red); width: 18px; margin-top: 4px; text-align: center; }
.fact-list strong { display: block; font-size: .74rem; color: var(--iq-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.side-actions { display: grid; gap: 10px; }
.tabs-nav { position: sticky; top: var(--iq-header-h); z-index: 50; background: var(--iq-glass); backdrop-filter: blur(14px); border-bottom: 1px solid var(--iq-line); }
.tabs-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.tabs-nav a { display: block; padding: 15px 16px; color: var(--iq-muted); font-weight: 600; font-size: .9rem; white-space: nowrap; border-bottom: 3px solid transparent; text-decoration: none; transition: color .2s, border-color .2s; }
.tabs-nav a:hover { color: var(--iq-red); border-color: var(--iq-red); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.info-box { background: var(--iq-bg); border-radius: 18px; padding: 24px; border: 1px solid transparent; transition: border-color .2s; }
.info-box:hover { border-color: var(--iq-line); }
.info-box h3 { font-size: 1rem; display: flex; gap: 10px; align-items: center; }
.info-box h3 i { color: var(--iq-red); }
.info-box ul { margin: 0; padding-left: 1.1em; color: var(--iq-muted); }
.info-box .big { font-size: 1.35rem; font-weight: 800; color: var(--iq-navy); margin: 0; font-family: var(--iq-heading-font); }
[data-bs-theme="dark"] .info-box .big { color: #fff; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #fff8e6; color: #6b5300; font-size: .92rem; border: 1px solid #f6e3a6; }
[data-bs-theme="dark"] .notice { background: rgba(246, 181, 30, .12); color: #f6e3a6; border-color: rgba(246, 181, 30, .3); }
@media (max-width: 1000px) {
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--iq-line); border-radius: var(--iq-radius); background: var(--iq-card); }
.table-wrap .table { margin: 0; min-width: 640px; font-size: .93rem; }
.table-wrap .table th { background: var(--iq-navy); color: #fff; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 14px 16px; border: 0; }
.table-wrap .table td { padding: 14px 16px; vertical-align: top; border-color: var(--iq-line); }
.table-wrap .table tbody tr:hover td { background: var(--iq-bg); }
.session-label { font-family: var(--iq-heading-font); font-size: 1.15rem; margin: 30px 0 12px; display: flex; gap: 10px; align-items: center; }
.session-label i { color: var(--iq-gold); }
.filters { background: var(--iq-card); padding: 20px; border-radius: var(--iq-radius); margin-bottom: 26px; border: 1px solid var(--iq-line); box-shadow: var(--iq-shadow); }

/* ---------- forms ---------- */
.form-card { background: var(--iq-card); border-radius: 26px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--iq-shadow-lg); border: 1px solid var(--iq-line); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--iq-grad); }
.form-card h2, .form-card h3 { margin-bottom: 6px; font-size: 1.5rem; }
.form-label { font-weight: 600; font-size: .86rem; color: var(--iq-navy); }
[data-bs-theme="dark"] .form-label { color: #e6e9f2; }
.form-label .req { color: var(--iq-red); }
.form-control, .form-select { padding: 12px 15px; border-radius: 12px; border: 1.5px solid var(--iq-line); background: var(--iq-bg); color: var(--iq-ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form-control:focus, .form-select:focus { border-color: var(--iq-red); box-shadow: 0 0 0 4px rgba(215, 20, 47, .12); background: var(--iq-card); color: var(--iq-ink); }
.form-control::placeholder { color: #9aa3b8; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--iq-muted); margin-top: 14px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.category-pills label { cursor: pointer; margin: 0; }
.category-pills input { position: absolute; opacity: 0; pointer-events: none; }
.category-pills span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--iq-line); font-size: .85rem; font-weight: 600; transition: all .2s; background: var(--iq-bg); }
.category-pills span:hover { border-color: var(--iq-red); color: var(--iq-red); }
.category-pills input:checked + span { background: var(--iq-grad); border-color: transparent; color: #fff; box-shadow: var(--iq-glow); }
.category-pills input:focus-visible + span { outline: 3px solid var(--iq-gold); outline-offset: 2px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--iq-line); background: var(--iq-card); transition: transform .2s, box-shadow .2s; }
.contact-list li:hover { transform: translateX(4px); box-shadow: var(--iq-shadow); }
.contact-list strong { display: block; color: var(--iq-navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
[data-bs-theme="dark"] .contact-list strong { color: #fff; }
.contact-list a { text-decoration: none; font-weight: 600; }
.map-frame { width: 100%; height: 340px; border: 0; border-radius: var(--iq-radius); margin-top: 28px; box-shadow: var(--iq-shadow); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--iq-navy); color: #fff; border-radius: 30px; padding: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 100% 0%, rgba(124, 58, 237, .55), transparent 60%), radial-gradient(40% 70% at 0% 100%, rgba(215, 20, 47, .5), transparent 60%); z-index: -1; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.5px); background-size: 20px 20px; opacity: .4; mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); z-index: -1; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #c9d0e6; font-size: 1.05rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: #060a18; color: #a6afc8; padding-top: 80px; font-size: .93rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #d7142f, #ff6a3d, #f6b51e, #4f46e5, #0ea5a4); }
.site-footer::after { content: ""; position: absolute; width: 600px; height: 600px; left: -200px; bottom: -400px; border-radius: 50%; background: radial-gradient(rgba(79, 70, 229, .25), transparent 70%); pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 20px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a { color: #a6afc8; text-decoration: none; transition: color .2s, padding-left .2s; }
.site-footer ul:not(.footer-contact) a:hover { color: #fff; padding-left: 4px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand small { color: #7f8aab; }
.footer-brand p { max-width: 380px; line-height: 1.75; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s, border-color .2s; }
.social-links a:hover { background: var(--iq-grad); transform: translateY(-3px); border-color: transparent; padding-left: 0; }
.topbar .social-links { margin: 0; gap: 2px; }
.topbar .social-links a { width: 30px; height: 30px; background: transparent; font-size: .82rem; border: 0; }
.topbar .social-links a:hover { background: rgba(255, 255, 255, .1); transform: none; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--iq-gold); margin-top: 5px; width: 16px; text-align: center; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 56px; padding: 24px 0; font-size: .84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom .pillars { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.footer-bottom .pillars span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 800; display: grid; gap: 12px; }
.float-btn { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.6rem; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .35); transition: transform .2s; text-decoration: none; position: relative; }
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-whatsapp { background: #22c55e; }
.float-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22c55e; animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .float-whatsapp::before { animation: none; } }
.float-call { background: var(--iq-grad); font-size: 1.25rem; }
@media (min-width: 1200px) { .float-call { display: none; } }

.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip-nav a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--iq-line); color: var(--iq-ink); font-size: .88rem; font-weight: 600; background: var(--iq-card); text-decoration: none; transition: all .2s; }
.chip-nav a:hover { border-color: var(--iq-red); color: var(--iq-red); transform: translateY(-2px); }
.chip-nav a.active { background: var(--iq-grad); color: #fff; border-color: transparent; box-shadow: var(--iq-glow); }
.category-block { margin-bottom: 64px; }
.category-block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.category-block-head h2 { margin: 0; display: flex; gap: 14px; align-items: center; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.category-block-head h2 .icon-circle { width: 48px; height: 48px; font-size: 1.15rem; border-radius: 14px; background: var(--iq-grad); color: #fff; box-shadow: var(--iq-glow); }
.category-block-head p { margin: 4px 0 0; color: var(--iq-muted); }
.pagination .page-link { border-radius: 12px !important; margin: 0 3px; color: var(--iq-ink); border-color: var(--iq-line); background: var(--iq-card); min-width: 42px; text-align: center; }
.pagination .active .page-link { background: var(--iq-grad); border-color: transparent; color: #fff; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2), .bento > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3), .bento > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4) { transition-delay: .24s; }
.hero .slide-content > * { animation: slide-up .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero .slide-content > :nth-child(2) { animation-delay: .1s; }
.hero .slide-content > :nth-child(3) { animation-delay: .2s; }
.hero .slide-content > :nth-child(4) { animation-delay: .3s; }
.hero .slide-content > :nth-child(5) { animation-delay: .4s; }
@keyframes slide-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero .slide-content > * { animation: none; } html { scroll-behavior: auto; } }
.prose { max-width: 760px; }
.prose p { font-size: 1.04rem; line-height: 1.8; }
.thank-you { max-width: 640px; margin: 0 auto; text-align: center; }
.thank-you .icon-circle { width: 90px; height: 90px; font-size: 2.3rem; margin: 0 auto 22px; background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; border-radius: 50%; box-shadow: 0 20px 40px -14px rgba(22, 163, 74, .6); }
.loading { text-align: center; padding: 80px 20px; color: var(--iq-muted); }
.loading .spinner-border { color: var(--iq-red); }
.setup-banner { max-width: 760px; margin: 60px auto; padding: 32px; border-radius: 20px; background: #fff8e6; border: 1px solid #f6e3a6; color: #6b5300; }
.toast-container { z-index: 1090; }

/* Scrollbar (WebKit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--iq-bg); }
::-webkit-scrollbar-thumb { background: #c3c9d8; border-radius: 10px; border: 2px solid var(--iq-bg); }
::-webkit-scrollbar-thumb:hover { background: var(--iq-red); }
[data-bs-theme="dark"] ::-webkit-scrollbar-thumb { background: #2a3458; }
