/* ═══════════════════════════════════════════════════
   CERTIFYPRO360 — STYLESHEET
   Separated from certifypro360.html for cleaner code
═══════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ──────────────────────────────── */
:root {
    --blue: #00A4EF;
  --blue-dark: #0081BC;
  --blue-light: #E5F6FD;
  --green: #7FBA00;
  --green-light: #F2F8E5;
  --yellow: #FFB900;
  --yellow-light: #FFF8E5;
  --red: #F25022;
  --red-light: #FDECE8;
  --black: #1A1A2E;
  --gray-900: #1B1B1B;
  --gray-700: #3D3D3D;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 120, 212, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 120, 212, 0.14), 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 64px rgba(0, 120, 212, 0.18), 0 8px 24px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent text selection flicker on mobile touch/scroll */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  /* Suppress iOS tap highlight */
  -webkit-tap-highlight-color: transparent;
  /* Smooth momentum scrolling on iOS */
  -webkit-overflow-scrolling: touch;
}

/* Re-enable selection inside inputs and text areas */
input, textarea, select, [contenteditable] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.15;
}

/* Display headings — clamped font sizes + max-width so they
   never stretch too wide on large screens or break oddly on mobile */
.display-xl {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.display-lg {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.display-md {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 28ch;
}

.display-sm {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 36ch;
}

/* Centred headings override — centre-align the max-width */
.text-center .display-xl,
.text-center .display-lg,
.text-center .display-md,
.text-center .display-sm,
.section-header.centered .display-xl,
.section-header.centered .display-lg,
.section-header.centered .display-md,
.section-header.centered .display-sm,
.cta-inner .display-xl,
.cta-inner .display-lg,
.cta-inner .display-md {
  margin-left: auto;
  margin-right: auto;
}

/* Body text */
.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 70ch;
}

.body-md {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 70ch;
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 70ch;
}

.label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── LAYOUT UTILITIES ───────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 54px 0;
}

.section-lg {
  padding: 100px 0;
}

.flex {
  display: flex;
}

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

.grid {
  display: grid;
}

.gap-sm {
  gap: 16px;
}

.gap-md {
  gap: 24px;
}

.gap-lg {
  gap: 32px;
}

.gap-xl {
  gap: 48px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* ─── COLORS ─────────────────────────────────────── */
.text-blue {
  color: var(--blue);
}

.text-green {
  color: var(--green);
}

.text-yellow {
  color: var(--yellow);
}

.text-red {
  color: var(--red);
}

.text-gray {
  color: var(--gray-500);
}

.text-white {
  color: var(--white);
}

.bg-blue {
  background: var(--blue);
}

.bg-green {
  background: var(--green);
}

.bg-yellow {
  background: var(--yellow);
}

.bg-ms-blue { background-color: rgba(0, 164, 239, 0.08) !important; }
.bg-ms-green { background-color: rgba(127, 186, 0, 0.08) !important; }
.bg-ms-yellow { background-color: rgba(255, 185, 0, 0.08) !important; }
.bg-ms-red { background-color: rgba(242, 80, 34, 0.08) !important; }

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 120, 212, 0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 120, 212, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.btn-red { background: var(--red); color: var(--white); box-shadow: 0 2px 12px rgba(242,80,34,0.35); }
.btn-red:hover { background: #d8451c; transform: translateY(-1px); }

.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: 0 2px 12px rgba(255,185,0,0.35); font-weight: 700; }
.btn-yellow:hover { background: #e5a600; transform: translateY(-1px); }

.btn-blue { background: var(--blue); color: var(--white); box-shadow: 0 2px 12px rgba(0,164,239,0.35); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,164,239,0.45); }
.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(16, 124, 16, 0.35);
}

.btn-green:hover {
  background: #0a5f0a;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 120, 212, 0.08);
  height: 68px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
}

.nav-logo-text span {
  color: var(--blue);
}

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

.nav-link {
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  background: none;
}

.nav-link.ms-hover-blue:hover,  .nav-link.ms-hover-blue.active  { background: var(--blue-light); color: var(--blue); }
.nav-link.ms-hover-red:hover,   .nav-link.ms-hover-red.active   { background: var(--red-light); color: var(--red); }
.nav-link.ms-hover-green:hover, .nav-link.ms-hover-green.active { background: var(--green-light); color: var(--green); }
.nav-link.ms-hover-yellow:hover,.nav-link.ms-hover-yellow.active{ background: var(--yellow-light); color: var(--yellow); }
.nav-link.ms-hover-gray:hover,  .nav-link.ms-hover-gray.active  { background: var(--gray-100); color: var(--gray-900); }

.nav-cta {
  margin-left: 12px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ─── PAGE SYSTEM ────────────────────────────────── */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #F0F7FF 0%, #FAFBFF 50%, #F5F9FF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.06) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 124, 16, 0.05) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(0, 120, 212, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.08);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.7;
    transform: scale(1.2)
  }
}

.hero-headline {
  margin-bottom: 20px;
}

.hero-headline .accent {
  color: var(--blue);
  position: relative;
}

.hero-headline .accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 2px;
  opacity: 0.3;
}

.hero-sub {
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--black);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 400;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 120, 212, 0.08);
  position: relative;
}

.hero-cert-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-cert-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: all 0.2s;
  border: 1px solid var(--gray-100);
}

.hero-cert-item:hover {
  background: var(--blue-light);
  border-color: rgba(0, 120, 212, 0.2);
}

.cert-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.cert-icon svg {
  width: 20px;
  height: 20px;
}

.cert-icon.blue {
  background: var(--blue);
}

.cert-icon.green {
  background: var(--green);
}

.cert-icon.yellow {
  background: var(--yellow);
}

.cert-icon.red {
  background: var(--red);
}

.cert-item-info {
  flex: 1;
}

.cert-item-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--black);
}

.cert-item-code {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.cert-item-badge {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
}

.badge-green {
  background: var(--green-light);
  color: var(--green);
}

.badge-blue {
  background: var(--blue-light);
  color: var(--blue);
}

.badge-yellow {
  background: var(--yellow-light);
  color: var(--yellow);
}

.floating-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--green);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}

/* ─── SECTION HEADER ─────────────────────────────── */
.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header.centered {
  margin: 0 auto 56px;
  text-align: center;
}

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

.section-eyebrow-line {
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 16px;
}

.section-body {
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
}

/* ─── HOW IT WORKS ───────────────────────────────── */
.how-it-works {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0.2;
  z-index: 0;
}

.step-card {
  background: var(--white);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: white;
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  opacity: 0.3;
}

.step-num-blue {
  background: var(--blue);
}

.step-num-green {
  background: var(--green);
}

.step-num-yellow {
  background: var(--yellow);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.step-desc {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

/* ─── CERT CARDS ─────────────────────────────────── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 120, 212, 0.15);
}

.cert-card:hover::before {
  transform: scaleX(1);
}

.cert-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cert-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  color: white;
}

.cert-card-category {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
}

.cert-card-code {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 6px;
}

.cert-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.cert-card-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.cert-card-difficulty {
  display: flex;
  gap: 3px;
}

.diff-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
}

.diff-dot.filled {
  background: var(--blue);
}

/* ─── WHY CHOOSE US ──────────────────────────────── */
.why-us {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  transform: translate(30%, 30%);
  opacity: 0.06;
}

.why-card.blue::after {
  background: var(--blue);
}

.why-card.green::after {
  background: var(--green);
}

.why-card.yellow::after {
  background: var(--yellow);
}

.why-card.red::after {
  background: var(--red);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon.blue {
  background: var(--blue-light);
}

.why-icon.green {
  background: var(--green-light);
}

.why-icon.yellow {
  background: var(--yellow-light);
}

.why-icon.red {
  background: var(--red-light);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-desc {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 38ch;
}

.why-stat {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-top: 12px;
}

/* ─── TESTIMONIALS ───────────────────────────────── */
.testimonials {
  background: var(--white);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star {
  color: #FFC107;
  font-size: 1rem;
}

.testi-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.testi-role {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.testi-cert {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--blue-light);
  color: var(--blue);
}

/* ─── CTA SECTION ────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, #003A6E 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 auto 40px;
  max-width: 52ch;
  text-align: center;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-guarantee {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ─── CERTIFICATIONS PAGE ────────────────────────── */
.certs-page {
  padding-top: 68px;
}

.certs-hero {
  background: linear-gradient(135deg, #F0F7FF, #FAFBFF);
  padding: 64px 0 48px;
}

.certs-search-wrapper {
  margin-top: 40px;
  max-width: 650px;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.2s;
}

.certs-search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.certs-search-container .search-icon {
  position: absolute;
  left: 20px;
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  pointer-events: none;
  transition: color 0.3s;
  z-index: 10;
}

.certs-search-container input {
  width: 100%;
  padding: 18px 24px 18px 56px;
  border-radius: 50px;
  border: 2px solid var(--white);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-900);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.certs-search-container input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 15px 35px rgba(0, 164, 239, 0.15);
  transform: translateY(-2px);
}

.certs-search-container input:focus ~ .search-icon {
  color: var(--blue);
}

.certs-search-container input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
  opacity: 0.7;
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cat-tab {
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  transition: all 0.15s;
}

.cat-tab:hover,
.cat-tab.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.category-section {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-100);
}

.category-title h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}

.category-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.certs-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ─── CERT DETAIL PAGE ───────────────────────────── */
.cert-detail {
  padding-top: 68px;
}

.cert-detail-hero {
  padding: 54px 0;
  border-bottom: 1px solid var(--gray-100);
}

.cert-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.cert-detail-breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.cert-detail-breadcrumb span {
  color: var(--gray-300);
}

.cert-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.cert-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 120, 212, 0.3);
}

.cert-detail-meta {
  flex: 1;
}

.cert-detail-code {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.cert-detail-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.cert-detail-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cert-badge {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}

.cert-detail-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 48px 0;
}

.cert-content-section {
  margin-bottom: 40px;
}

.cert-content-section h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.cert-content-section p,
.cert-content-section li {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 10px;
  font-size: 0.95rem;
  max-width: 68ch;
}

.cert-content-section ul {
  padding-left: 20px;
}

.cert-content-section li {
  margin-bottom: 8px;
}

.cert-sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 88px;
  box-shadow: var(--shadow-md);
}

.cert-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.cert-sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.sidebar-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-info-label {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.sidebar-info-value {
  font-weight: 500;
  font-size: 0.9rem;
}

/* ─── BLOG PAGE ──────────────────────────────────── */
.blog-page {
  padding-top: 68px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}

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

.blog-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.blog-card-body {
  padding: 24px;
}

.blog-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.blog-tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  color: white;
}

.blog-author-name {
  font-size: 0.8rem;
  font-weight: 400;
}

.blog-date {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ─── ABOUT PAGE ─────────────────────────────────── */
.about-page {
  padding-top: 68px;
}

.about-hero {
  padding: 54px 0 68px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--blue-light), #E8F5FF);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-visual-number {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 0;
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.about-metric {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.about-metric-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--blue);
}

.about-metric-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 400;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 36px;
  height: 36px;
}

.value-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

.team-section {
  padding: 68px 0;
  background: var(--gray-50);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--gray-100);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

.team-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.team-certs {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-cert-tag {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--blue-light);
  color: var(--blue);
}

/* ─── CONTACT PAGE ───────────────────────────────── */
.contact-page {
  padding-top: 68px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  padding: 54px 0;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  background: var(--white);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-text h4 {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  scroll-margin-top: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  transition: all 0.15s;
  background: var(--white);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

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

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #25D366;
  color: white;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 68px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
}

.footer-brand-text span {
  color: var(--blue);
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
  cursor: pointer;
}

.footer-links li a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ms-badge {
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.fade-in-delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.fade-in-delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

/* ─── MISC ───────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--gray-100);
  margin: 0;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.progress-bar {
  background: var(--gray-100);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════ */

/* ── Tablet (≤1024px) ─────────────────────────────── */
@media (max-width: 1024px) {

  .hero-grid,
  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

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

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

  .cert-detail-body {
    grid-template-columns: 1fr;
  }

  .cert-sidebar-card {
    position: static;
  }

  /* Inline-style 2-col grids in About/Mission sections */
  .about-page [style*="grid-template-columns:1fr 1fr"],
  .about-page [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Blog featured post stacks below 900px ─────────── */
@media (max-width: 900px) {

  .blog-page [style*="grid-template-columns:1fr 1fr"],
  .blog-page [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Mobile (≤768px) ─────────────────────────────── */
@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 100px 0 54px;
  }

  .section {
    padding: 60px 0;
  }

  .section-lg {
    padding: 72px 0;
  }

  .certs-grid,
  .why-grid,
  .testi-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .steps-grid::before {
    display: none;
  }

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

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

  /* Form row stacks on mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Heading max-width is 100% on mobile — let the container set the bound */
  .display-xl,
  .display-lg,
  .display-md,
  .display-sm {
    max-width: 100%;
  }

  /* Body text fills available width */
  .body-lg,
  .body-md,
  .body-sm,
  .section-body {
    max-width: 100%;
  }

  .display-xl {
    font-size: 2.5rem;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ── Small mobile (≤480px) ───────────────────────── */
@media (max-width: 480px) {
  .section {
    padding: 48px 0;
  }

  .section-sm {
    padding: 32px 0;
  }

  .certs-grid,
  .testi-grid,
  .blog-grid,
  .certs-grid-4,
  .team-grid,
  .values-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

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

  .contact-form-card {
    padding: 24px 16px;
  }

  .cert-detail-name {
    font-size: 1.5rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════
   ANIMATION SYSTEM — Premium Multi-Variant
   GPU-accelerated · Smooth · Contextual
═══════════════════════════════════════════════════ */

/* ─── KEYFRAMES ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; -webkit-transform:translate3d(0,28px,0) scale(0.95); transform:translate3d(0,28px,0) scale(0.95); }
  to   { opacity:1; -webkit-transform:translate3d(0,0,0) scale(1); transform:translate3d(0,0,0) scale(1); }
}
@keyframes float {
  0%,100% { -webkit-transform:translate3d(0,0,0); transform:translate3d(0,0,0); }
  50%     { -webkit-transform:translate3d(0,-10px,0); transform:translate3d(0,-10px,0); }
}
@keyframes floatBadge {
  0%,100% { -webkit-transform:translate3d(0,0,0); transform:translate3d(0,0,0); }
  50%     { -webkit-transform:translate3d(0,-5px,0); transform:translate3d(0,-5px,0); }
}
@keyframes pulse {
  0%,100% { opacity:1; -webkit-transform:scale(1); transform:scale(1); }
  50%     { opacity:.7; -webkit-transform:scale(1.3); transform:scale(1.3); }
}
@keyframes pageFadeIn {
  from { opacity:0; -webkit-transform:translate3d(0,16px,0); transform:translate3d(0,16px,0); }
  to   { opacity:1; -webkit-transform:translate3d(0,0,0); transform:translate3d(0,0,0); }
}

/* ─── BASE REVEAL CLASSES ───────────────────────── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  opacity: 0;
}
/* Up */
.reveal {
  -webkit-transform: translate3d(0,28px,0);
  transform: translate3d(0,28px,0);
  -webkit-transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
                      -webkit-transform 0.65s cubic-bezier(0.22,1,0.36,1);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
/* From left */
.reveal-left {
  -webkit-transform: translate3d(-44px,0,0);
  transform: translate3d(-44px,0,0);
  -webkit-transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
                      -webkit-transform 0.65s cubic-bezier(0.22,1,0.36,1);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
/* From right */
.reveal-right {
  -webkit-transform: translate3d(44px,0,0);
  transform: translate3d(44px,0,0);
  -webkit-transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
                      -webkit-transform 0.65s cubic-bezier(0.22,1,0.36,1);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
/* Scale from centre */
.reveal-scale {
  -webkit-transform: scale(0.85);
  transform: scale(0.85);
  -webkit-transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
                      -webkit-transform 0.6s cubic-bezier(0.22,1,0.36,1);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
/* Revealed states */
.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  opacity: 1;
  will-change: auto;
}
.reveal-scale.revealed {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  will-change: auto;
}

/* ─── STAGGER GRID: scale + rise pop-in ─────────── */
.reveal-stagger > * {
  will-change: opacity, transform;
  -webkit-transform: translate3d(0,32px,0) scale(0.88);
  transform: translate3d(0,32px,0) scale(0.88);
  opacity: 0;
  -webkit-transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
                      -webkit-transform 0.6s cubic-bezier(0.22,1,0.36,1);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.reveal-stagger > *.revealed {
  -webkit-transform: translate3d(0,0,0) scale(1);
  transform: translate3d(0,0,0) scale(1);
  opacity: 1;
  will-change: auto;
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.39s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.46s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.53s; }
.reveal-stagger > *:nth-child(9) { transition-delay: 0.60s; }

/* ─── HERO ──────────────────────────────────────── */
.fade-in {
  -webkit-animation: fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both;
  animation: fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.fade-in-delay-1 { -webkit-animation-delay:0.12s; animation-delay:0.12s; }
.fade-in-delay-2 { -webkit-animation-delay:0.24s; animation-delay:0.24s; }
.fade-in-delay-3 { -webkit-animation-delay:0.36s; animation-delay:0.36s; }

.hero-card {
  -webkit-animation: float 5s ease-in-out infinite;
  animation: float 5s ease-in-out infinite;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.floating-badge {
  -webkit-animation: floatBadge 3.5s ease-in-out infinite 0.6s;
  animation: floatBadge 3.5s ease-in-out infinite 0.6s;
}
.hero-badge-dot {
  -webkit-animation: pulse 2s ease-in-out infinite;
  animation: pulse 2s ease-in-out infinite;
}

/* ─── PAGE TRANSITION ───────────────────────────── */
.page.page-entering {
  -webkit-animation: pageFadeIn 0.38s cubic-bezier(0.22,1,0.36,1) both;
  animation: pageFadeIn 0.38s cubic-bezier(0.22,1,0.36,1) both;
}

/* ─── CARD HOVER EFFECTS ────────────────────────── */
.cert-card {
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.32s cubic-bezier(0.22,1,0.36,1),
              border-color 0.32s ease;
}
.cert-card:hover {
  transform: translateY(-10px) scale(1.025);
  box-shadow: 0 28px 64px rgba(0,120,212,0.18), 0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(0,164,239,0.5);
}
.why-card {
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.32s cubic-bezier(0.22,1,0.36,1);
}
.why-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 24px 56px rgba(0,0,0,0.13);
}
.testi-card {
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.32s cubic-bezier(0.22,1,0.36,1);
}
.testi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 52px rgba(0,120,212,0.14);
}
.value-card {
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.32s cubic-bezier(0.22,1,0.36,1),
              border-color 0.32s ease;
}
.value-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 52px rgba(0,120,212,0.14);
  border-color: rgba(0,164,239,0.3);
}
.blog-card {
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.32s cubic-bezier(0.22,1,0.36,1);
}
.blog-card:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 24px 60px rgba(0,0,0,0.13);
}
.step-card {
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.32s cubic-bezier(0.22,1,0.36,1);
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.step-card:hover .step-number {
  transform: scale(1.18) rotate(-4deg);
}
.about-metric {
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.3s cubic-bezier(0.22,1,0.36,1);
}
.about-metric:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: var(--shadow-md);
}
.contact-info-card {
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.3s cubic-bezier(0.22,1,0.36,1);
}
.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ─── ICON MICRO-INTERACTIONS ───────────────────── */
.value-icon {
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.value-card:hover .value-icon {
  transform: scale(1.18) rotate(8deg);
}
.why-icon {
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.why-card:hover .why-icon {
  transform: scale(1.15);
}
.blog-card-img { overflow: hidden; }
.blog-card-img svg {
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.blog-card:hover .blog-card-img svg {
  transform: scale(1.22) rotate(6deg);
}
.cert-icon {
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.hero-cert-item {
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.hero-cert-item:hover { transform: translateX(5px); }
.hero-cert-item:hover .cert-icon { transform: rotate(12deg) scale(1.1); }

/* ─── BUTTONS ───────────────────────────────────── */
.btn {
  transition: transform 0.2s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.2s cubic-bezier(0.22,1,0.36,1),
              background-color 0.2s ease,
              border-color 0.2s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.15); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* ─── NAV LINK UNDERLINE SLIDE ──────────────────── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  transform-origin: left center;
  -webkit-transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.nav-link:hover::after,
.nav-link.active::after {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* ─── FOOTER LINKS ──────────────────────────────── */
.footer-links a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.footer-links a:hover { transform: translateX(5px); color: var(--blue); }

/* ─── COUNTER ───────────────────────────────────── */
[data-counter] {
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

/* ─── REDUCED MOTION ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .reveal-stagger > * {
    opacity: 1; -webkit-transform: none; transform: none;
    -webkit-transition: none; transition: none; will-change: auto;
  }
  .fade-in, .hero-card, .floating-badge, .hero-badge-dot {
    -webkit-animation: none; animation: none; opacity: 1;
  }
  .cert-card:hover, .why-card:hover, .value-card:hover,
  .testi-card:hover, .blog-card:hover, .step-card:hover,
  .about-metric:hover, .contact-info-card:hover { transform: none; }
  .btn:hover { transform: none; box-shadow: none; }
  [data-counter] { -webkit-transition: none; transition: none; }
}