/* ==========================================================================
   iProHub – Main Stylesheet
   Bootstrap 5.3 + Material Design 3 | Light Sky Blue Animated Gradient
   ========================================================================== */

/* --- M3 Design Tokens (Light) --- */
:root {
  --md-sys-color-primary: #006494;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #c8e6ff;
  --md-sys-color-on-primary-container: #001e30;
  --md-sys-color-secondary: #50606e;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #d3e5f5;
  --md-sys-color-on-secondary-container: #0c1d29;
  --md-sys-color-tertiary: #65587b;
  --md-sys-color-surface: #f8fbff;
  --md-sys-color-surface-container: #eef4fa;
  --md-sys-color-surface-container-high: #e8f0f8;
  --md-sys-color-on-surface: #191c1e;
  --md-sys-color-on-surface-variant: #41474d;
  --md-sys-color-outline: #71787e;
  --md-sys-color-outline-variant: #c1c7ce;

  --sky-light: #e0f4ff;
  --sky-mid: #b8e4ff;
  --sky-deep: #87ceeb;
  --sky-accent: #4db8e8;

  --gradient-1: #e0f4ff;
  --gradient-2: #b8e4ff;
  --gradient-3: #87ceeb;
  --gradient-4: #c5e8ff;

  --shadow-elevation-1: 0 1px 3px rgba(0, 50, 100, 0.08), 0 1px 2px rgba(0, 50, 100, 0.06);
  --shadow-elevation-2: 0 4px 12px rgba(0, 50, 100, 0.1), 0 2px 4px rgba(0, 50, 100, 0.06);
  --shadow-elevation-3: 0 8px 24px rgba(0, 50, 100, 0.12), 0 4px 8px rgba(0, 50, 100, 0.08);
  --shadow-elevation-4: 0 16px 40px rgba(0, 50, 100, 0.14), 0 8px 16px rgba(0, 50, 100, 0.08);

  --navbar-height: 72px;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-lg: 20px;
  --border-radius-md: 14px;
  --border-radius-sm: 10px;

  --particle-color: rgba(0, 100, 148, 0.35);
}

/* --- M3 Design Tokens (Dark) --- */
[data-theme="dark"] {
  --md-sys-color-primary: #8bceff;
  --md-sys-color-on-primary: #003450;
  --md-sys-color-primary-container: #004b70;
  --md-sys-color-on-primary-container: #c8e6ff;
  --md-sys-color-secondary: #b7c9d9;
  --md-sys-color-on-secondary: #22323f;
  --md-sys-color-secondary-container: #394856;
  --md-sys-color-on-secondary-container: #d3e5f5;
  --md-sys-color-tertiary: #d0bfe8;
  --md-sys-color-surface: #111416;
  --md-sys-color-surface-container: #1d2023;
  --md-sys-color-surface-container-high: #272a2e;
  --md-sys-color-on-surface: #e1e3e5;
  --md-sys-color-on-surface-variant: #c1c7ce;
  --md-sys-color-outline: #8b9298;
  --md-sys-color-outline-variant: #41474d;

  --gradient-1: #0a1628;
  --gradient-2: #0f2840;
  --gradient-3: #143a58;
  --gradient-4: #0d2035;

  --particle-color: rgba(139, 206, 255, 0.25);
}

/* --- Base Reset & Typography --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
  color: var(--md-sys-color-on-surface);
  background: var(--md-sys-color-surface);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition-smooth), color var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--md-sys-color-on-surface);
}

.display-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 1.1rem;
  max-width: 640px;
}

a {
  color: var(--md-sys-color-primary);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

a:hover {
  color: var(--sky-accent);
}

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

/* --- Animated Gradient Background --- */
.gradient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    -45deg,
    var(--gradient-1),
    var(--gradient-2),
    var(--gradient-3),
    var(--gradient-4)
  );
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Particle Canvas --- */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--sky-accent);
  outline-offset: 2px;
}

/* --- Navbar --- */
.navbar-iprohub {
  height: var(--navbar-height);
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
  padding: 0 1rem;
}

[data-theme="dark"] .navbar-iprohub {
  background: rgba(17, 20, 22, 0.88);
}

.navbar-iprohub.scrolled {
  box-shadow: var(--shadow-elevation-2);
}

.navbar-brand img {
  height: 44px;
  width: auto;
  transition: transform var(--transition-smooth);
}

.navbar-brand:hover img {
  transform: scale(1.04);
}

.nav-link {
  color: var(--md-sys-color-on-surface) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition-smooth), color var(--transition-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container) !important;
}

.nav-link.active {
  color: var(--md-sys-color-primary) !important;
  font-weight: 600;
}

/* --- M3 Buttons --- */
.btn-m3-filled {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
  box-shadow: var(--shadow-elevation-1);
  text-decoration: none;
}

.btn-m3-filled:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevation-3);
  color: var(--md-sys-color-on-primary);
  background: #005580;
}

[data-theme="dark"] .btn-m3-filled:hover {
  background: #a0d8ff;
  color: #003450;
}

.btn-m3-outlined {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.65rem;
  background: transparent;
  color: var(--md-sys-color-primary);
  border: 2px solid var(--md-sys-color-outline);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.btn-m3-outlined:hover {
  background: var(--md-sys-color-primary-container);
  border-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-primary);
  transform: translateY(-2px);
}

/* --- Theme Toggle --- */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--md-sys-color-primary-container);
  transform: rotate(15deg);
}

.theme-toggle .material-symbols-rounded {
  font-size: 22px;
}

/* --- Hero Section --- */
.hero-section {
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-motto {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--md-sys-color-primary);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-image-wrapper {
  position: relative;
  perspective: 1200px;
}

.hero-image-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevation-4);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.hero-image-card img {
  width: 100%;
  border-radius: var(--border-radius-lg);
}

.hero-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(77, 184, 232, 0.25) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* --- Section Spacing --- */
.section-padding {
  padding: 5rem 0;
}

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

.section-header .section-subtitle {
  margin: 0.75rem auto 0;
}

/* --- M3 Surface Cards --- */
.surface-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  transition: box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.surface-card:hover {
  box-shadow: var(--shadow-elevation-2);
  border-color: var(--md-sys-color-primary);
}

/* --- Service Cards (3D Parallax Hover) --- */
.service-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 100%;
  transform-style: preserve-3d;
  transition: box-shadow var(--transition-smooth);
  will-change: transform;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 100, 148, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
  z-index: 1;
}

.service-card:hover {
  box-shadow: var(--shadow-elevation-4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 1.75rem;
  position: relative;
  z-index: 2;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card-icon .material-symbols-rounded {
  font-size: 26px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--md-sys-color-primary);
  transition: gap var(--transition-smooth);
}

.service-card:hover .service-card-link {
  gap: 0.6rem;
}

/* --- Feature Grid --- */
.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius-md);
  background: var(--md-sys-color-surface-container);
  border: 1px solid transparent;
  height: 100%;
  transition: all var(--transition-smooth);
}

.feature-item:hover {
  border-color: var(--md-sys-color-primary-container);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevation-2);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--md-sys-color-primary-container), var(--sky-mid));
  color: var(--md-sys-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon .material-symbols-rounded {
  font-size: 32px;
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.9rem;
  margin: 0;
}

/* --- Mission / Vision Cards --- */
.mv-card {
  background: linear-gradient(145deg, var(--md-sys-color-primary-container), var(--md-sys-color-surface-container));
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  height: 100%;
  border: 1px solid var(--md-sys-color-outline-variant);
  position: relative;
  overflow: hidden;
}

.mv-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(77, 184, 232, 0.2), transparent);
  border-radius: 50%;
}

.mv-card .material-symbols-rounded {
  font-size: 40px;
  color: var(--md-sys-color-primary);
  margin-bottom: 1rem;
}

.mv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mv-card p {
  color: var(--md-sys-color-on-surface-variant);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* --- Stats Row --- */
.stats-row {
  background: var(--md-sys-color-surface-container-high);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--md-sys-color-outline-variant);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 500;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--md-sys-color-primary) 0%, #004b70 100%);
  border-radius: var(--border-radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, #004b70 0%, #002840 100%);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-section h2 {
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.cta-section .btn-m3-filled {
  background: #fff;
  color: var(--md-sys-color-primary);
  position: relative;
  z-index: 1;
}

.cta-section .btn-m3-filled:hover {
  background: var(--md-sys-color-primary-container);
}

/* --- Footer --- */
.site-footer {
  background: var(--md-sys-color-surface-container);
  border-top: 1px solid var(--md-sys-color-outline-variant);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}

.footer-brand img {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.9rem;
  transition: color var(--transition-smooth), padding-left var(--transition-smooth);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--md-sys-color-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--md-sys-color-outline-variant);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.85rem;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--md-sys-color-on-surface);
  transition: all var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  transform: translateY(-3px);
}

/* --- Inner Page (Policy / About) --- */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.page-hero .breadcrumb {
  justify-content: center;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.page-hero .lead {
  color: var(--md-sys-color-on-surface-variant);
  max-width: 680px;
  margin: 0.75rem auto 0;
}

.page-content {
  padding: 2rem 0 5rem;
}

.content-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-elevation-1);
}

.content-card h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--md-sys-color-primary);
}

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

.content-card h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-card p,
.content-card li {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.95rem;
}

.content-card ul,
.content-card ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.content-card li {
  margin-bottom: 0.4rem;
}

.content-card .last-updated {
  font-size: 0.85rem;
  color: var(--md-sys-color-outline);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* --- About Page Specific --- */
.about-name-meaning {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.meaning-card {
  background: var(--md-sys-color-primary-container);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
}

.meaning-card .letter {
  font-size: 2rem;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.meaning-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.meaning-card p {
  font-size: 0.85rem;
  color: var(--md-sys-color-on-primary-container);
  margin: 0;
  opacity: 0.85;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- Hover Shine Effect --- */
.hover-shine {
  position: relative;
  overflow: hidden;
}

.hover-shine::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.hover-shine:hover::after {
  left: 120%;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .hero-section {
    text-align: center;
    padding: 3rem 0 4rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image-wrapper {
    margin-top: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .content-card {
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .cta-section {
    padding: 3rem 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* --- Focus Visible (Accessibility) --- */
:focus-visible {
  outline: 3px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* --- Print --- */
@media print {
  .gradient-bg,
  #particles-canvas,
  .navbar-iprohub,
  .theme-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
