/* ==========================================================================
   SR IT ZONE — GLOBAL STYLESHEET
   Learn. Build. Grow.
   Single global stylesheet for the entire site. Organized in sections:
   1. Font + Reset            6. Buttons & Badges
   2. Design Tokens (Theme)   7. Cards & 3D Tilt
   3. Base Typography         8. Sections (stats, process, faq, slider, blog)
   4. Layout Utilities        9. Forms, Toasts, Spinner
   5. Preloader/Cursor/FX     10. Navbar & Footer
                              11. Page-specific (404, legal) + Responsive
   ========================================================================== */

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

/* ---------- 1. RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.no-scroll,
body.no-scroll {
  overflow: hidden;
}

body {
  font-family: 'Noto Sans Bengali', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color .4s ease, color .4s ease;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

svg {
  display: block;
}

/* Safety net: any bare inline icon svg (viewBox 0 0 24 24, no explicit size)
   defaults to a sane 18px so it can never fall back to the browser's
   300x150 intrinsic SVG size and blow up buttons/icons site-wide.
   Wrapped in :where() so specific component rules further down this
   file (.footer-socials svg, .card-icon svg, etc.) always win ties. */
:where(a, button, .breadcrumb, .error-links) svg:not([width]) {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mobile-menu-close svg {
  width: 16px;
  height: 16px;
}

.nav-logout svg,
.nav-logout-mobile svg {
  width: 15px;
  height: 15px;
}

::selection {
  background: var(--accent-blue);
  color: #fff;
}

/* ---------- 2. DESIGN TOKENS (LIGHT ONLY — no dark mode) ---------- */
:root {
  /* Brand palette */
  --navy-900: #0B132B;
  --navy-800: #1C2541;
  --accent-blue: #3A86FF;
  --accent-cyan: #00A98F;
  --accent-purple: #7209B7;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --slate: #6C757D;
  --slate-100: #E9ECEF;

  /* Semantic tokens */
  --bg-body: var(--white);
  --bg-alt: var(--off-white);
  --bg-surface: #FFFFFF;
  --text-body: #1B1F2A;
  --text-muted: var(--slate);
  --text-heading: var(--navy-900);
  /* "on-dark" tokens are kept only as aliases so existing markup still
     resolves — but they now point at light-section values, since the
     site no longer uses dark section backgrounds anywhere. */
  --text-on-dark: var(--navy-900);
  --text-on-dark-muted: var(--slate);
  --border-soft: rgba(11, 19, 43, 0.08);
  --surface-elevated: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(11, 19, 43, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --shadow-sm: 0 2px 10px rgba(11, 19, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 19, 43, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 19, 43, 0.16);
  --glow-blue: 0 0 40px rgba(58, 134, 255, 0.25);
  --glow-cyan: 0 0 40px rgba(0, 169, 143, 0.20);

  --gradient-primary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  --gradient-glow: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
  /* "Deep" panel gradient — used for CTA banners / hero header strips.
     Kept the same variable name (--gradient-dark) so fewer selectors
     needed to change, but it is now a soft LIGHT blue tint, not black/navy. */
  --gradient-dark: linear-gradient(160deg, #EEF4FF 0%, #F7F9FC 55%, #FFFFFF 100%);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22, .68, 0, 1);
  --speed-fast: .25s;
  --speed-med: .45s;
  --speed-slow: .8s;

  --container-w: 1280px;
  --nav-h: 84px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 3. BASE TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

h4 {
  font-size: 1.125rem;
  font-weight: 700;
}

p {
  color: var(--text-body);
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-on-dark {
  color: var(--text-on-dark);
}

.text-on-dark .text-muted,
.text-on-dark p {
  color: var(--text-on-dark-muted);
}

.gradient-text {
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-blue);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ---------- 4. LAYOUT UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section {
  padding-block: clamp(64px, 9vw, 116px);
  position: relative;
}

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

.section.dark {
  background: var(--gradient-dark);
}

.section.tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.grid {
  display: grid;
  gap: 28px;
}

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

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

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

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stack {
  display: flex;
  flex-direction: column;
}

.gap-sm {
  gap: 12px;
}

.gap-md {
  gap: 20px;
}

.gap-lg {
  gap: 36px;
}

.mt-lg {
  margin-top: 40px;
}

.divider {
  height: 1px;
  background: var(--border-soft);
  width: 100%;
  border: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flip {
  transform: scaleX(-1);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] {
  transition-delay: .08s;
}

[data-reveal-delay="2"] {
  transition-delay: .16s;
}

[data-reveal-delay="3"] {
  transition-delay: .24s;
}

[data-reveal-delay="4"] {
  transition-delay: .32s;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--speed-fast);
}

.breadcrumb a:hover {
  color: var(--accent-blue);
}

.breadcrumb .sep {
  opacity: .5;
}

.breadcrumb .current {
  color: var(--text-heading);
  font-weight: 600;
}

/* ---------- 6. BUTTONS & BADGES ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease), background var(--speed-fast);
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(58, 134, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border: 1.5px solid var(--border-soft);
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-3px);
}

.btn-ghost-light {
  background: #fff;
  color: var(--text-heading);
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.btn-ghost-light:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: .6;
  pointer-events: none;
}

.btn .spin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
  display: none;
}

.btn.is-loading .spin {
  display: inline-block;
}

.btn.is-loading .btn-label {
  opacity: .7;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.badge-blue {
  background: rgba(58, 134, 255, 0.12);
  color: var(--accent-blue);
}

.badge-cyan {
  background: rgba(0, 169, 143, 0.12);
  color: #049e87;
}

.badge-purple {
  background: rgba(114, 9, 183, 0.10);
  color: var(--accent-purple);
}

.badge-glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

/* ---------- 5. PRELOADER / CURSOR / SCROLL FX / FLOATING WIDGETS ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  position: relative;
  width: 74px;
  height: 74px;
}

.loader-mark span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}

.loader-mark span:nth-child(1) {
  border-top-color: var(--accent-cyan);
  animation: spin 1.1s linear infinite;
}

.loader-mark span:nth-child(2) {
  inset: 12px;
  border-bottom-color: var(--accent-blue);
  animation: spin 1.5s linear infinite reverse;
}

.loader-mark span:nth-child(3) {
  inset: 24px;
  border-right-color: var(--accent-purple);
  animation: spin .9s linear infinite;
}

.loader-word {
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: .3em;
  font-size: .8rem;
  text-transform: uppercase;
  opacity: .85;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-glow);
  z-index: 9000;
  transition: width .1s linear;
}

.float-widgets {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.fw-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--speed-fast) var(--ease);
  opacity: 0;
  transform: translateY(16px) scale(.8);
  pointer-events: none;
}

.fw-btn.is-shown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.fw-btn:hover {
  transform: translateY(-4px) scale(1.06);
}

.fw-whatsapp {
  background: #25D366;
}

.fw-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.fw-top {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
}

.fw-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-blue);
}

.fw-whatsapp.is-shown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* whatsapp always visible once loaded */

/* ---------- 10a. NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--speed-med), box-shadow var(--speed-med), height var(--speed-med);
}

.navbar.is-glass {
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--border-soft), var(--shadow-sm);
  height: 72px;
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: auto;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.brand-mark img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.footer-brand .brand-mark {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-body);
  border-radius: var(--radius-pill);
  transition: color var(--speed-fast);
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.nav-links a.active {
  color: var(--accent-blue);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- AUTH UI (nav login/signup + logged-in state) ---------- */
.auth-user {
  display: none;
  align-items: center;
  gap: 10px;
}

body.is-logged-in .auth-guest {
  display: none !important;
}

body.is-logged-in .auth-user {
  display: flex !important;
}

.nav-user-name {
  font-weight: 700;
  font-size: .86rem;
  color: var(--text-heading);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-guest-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logout {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color .2s, border-color .2s;
}

.nav-logout:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.nav-logout svg {
  width: 15px;
  height: 15px;
}

.mobile-menu .auth-guest {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

body.is-logged-in .mobile-menu .auth-guest {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 6px 0;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(84vw, 360px);
  background: var(--bg-surface);
  z-index: 950;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--speed-med) var(--ease);
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  gap: 6px;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.mobile-menu-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu a {
  padding: 14px 6px;
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-body);
}

.mobile-menu a.active {
  color: var(--accent-blue);
}

.mobile-menu .btn {
  margin-top: 20px;
}

.mobile-menu .auth-user {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--border-soft);
}

.mobile-menu .auth-user.mobile-auth-user {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.mobile-menu .auth-user .nav-user-name {
  max-width: none;
  font-size: 1rem;
}

.mobile-menu .nav-logout-mobile {
  font-weight: 700;
  font-size: .86rem;
  color: var(--accent-blue);
}

.menu-scrim {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 23, 0.55);
  backdrop-filter: blur(2px);
  z-index: 940;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed-med);
}

.menu-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 100px;
  overflow: hidden;
  background: var(--bg-body);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .9;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy .badge {
  margin-bottom: 22px;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-copy .lede {
  margin-bottom: 34px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-cyan);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  height: 460px;
}

.mock-panel {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92%;
  max-width: 480px;
  height: 340px;
  top: 40px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--glow-blue);
  border: 1px solid var(--border-soft);
  transform-style: preserve-3d;
  transition: transform .12s var(--ease);
  overflow: hidden;
  padding: 22px;
}

.mock-panel .dots {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.mock-panel .dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--slate-100);
}

.mock-bar {
  height: 12px;
  border-radius: 6px;
  background: var(--bg-alt);
  margin-bottom: 10px;
}

.mock-bar.w-70 {
  width: 70%;
}

.mock-bar.w-40 {
  width: 40%;
}

.mock-bar.w-90 {
  width: 90%;
}

.mock-bar.w-55 {
  width: 55%;
}

.mock-bar.accent {
  background: var(--gradient-glow);
  height: 8px;
}

.mock-chip-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.mock-chip {
  flex: 1;
  height: 70px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.mock-chip i {
  display: block;
  width: 100%;
  border-radius: 4px;
  background: var(--gradient-glow);
}

.float-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}

.float-card .num {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-heading);
  line-height: 1;
}

.float-card .lbl {
  font-size: .74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.float-card.fc-1 {
  top: 4%;
  left: -4%;
  animation-delay: .2s;
}

.float-card.fc-2 {
  bottom: 8%;
  right: -6%;
  animation-delay: 1.1s;
}

.float-card.fc-3 {
  bottom: -2%;
  left: 8%;
  animation-delay: 2s;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 74px;
  background: var(--gradient-dark);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--text-heading);
}

.page-hero p {
  color: var(--text-muted);
  max-width: 62ch;
  margin-top: 16px;
  font-size: 1.05rem;
}

.page-hero .eyebrow {
  color: var(--accent-blue);
}

.page-hero .eyebrow::before {
  background: var(--gradient-glow);
}

/* ---------- 7. CARDS & 3D TILT ---------- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
  will-change: transform;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card .glow-spot {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 134, 255, 0.16), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
}

.card:hover .glow-spot {
  opacity: 1;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--glow-blue);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 18px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--accent-blue);
}

.card-link svg {
  width: 15px;
  height: 15px;
  transition: transform .2s;
}

.card-link:hover svg {
  transform: translateX(4px);
}

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

/* Pricing cards */
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.price-card {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent-blue);
  box-shadow: var(--glow-blue), var(--shadow-md);
}

.price-card .price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 14px 0 6px;
}

.price-card .price-tag span {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 28px;
  flex-grow: 1;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--text-body);
}

.price-card li svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Team cards */
.team-grid {
  grid-template-columns: repeat(2, 1fr);
}

.team-card {
  text-align: center;
  padding: 40px 30px;
}

.team-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin: 0 auto 22px;
  overflow: hidden;
  border: 3px solid var(--bg-surface);
  box-shadow: 0 0 0 4px var(--accent-blue), var(--shadow-md);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-role {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 14px;
}

.team-bio {
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}

.team-socials a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.team-socials a:hover svg {
  stroke: #fff;
  fill: #fff;
}

.team-socials svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
}

/* ---------- STATS / COUNTERS ---------- */
.stats-strip {
  grid-template-columns: repeat(4, 1fr);
}

.stat-block {
  text-align: center;
  padding: 26px 14px;
}

.stat-num {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-num .suffix {
  font-size: 1.6rem;
  color: var(--accent-blue);
}

.stat-label {
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 600;
  margin-top: 6px;
}

/* ---------- PROCESS ROADMAP ---------- */
.roadmap {
  position: relative;
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.roadmap-track::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-soft) 0 10px, transparent 10px 18px);
  z-index: 0;
}

.road-step {
  position: relative;
  z-index: 1;
  text-align: left;
}

.road-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.road-step.is-visible .road-num,
.road-step:hover .road-num {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--glow-blue);
}

.road-step h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.road-step p {
  font-size: .9rem;
  color: var(--text-muted);
}

/* ---------- PORTFOLIO ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .85rem;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  transition: all .2s;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

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

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 10, 23, 0.92) 0%, rgba(6, 10, 23, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity .3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

@media (hover: none) {
  .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(0deg, rgba(6, 10, 23, 0.88) 0%, rgba(6, 10, 23, 0.15) 55%, transparent 100%);
  }
}

.portfolio-overlay .tag {
  color: var(--accent-cyan);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.portfolio-overlay h4 {
  color: #fff;
  margin-bottom: 6px;
}

.portfolio-overlay p {
  color: var(--text-on-dark-muted);
  font-size: .85rem;
}

.portfolio-metrics {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.portfolio-metrics span {
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.portfolio-overlay .view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
}

.portfolio-overlay .view-link svg {
  width: 14px;
  height: 14px;
  transition: transform .2s;
}

.portfolio-item:hover .view-link svg {
  transform: translateX(3px);
}

/* ---------- TESTIMONIALS SLIDER ---------- */
.testi-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.testi-track {
  overflow: hidden;
}

.testi-slides {
  display: flex;
  transition: transform .5s var(--ease);
}

.testi-slide {
  flex: 0 0 100%;
  padding: 6px;
}

.testi-card {
  text-align: center;
  padding: 46px 40px;
}

.testi-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.testi-stars svg {
  width: 18px;
  height: 18px;
  fill: #FFB020;
}

.testi-quote {
  font-size: 1.1rem;
  color: var(--text-heading);
  font-weight: 500;
  margin-bottom: 26px;
}

.testi-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.testi-name {
  font-weight: 700;
  font-size: .92rem;
}

.testi-role {
  font-size: .8rem;
  color: var(--text-muted);
}

.testi-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  align-items: center;
}

.testi-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.testi-arrow:hover {
  background: var(--gradient-primary);
}

.testi-arrow:hover svg {
  stroke: #fff;
}

.testi-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-heading);
}

.testi-dots {
  display: flex;
  gap: 8px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-soft);
  transition: background .2s, width .2s;
}

.testi-dot.active {
  background: var(--accent-blue);
  width: 22px;
  border-radius: 4px;
}

/* ---------- CLIENT LOGOS MARQUEE ---------- */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
  align-items: center;
}

.marquee-track span {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-muted);
  opacity: .6;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- FAQ ACCORDION ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 700;
  font-size: .98rem;
  color: var(--text-heading);
}

.faq-q .plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  flex-shrink: 0;
  position: relative;
  transition: transform .3s var(--ease), background .3s;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--accent-blue);
  border-radius: 2px;
  top: 50%;
  left: 50%;
}

.faq-q .plus::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-q .plus::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
  transition: opacity .2s;
}

.faq-item.is-open .plus {
  transform: rotate(180deg);
  background: var(--gradient-primary);
}

.faq-item.is-open .plus::before,
.faq-item.is-open .plus::after {
  background: #fff;
}

.faq-item.is-open .plus::after {
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}

.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
}

.faq-a-inner svg {
  width: 15px;
  height: 15px;
  position: absolute;
  left: 0;
  top: 3px;
  stroke: var(--accent-blue);
  flex-shrink: 0;
}

/* ---------- BLOG PREVIEW ---------- */
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  overflow: hidden;
  padding: 0;
}

.blog-thumb {
  height: 180px;
  background: var(--gradient-dark);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.blog-thumb .blog-pattern {
  position: absolute;
  inset: 0;
  opacity: .5;
}

.blog-body {
  padding: 26px;
}

.blog-date {
  font-size: .78rem;
  color: var(--accent-blue);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.blog-card h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.blog-card p {
  font-size: .88rem;
}

/* ---------- NEWSLETTER ---------- */
.newsletter-box {
  background: var(--gradient-dark);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 54px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.newsletter-box h3 {
  color: var(--text-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.newsletter-box p {
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  width: 100%;
  max-width: 420px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  background: #fff;
  color: var(--text-body);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

/* ---------- 9. FORMS / TOAST / SPINNER ---------- */
.form-grid {
  grid-template-columns: repeat(2, 1fr);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: .86rem;
  color: var(--text-heading);
}

.field .req {
  color: var(--accent-blue);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--text-body);
  transition: border-color .2s, box-shadow .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #E5484D;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.10);
}

.field-error {
  font-size: .78rem;
  color: #E5484D;
  font-weight: 600;
  display: none;
}

.field.has-error .field-error {
  display: block;
}

.file-drop {
  border: 1.5px dashed var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--accent-blue);
  background: rgba(58, 134, 255, 0.04);
}

.file-drop svg {
  width: 30px;
  height: 30px;
  stroke: var(--accent-blue);
  margin: 0 auto 10px;
}

.file-drop .file-name {
  font-weight: 700;
  font-size: .85rem;
  color: var(--accent-blue);
  margin-top: 8px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .86rem;
  color: var(--text-muted);
  margin: 6px 0 20px;
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--accent-blue);
}

.form-card {
  padding: 40px;
}

.toast-stack {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9600;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 280px;
  max-width: 360px;
  transform: translateX(120%);
  transition: transform .4s var(--ease);
}

.toast.is-shown {
  transform: translateX(0);
}

.toast-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast.success .toast-icon {
  background: rgba(0, 169, 143, 0.15);
}

.toast.success .toast-icon svg {
  stroke: #049e87;
}

.toast.error .toast-icon {
  background: rgba(229, 72, 77, 0.12);
}

.toast.error .toast-icon svg {
  stroke: #E5484D;
}

.toast-icon svg {
  width: 16px;
  height: 16px;
}

.toast-title {
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 2px;
}

.toast-msg {
  font-size: .82rem;
  color: var(--text-muted);
}

/* ---------- PAYMENT PAGE ---------- */
.pay-methods {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 50px;
}

.pay-method-card {
  text-align: center;
}

.pay-method-card img {
  width: 100%;
  max-width: 150px;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
}

.pay-numbers {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 12px;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  justify-content: space-between;
}

.steps-list {
  counter-reset: pay-step;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.steps-list li {
  counter-increment: pay-step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: .94rem;
  color: var(--text-body);
}

.steps-list li::before {
  content: counter(pay-step);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-blue);
}

.steps-list li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text-heading);
}

.steps-list li span.text-muted {
  font-size: .9rem;
}

.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 19px;
  height: 19px;
  stroke: var(--accent-blue);
}

.benefit-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-heading);
}

.benefit-item .text-muted {
  font-size: .9rem;
}

/* ---------- ABOUT: TIMELINE / VALUES / WHY-US ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 34px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-soft);
}

.tl-item {
  position: relative;
  padding-bottom: 40px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: var(--glow-blue), 0 0 0 4px var(--bg-body);
}

.tl-year {
  font-weight: 800;
  color: var(--accent-blue);
  font-size: .85rem;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.tl-item h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.tl-item p {
  color: var(--text-muted);
  font-size: .92rem;
}

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

.value-block {
  text-align: left;
  padding: 26px;
}

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

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-soft);
}

.contact-info-card:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--accent-blue);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid var(--border-soft);
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

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

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
}

.social-card .card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0;
  border-radius: 12px;
}

.social-card .card-icon svg {
  width: 22px;
  height: 22px;
}

/* ---------- 10b. FOOTER (white, compact) ---------- */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-soft);
  padding-top: 48px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand .brand {
  color: var(--text-heading);
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: var(--accent-blue);
}

.footer-tagline {
  color: var(--accent-blue) !important;
  font-weight: 700;
  font-size: .86rem !important;
}

.footer-col h4 {
  color: var(--text-heading);
  font-size: .9rem;
  margin-bottom: 14px;
  letter-spacing: .02em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: .88rem;
  transition: color .2s, padding-left .2s;
}

.footer-col a:hover {
  color: var(--accent-blue);
  padding-left: 4px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}

.footer-socials a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-socials a:hover svg {
  stroke: #fff;
}

.footer-socials svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-heading);
}

.footer-bottom {
  padding: 18px 0 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: .82rem;
  white-space: nowrap;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: .82rem;
  white-space: nowrap;
}

.footer-bottom-links a:hover {
  color: var(--accent-blue);
}

/* ---------- 404 PAGE (light) ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #EEF4FF 0%, #FFFFFF 45%);
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.error-page .floating-shape {
  opacity: .5;
}

.error-mark {
  width: 108px;
  height: 108px;
  margin: 0 auto 18px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-mark svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent-blue);
}

.error-code {
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.error-code.glitch {
  animation: glitch 4.5s infinite;
}

@keyframes glitch {

  0%,
  94%,
  100% {
    transform: translate(0, 0);
    filter: none;
  }

  95% {
    transform: translate(-2px, 1px);
  }

  96% {
    transform: translate(2px, -1px);
  }

  97% {
    transform: translate(-1px, 0);
  }

  98% {
    transform: translate(0, 0);
  }
}

.error-page h2 {
  color: var(--text-heading);
  margin: 18px 0 12px;
}

.error-page p {
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 auto 34px;
}

.error-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.error-search {
  max-width: 420px;
  margin: 0 auto 40px;
  display: flex;
  gap: 10px;
}

.error-search input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  background: #fff;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

.error-search input::placeholder {
  color: var(--text-muted);
}

.error-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-links a {
  color: var(--text-muted);
  font-weight: 700;
  font-size: .88rem;
  border-bottom: 1px solid transparent;
}

.error-links a:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

/* ---------- LEGAL PAGES ---------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content .updated {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 40px;
}

.legal-content h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p {
  margin-bottom: 14px;
  color: var(--text-body);
  font-size: .96rem;
}

.legal-content ul {
  margin: 14px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-content li {
  padding-left: 22px;
  position: relative;
  font-size: .95rem;
  color: var(--text-body);
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.legal-toc {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.legal-toc h4 {
  margin-bottom: 12px;
}

.legal-toc ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  list-style: decimal;
}

.legal-toc li {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: .92rem;
  padding-left: 0;
}

.legal-toc li::before {
  display: none;
}

.legal-toc a {
  color: inherit;
}

.legal-toc a:hover {
  text-decoration: underline;
}

/* ---------- AUTH PAGES (login / signup) ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  background: linear-gradient(160deg, #EEF4FF 0%, #FFFFFF 45%);
}

.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.auth-side {
  background: var(--gradient-primary);
  color: #fff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.auth-side h2 {
  color: #fff;
  font-size: 1.6rem;
}

.auth-side p {
  color: rgba(255, 255, 255, 0.85);
  font-size: .95rem;
}

.auth-side ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.auth-side li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
}

.auth-side li svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  flex-shrink: 0;
}

.auth-form-col {
  padding: 48px 44px;
}

.auth-form-col .brand {
  margin-bottom: 22px;
}

.auth-form-col h1 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.auth-form-col .lede {
  font-size: .96rem;
  margin-bottom: 26px;
}

.auth-switch {
  margin-top: 22px;
  text-align: center;
  font-size: .9rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--accent-blue);
  font-weight: 700;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--text-muted);
  font-size: .82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

/* ---------- PROJECT DETAIL PAGES ---------- */
.project-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
}

.project-hero-media img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.project-meta-item {
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
}

.project-meta-item .lbl {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.project-meta-item .val {
  font-weight: 700;
  color: var(--text-heading);
  font-size: .92rem;
}

.project-body {
  max-width: 800px;
  margin: 0 auto;
}

.project-body h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.project-body h2:first-child {
  margin-top: 0;
}

.project-body p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-body);
}

.project-body ul {
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-body li {
  padding-left: 26px;
  position: relative;
  font-size: .96rem;
  color: var(--text-body);
}

.project-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.project-results {
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0 10px;
}

.project-result-card {
  text-align: center;
  padding: 24px 16px;
}

.project-result-card .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 4px;
}

.project-result-card .lbl {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.project-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
}

/* ---------- ACCESSIBILITY ---------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  background: var(--accent-blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  transition: top .2s;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2.5px solid var(--accent-blue);
  outline-offset: 3px;
}

/* ---------- 11. RESPONSIVE ---------- */
@media (max-width: 1080px) {

  .services-grid,
  .courses-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-grid,
  .contact-grid,
  .form-grid.two-col-desktop {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 340px;
    margin-top: 20px;
    order: -1;
  }

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

  .roadmap-track::before {
    display: none;
  }

  .newsletter-box {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .auth-side {
    display: none;
  }

  .auth-wrap {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* ---- Tablet / large phone: start tightening type + spacing ---- */
@media (max-width: 760px) {
  :root {
    --nav-h: 68px;
  }

  h1 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  h3 {
    font-size: 1.15rem;
  }

  .lede {
    font-size: 1rem;
  }

  .section-head p {
    font-size: .95rem;
  }

  .brand {
    font-size: .96rem;
    gap: 6px;
  }

  .brand-mark {
    height: 30px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions>a.btn-primary {
    display: none;
  }

  .auth-guest-links .btn {
    padding: 9px 16px;
    font-size: .82rem;
  }

  .btn {
    padding: 12px 22px;
    font-size: .88rem;
  }

  .btn-sm {
    padding: 9px 16px;
    font-size: .8rem;
  }

  .services-grid,
  .courses-grid,
  .portfolio-grid,
  .blog-grid,
  .pricing-grid,
  .team-grid,
  .why-grid,
  .values-grid,
  .social-cards,
  .pay-methods,
  .form-grid,
  .stats-strip,
  .project-results,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  .roadmap-track {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 44px;
  }

  .section.tight {
    padding-block: 30px;
  }

  .container {
    padding-inline: 20px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 56px;
  }

  .hero-cta-row {
    gap: 10px;
  }

  .hero-cta-row .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero-trust {
    gap: 14px 20px;
  }

  .trust-item {
    font-size: .82rem;
  }

  .hero-copy .badge {
    font-size: .72rem;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .float-card {
    padding: 10px 14px;
    gap: 8px;
  }

  .float-card .num {
    font-size: 1.05rem;
  }

  .float-card .lbl {
    font-size: .66rem;
  }

  .stat-num {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .stat-label {
    font-size: .8rem;
  }

  .filter-tabs {
    gap: 8px;
  }

  .filter-tab {
    padding: 8px 14px;
    font-size: .78rem;
  }

  .page-hero {
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 44px;
  }

  .page-hero p {
    font-size: .95rem;
  }

  .breadcrumb {
    font-size: .78rem;
    gap: 6px;
  }

  .card {
    padding: 24px 20px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .newsletter-box {
    padding: 32px 24px;
  }

  .newsletter-box h3 {
    font-size: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }

  .footer-socials a {
    width: 34px;
    height: 34px;
  }

  .footer-bottom {
    padding: 16px 0 20px;
  }

  .footer-bottom p,
  .footer-bottom-links a {
    font-size: .74rem;
  }

  .footer-bottom-links {
    gap: 12px;
  }

  .float-widgets {
    right: 14px;
    bottom: 16px;
    gap: 10px;
  }

  .fw-btn {
    width: 46px;
    height: 46px;
  }

  .float-card {
    display: none;
  }

  .error-mark {
    width: 84px;
    height: 84px;
    border-radius: 22px;
  }

  .error-mark svg {
    width: 38px;
    height: 38px;
  }

  .error-code {
    font-size: clamp(3.4rem, 20vw, 5rem);
  }

  .error-cta-row .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .auth-form-col {
    padding: 34px 22px;
  }

  .auth-form-col h1 {
    font-size: 1.3rem;
  }

  .project-meta-row {
    gap: 10px;
  }

  .project-meta-item {
    padding: 10px 14px;
  }
}

/* ---- Small phones: one thing per line, nothing wraps awkwardly ---- */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
  }

  .container {
    padding-inline: 16px;
  }

  .form-card,
  .price-card,
  .card {
    padding: 22px 18px;
  }

  h1 {
    font-size: clamp(1.5rem, 8vw, 1.9rem);
  }

  .badge {
    font-size: .68rem;
    padding: 5px 10px;
  }

  .eyebrow {
    font-size: .7rem;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .filter-tab {
    flex-shrink: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom p,
  .footer-bottom-links a {
    white-space: normal;
  }

  .error-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .error-links {
    gap: 14px 18px;
  }

  .steps-list li {
    font-size: .88rem;
  }

  .price-card .price-tag {
    font-size: 1.8rem;
  }

  .team-photo {
    width: 100px;
    height: 100px;
  }

  .newsletter-box {
    flex-direction: column;
  }

  .contact-info-card {
    padding: 16px 0;
    gap: 12px;
  }

  .nav-user-name {
    max-width: 84px;
  }
}
/* Human-first visual refinement */
:root {
  --accent-blue: #1769aa;
  --accent-cyan: #1f9d7a;
  --accent-purple: #7b5aa6;
}
.card, .auth-wrap, .page-hero, .pay-method-card { box-shadow: 0 12px 35px rgba(11,19,43,.07); }
.card:hover, .tilt-card:hover { box-shadow: 0 18px 45px rgba(11,19,43,.10); }
.btn-primary { background: linear-gradient(135deg, #1769aa, #1f9d7a); }

/* ---------- Account / student area ---------- */
.account-page { padding: 54px 0 90px; background: var(--bg-body); min-height: 72vh; }
.account-shell { max-width: 1080px; margin: 0 auto; }
.account-top { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:28px; }
.account-top h1 { margin-bottom:6px; }
.account-message { min-height:24px; margin:12px 0 0; font-size:.92rem; }
.account-message.warn { color:#8a6400; }.account-message.error{color:#b42318}.account-message.success{color:#16704b}
.profile-card { display:grid; grid-template-columns:180px 1fr; gap:30px; align-items:start; }
.profile-avatar-lg { width:150px;height:150px;border-radius:50%;object-fit:cover;border:5px solid var(--white);box-shadow:0 12px 35px rgba(11,19,43,.12);background:var(--off-white); }
.profile-avatar-wrap { display:flex; flex-direction:column; align-items:center; gap:12px; }
.dashboard-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:24px 0; }
.stat-card { padding:22px; }.stat-number{font-size:1.8rem;font-weight:800;color:var(--navy-900)}.stat-label{font-size:.86rem;color:var(--slate)}
.dashboard-course { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 0; border-bottom:1px solid var(--slate-100); }
.dashboard-course:last-child{border-bottom:0}.dashboard-course h3{margin:8px 0 6px}.progress-wrap{min-width:220px}.progress-line{height:8px;background:var(--slate-100);border-radius:99px;overflow:hidden}.progress-line span{display:block;height:100%;background:linear-gradient(90deg,#1769aa,#1f9d7a);border-radius:99px}.progress-wrap small{display:block;margin-top:7px;color:var(--slate)}
.empty-state{text-align:center;padding:40px 20px}.empty-state p{max-width:560px;margin:8px auto 18px;color:var(--slate)}
.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:13px 10px;border-bottom:1px solid var(--slate-100);text-align:left;vertical-align:top}.admin-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--slate)}
.admin-actions{display:flex;gap:8px;flex-wrap:wrap}.btn-approve{background:#e9f8f0;color:#16704b;padding:8px 12px;border-radius:10px;font-weight:700}.btn-reject{background:#fff0ef;color:#b42318;padding:8px 12px;border-radius:10px;font-weight:700}
.payment-success{display:none;margin-top:18px;padding:16px;border-radius:14px;background:#edf9f3;border:1px solid #b8e4cd;color:#176b49}.payment-success.show{display:block}
@media(max-width:800px){.profile-card{grid-template-columns:1fr}.profile-avatar-wrap{align-items:flex-start}.dashboard-grid{grid-template-columns:1fr}.dashboard-course{align-items:flex-start;flex-direction:column}.progress-wrap{width:100%;min-width:0}.account-top{align-items:flex-start;flex-direction:column}.admin-table{display:block;overflow-x:auto;white-space:nowrap}}
.nav-user-dashboard-link{font-size:.8rem;font-weight:700;color:var(--accent-blue);padding:7px 10px;border:1px solid var(--slate-100);border-radius:10px;background:var(--white)}

/* Account/security fixes */
.password-field{position:relative;display:flex;align-items:center}.password-field input{width:100%;padding-right:78px}.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);padding:7px 10px;border-radius:8px;color:var(--accent-blue);font-size:.78rem;font-weight:800;background:var(--off-white);border:1px solid var(--slate-100)}.password-toggle:hover,.password-toggle.is-visible{background:#eef4ff}.auth-forgot{text-align:right;margin:-4px 0 16px;font-size:.88rem}.auth-forgot a,.auth-back a{color:var(--accent-blue);font-weight:700}.single-auth{max-width:620px;margin-inline:auto}.auth-back{margin-top:18px;text-align:center}.account-security-card{overflow:hidden}.container{padding-inline:clamp(16px,3vw,28px)}.site-footer{margin-top:auto}.footer-bottom{flex-wrap:wrap}.footer-bottom p{white-space:normal}.footer-bottom-links{margin-left:auto}@media(max-width:700px){.footer-bottom{align-items:flex-start}.footer-bottom-links{margin-left:0;width:100%;flex-wrap:wrap}.nav-links{display:none}.nav-actions{margin-left:auto}}
.course-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}.course-card-actions .card-link{margin-top:0}.invoice-card{max-width:900px;margin:40px auto;padding:clamp(24px,5vw,52px);box-shadow:var(--shadow-lg)}.invoice-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.invoice-head h1{margin:4px 0}.invoice-meta{display:grid;gap:12px;text-align:right}.invoice-meta span,.invoice-grid span,.invoice-status span{display:block;color:var(--text-muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}.invoice-meta strong{display:block}.invoice-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0}.invoice-grid strong,.invoice-grid small{display:block}.invoice-grid small{color:var(--text-muted);margin-top:4px}.invoice-table{border:1px solid var(--slate-100);border-radius:12px;overflow:hidden}.invoice-row{display:grid;grid-template-columns:1fr auto;padding:16px 18px;border-bottom:1px solid var(--slate-100);gap:20px}.invoice-row:last-child{border-bottom:0}.invoice-row-head{font-weight:800;background:var(--off-white)}.invoice-total{display:flex;justify-content:flex-end;gap:40px;padding:20px 0;font-size:1.15rem}.invoice-status{display:flex;justify-content:space-between;align-items:center;padding:16px;border-radius:12px;background:var(--off-white)}.invoice-status strong{text-transform:capitalize;color:var(--accent-blue)}@media print{body{background:#fff}.no-print{display:none!important}.invoice-card{margin:0;max-width:none;box-shadow:none;border:0}.invoice-page{padding-top:0}.invoice-card{break-inside:avoid}}
.admin-tabs{display:flex;gap:8px;overflow:auto;padding:6px;margin:0 0 24px;border:1px solid var(--slate-100);border-radius:14px;background:var(--off-white)}.admin-tab{padding:10px 16px;border-radius:10px;font-weight:800;white-space:nowrap}.admin-tab.active{background:#fff;color:var(--accent-blue);box-shadow:var(--shadow-sm)}.admin-panel{display:none}.admin-panel.active{display:block}.admin-section-head{align-items:center}.admin-section-head select{width:auto;min-width:150px}.admin-quick-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-list-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 0;border-bottom:1px solid var(--slate-100)}.admin-list-row:last-child{border-bottom:0}.admin-list-row strong,.admin-list-row small{display:block}.admin-list-row small{color:var(--text-muted);margin-top:4px}.table-wrap{overflow:auto}.admin-table select,.admin-table input{min-width:110px;padding:8px;border:1px solid var(--slate-100);border-radius:8px;background:#fff}.progress-input{width:78px!important;min-width:78px!important}.btn-approve,.btn-reject{border:0;cursor:pointer}.admin-shell{max-width:1180px}.admin-stats{grid-template-columns:repeat(3,1fr)}@media(max-width:800px){.admin-stats{grid-template-columns:1fr}.admin-list-row{align-items:flex-start;flex-direction:column}.admin-section-head{align-items:flex-start}.admin-section-head select{width:100%}}

/* ===== SR IT Zone upgrade layer ===== */
.site-footer{background:linear-gradient(145deg,#07111f 0%,#0b1730 55%,#0f221f 100%);color:rgba(255,255,255,.88);border-top:1px solid rgba(255,255,255,.08);position:relative;overflow:hidden}.site-footer:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 20%,rgba(94,161,255,.14),transparent 28%),radial-gradient(circle at 84% 75%,rgba(98,215,180,.10),transparent 26%);pointer-events:none}.site-footer .container{position:relative;z-index:1}.site-footer .footer-col h4,.site-footer .footer-brand .brand{color:#fff}.site-footer .footer-col a,.site-footer .footer-brand p,.site-footer .footer-bottom p,.site-footer .footer-bottom-links a{color:rgba(255,255,255,.74)}.site-footer .footer-col a:hover,.site-footer .footer-bottom-links a:hover{color:#fff}.site-footer .footer-socials a{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.04);color:#fff}.site-footer .footer-bottom{border-top-color:rgba(255,255,255,.1)}
.auth-guest-links .btn-outline,.mobile-menu .auth-guest .btn-outline{border-color:var(--accent-blue);color:var(--accent-blue);background:transparent}.auth-guest-links .btn-primary,.mobile-menu .auth-guest .btn-primary{background:linear-gradient(135deg,#1769aa,#1f9d7a);color:#fff;box-shadow:0 10px 24px rgba(23,105,170,.2)}.auth-guest-links .btn-outline:hover,.mobile-menu .auth-guest .btn-outline:hover{background:var(--accent-blue);color:#fff}.auth-guest-links .btn-primary:hover,.mobile-menu .auth-guest .btn-primary:hover{transform:translateY(-2px)}
.password-toggle{width:38px;height:38px;padding:0;border:1px solid var(--border-soft);background:var(--bg-alt);display:grid;place-items:center;border-radius:10px;cursor:pointer}.password-toggle:hover{background:var(--accent-blue);color:#fff}.password-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.password-field input{padding-right:58px}.team-actions-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px}.team-actions-row .team-socials{margin-top:0}.profile-link{white-space:nowrap}.profile-card-modern{position:relative;padding-top:62px}.profile-card-header{position:absolute;left:24px;right:24px;top:20px;display:flex;justify-content:space-between;align-items:center;gap:12px}.profile-live-dot{font-size:.78rem;font-weight:700;color:var(--accent-green)}.profile-live-dot:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;margin-right:6px;box-shadow:0 0 0 4px rgba(31,157,122,.1)}.course-thumbnail{position:relative;margin:-4px -4px 18px;border-radius:16px;overflow:hidden;aspect-ratio:16/9;background:var(--bg-alt);border:1px solid var(--border-soft)}.course-thumbnail img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}.course-catalog-card:hover .course-thumbnail img{transform:scale(1.04)}.course-enrolled-badge{position:absolute;top:12px;right:12px;padding:7px 10px;border-radius:999px;background:#fff;color:#156d55;font-size:.72rem;font-weight:800;box-shadow:0 8px 18px rgba(0,0,0,.12)}.badge-sale{background:#173d66;color:#fff}.course-price{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.course-old-price{text-decoration:line-through;color:var(--text-muted);font-size:.9em}.admin-stats{grid-template-columns:repeat(4,1fr)}@media(max-width:1000px){.admin-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.team-actions-row{align-items:flex-start;flex-direction:column}.team-actions-row .team-socials{width:100%}.profile-card-header{left:16px;right:16px}.profile-card-modern{padding-top:70px}.admin-stats{grid-template-columns:1fr}}


/* ================================================================
   PHASE 5 — PREMIUM DESIGN SYSTEM / RESPONSIVE / PERFORMANCE
   ================================================================ */
:root {
  --brand-ink: #0b132b;
  --brand-blue: #1769aa;
  --brand-teal: #1f9d7a;
  --brand-purple: #7b5aa6;
  --surface-soft: #f4f7fb;
  --focus-ring: 0 0 0 4px rgba(23,105,170,.16);
}

body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid rgba(23,105,170,.45); outline-offset: 3px; }
.skip-link { z-index: 10000; }

/* Premium surfaces: subtle, not noisy */
.card, .form-card, .auth-wrap, .pay-method-card, .price-card, .profile-card,
.business-card, .invoice-card, .account-security-card {
  border: 1px solid rgba(11,19,43,.07);
  background: rgba(255,255,255,.96);
}
.card, .price-card, .business-card { transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s ease; }
.card:hover, .price-card:hover, .business-card:hover { transform: translateY(-3px); border-color: rgba(23,105,170,.18); }

.btn { min-height: 44px; }
.btn-primary { box-shadow: 0 10px 22px rgba(23,105,170,.18); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(23,105,170,.22); }
.btn-outline:hover { border-color: rgba(23,105,170,.35); background: #f5f9ff; }

/* Hero upgrade */
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero::before {
  content: ""; position:absolute; width:560px; height:560px; border-radius:50%;
  right:-220px; top:-260px; z-index:-1; pointer-events:none;
  background: radial-gradient(circle, rgba(23,105,170,.13), rgba(31,157,122,.06) 42%, transparent 70%);
}
.hero-copy h1 { max-width: 760px; }
.hero-copy p { max-width: 680px; }
.hero-cta-row { gap: 12px; }
.hero-trust span { white-space: nowrap; }

/* Better grids at intermediate widths */
@media (max-width: 1100px) {
  .container { padding-inline: clamp(18px, 4vw, 28px); }
  .hero-grid { gap: 34px; }
  .grid { gap: 18px; }
}
@media (max-width: 900px) {
  .nav-inner { min-height: 74px; }
  .nav-actions > .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 620px; margin-inline: auto; }
  .section { padding-block: 68px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 72px; }
  .container { padding-inline: 16px; }
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 28px; }
  .section-head p { max-width: 100%; }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero-copy h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-copy p { font-size: .96rem; }
  .hero-trust { display:grid; grid-template-columns: 1fr 1fr; align-items:stretch; }
  .hero-trust span { white-space:normal; }
  .grid, .services-grid, .portfolio-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-bottom { align-items:center; }
  .footer-bottom-links { justify-content:center; }
  .admin-tabs { margin-inline:-2px; }
  .admin-table { font-size:.88rem; }
  .password-toggle { width:42px; height:42px; display:grid; place-items:center; padding:0; }
}
@media (max-width: 380px) {
  .container { padding-inline: 14px; }
  .hero-cta-row .btn { width:100%; }
  .hero-trust { grid-template-columns:1fr; }
  .brand { font-size:.96rem; }
  .brand-mark img { width:92px; height:auto; }
}

/* Prevent accidental overflow from long user/course data */
:is(h1,h2,h3,h4,p,a,button,td,th,span) { overflow-wrap: anywhere; }
.table-wrap, .admin-table-wrap { max-width:100%; }

/* Reduced motion: preserve usability */
@media (prefers-reduced-motion: reduce) {
  .card:hover, .price-card:hover, .business-card:hover, .btn-primary:hover { transform:none; }
}

/* Print-friendly certificate / invoice */
@media print {
  .site-footer, .navbar, .no-print, #scroll-progress, #preloader, .float-widgets { display:none !important; }
  body { background:#fff !important; color:#111 !important; }
}
