/* ==========================================================================
   MIKK COMPUTERS / MIKK TECH - MASTER ENTERPRISE DESIGN SYSTEM
   Modern, Mobile-First, High-Conversion Corporate White Background Theme
   ========================================================================== */

:root {
  /* Color Palette - Clean Corporate Light Theme */
  --bg-dark: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-alt: #f8fafc;
  
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-glow: rgba(2, 132, 199, 0.18);
  
  --emerald: #10b981;
  --emerald-hover: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  
  --amber: #f59e0b;
  --purple: #8b5cf6;
  --danger: #ef4444;
  
  /* Text */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  /* Borders & Shadows */
  --border: #e2e8f0;
  --border-focus: #0284c7;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.07), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 4px 20px rgba(2, 132, 199, 0.15);
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--trans-fast);
}
a:hover {
  color: var(--primary-hover);
}

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

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  position: relative;
  background-color: var(--bg-dark);
}

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

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--emerald); }
.text-danger { color: var(--danger); }
.text-primary { color: var(--primary); }
.small { font-size: 0.85rem; }

/* Responsive utility toggles */
@media (max-width: 768px) {
  .d-none-sm { display: none !important; }
  .d-block-sm { display: block !important; }
}
@media (min-width: 769px) {
  .d-none-md { display: none !important; }
}

/* Cards & Glassmorphism */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-normal), border-color var(--trans-normal), box-shadow var(--trans-normal);
}
.glass-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

/* Badges & Section Titles */
.section-title-wrap {
  margin-bottom: 48px;
}
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #f0f9ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
  border: 1px solid #bae6fd;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.3rem;
  margin-bottom: 14px;
  color: var(--text-main);
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--trans-fast);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0369a1);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0284c7, #075985);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}
.btn-outline-primary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover {
  background: #f0f9ff;
  color: var(--primary-hover);
}
.btn-outline-light {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-main);
}
.btn-outline-light:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--text-main);
}
.btn-whatsapp-header, .btn-whatsapp-hero {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
}
.btn-whatsapp-header:hover, .btn-whatsapp-hero:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}
.btn-block {
  width: 100%;
}

/* ==========================================================================
   TOP BAR & NAVIGATION HEADER
   ========================================================================== */
.top-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  padding: 8px 0;
  color: var(--text-muted);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  gap: 20px;
  align-items: center;
}
.top-bar-left a {
  color: var(--text-muted);
}
.top-bar-left a:hover {
  color: var(--primary);
}
.top-bar-left i {
  color: var(--primary);
  margin-right: 4px;
}
.top-bar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.top-link-highlight {
  color: var(--primary);
  font-weight: 600;
}
.top-link-admin {
  color: var(--text-dim);
  font-weight: 500;
}
.top-link-admin:hover {
  color: var(--text-main);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: padding var(--trans-fast);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-icon {
  width: 44px;
  height: 44px;
  background: #f0f9ff;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
}
.brand-highlight {
  color: var(--primary);
}
.brand-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 2px;
}

/* Desktop Menu */
.desktop-nav .nav-links {
  display: flex;
  gap: 24px;
}
.nav-item {
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
}
.nav-item:hover, .nav-item.active {
  color: var(--primary);
}
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--trans-fast);
}
.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle .bar {
  width: 26px;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--trans-fast);
}

@media (max-width: 991px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex; }
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-normal);
}
.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right var(--trans-normal);
}
.mobile-drawer.active {
  right: 0;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.drawer-close {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 32px;
  cursor: pointer;
}
.drawer-links li {
  margin-bottom: 8px;
}
.drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #334155;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast);
}
.drawer-links a:hover, .drawer-links a.active {
  background: #f0f9ff;
  color: var(--primary);
}
.drawer-btn-quote {
  background: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  margin-top: 12px;
}
.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.drawer-footer p {
  margin-bottom: 4px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
              #ffffff;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #f0f9ff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  border: 1px solid #bae6fd;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #0f172a 60%, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 580px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust-indicators {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-item i {
  color: var(--emerald);
  margin-right: 6px;
}

/* Hero Visual / Code Card Stack */
.hero-visual {
  position: relative;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  min-height: 380px;
}
.tech-glow-backdrop {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.hero-floating-card {
  position: relative;
  z-index: 1;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.card-header-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: #090e1f;
  border-bottom: 1px solid #1e293b;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }
.card-title-pill {
  margin-left: auto;
  font-size: 10px;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 1px;
}
.card-code-preview {
  padding: 24px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  color: #cbd5e1;
  background: #0b1124;
}
.card-code-preview .keyword { color: #f43f5e; }
.card-code-preview .var { color: #38bdf8; }
.card-code-preview .prop { color: #a78bfa; }
.card-code-preview .str { color: #34d399; }
.card-code-preview .fn { color: #fbbf24; }

.hero-metric-card {
  position: absolute;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.metric-top { top: -20px; right: -10px; }
.metric-bottom { bottom: -20px; left: -10px; }
.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}
.bg-emerald { background: var(--emerald); }
.bg-blue { background: #0284c7; }
.bg-purple { background: var(--purple); }
.bg-amber { background: var(--amber); }
.metric-num { font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.metric-lbl { font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { margin: 0 auto 30px; }
  .hero-buttons { justify-content: center; }
  .hero-trust-indicators { justify-content: center; }
  .hero-visual { margin-top: 30px; }
}

/* ==========================================================================
   STATISTICS ROW
   ========================================================================== */
.stats-section {
  padding: 44px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-card {
  padding: 15px;
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}
.stat-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}

@media (max-width: 991px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   ABOUT SUMMARY & FOUNDER CARDS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.about-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-normal), box-shadow var(--trans-normal);
}
.about-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}
.about-card h3 {
  font-size: 1.25rem;
  margin: 14px 0 8px;
  color: #0f172a;
}
.about-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.about-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #f0f9ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Founder Highlight Card */
.founder-highlight-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.founder-avatar-box {
  text-align: center;
}
.founder-avatar-inner {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #f0f9ff;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 70px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.15);
}
.founder-verified-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #ecfdf5;
  color: var(--emerald-hover);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid #a7f3d0;
}
.founder-role-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.founder-heading {
  font-size: 1.8rem;
  margin: 6px 0 12px;
  color: #0f172a;
}
.founder-bio-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.founder-meta-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 24px;
}
.founder-meta-pills span i {
  color: var(--primary);
  margin-right: 4px;
}
.founder-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 850px) {
  .about-grid { grid-template-columns: 1fr; }
  .founder-highlight-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-meta-pills { justify-content: center; }
  .founder-actions { justify-content: center; }
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-normal);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-glow);
}
.service-icon-box {
  width: 54px;
  height: 54px;
  background: #f0f9ff;
  border-radius: 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.service-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service-title a {
  color: #0f172a;
}
.service-title a:hover {
  color: var(--primary);
}
.service-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}
.service-feature-list {
  margin-bottom: 20px;
}
.service-feature-list li {
  font-size: 0.84rem;
  color: #334155;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-feature-list li i {
  color: var(--emerald);
}
.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.service-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.service-price strong {
  color: var(--emerald);
  font-size: 1.05rem;
}
.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 991px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PROJECTS / PORTFOLIO GRID
   ========================================================================== */
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-normal);
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}
.project-image-box {
  position: relative;
  height: 200px;
  background: #f1f5f9;
  overflow: hidden;
}
.project-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-normal);
}
.project-card:hover .project-image-box img {
  transform: scale(1.05);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity var(--trans-fast);
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.project-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.project-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.78rem;
}
.project-category-badge {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}
.project-client {
  color: var(--text-dim);
}
.project-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.project-title a {
  color: #0f172a;
}
.project-title a:hover {
  color: var(--primary);
}
.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.tech-tag {
  background: #f1f5f9;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: #475569;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.project-card-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

@media (max-width: 991px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* Portfolio Filters & Search Bar */
.portfolio-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.portfolio-search-form {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-wrap .search-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
}
.search-input-wrap input {
  width: 100%;
  padding: 12px 100px 12px 42px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: #0f172a;
  font-size: 0.95rem;
}
.search-input-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.search-input-wrap button {
  position: absolute;
  right: 6px;
  border-radius: var(--radius-full);
}
.category-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.filter-pill {
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}
.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   TECH STACK DISPLAY
   ========================================================================== */
.tech-category-groups {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.tech-group-title {
  font-size: 1.3rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
}
.tech-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tech-badge-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.tech-badge-card .tech-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #f0f9ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.tech-badge-card .tech-info {
  flex-grow: 1;
}
.tech-badge-card .tech-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 6px;
}
.tech-pct-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 4px;
}
.tech-pct-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--emerald));
  border-radius: var(--radius-full);
}
.tech-pct-text {
  font-size: 0.75rem;
  color: var(--text-dim);
}

@media (max-width: 850px) {
  .tech-badges-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WHY CHOOSE US GRID
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.why-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #bae6fd;
  margin-bottom: 8px;
}
.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0f172a;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TESTIMONIALS & FAQ ACCORDION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars {
  color: var(--amber);
  margin-bottom: 14px;
  font-size: 14px;
}
.testimonial-quote {
  font-size: 0.95rem;
  color: #334155;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f9ff;
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.author-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
}

@media (max-width: 850px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* FAQ Accordion */
.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-accordion-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.faq-icon {
  color: var(--primary);
  transition: transform var(--trans-fast);
}
.faq-accordion-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer-panel {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   BLOG GRID
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-normal), box-shadow var(--trans-normal);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-image-box {
  position: relative;
  height: 180px;
  background: #f1f5f9;
}
.blog-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-read-time {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: #ffffff;
}
.blog-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.blog-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.blog-title a { color: #0f172a; }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 850px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 70px 0;
  background: #ffffff;
}
.cta-banner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  box-shadow: var(--shadow-lg);
}
.cta-content {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}
.cta-pill {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.cta-title {
  font-size: 2.3rem;
  margin-bottom: 14px;
  color: #ffffff;
}
.cta-subtitle {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.cta-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FLOATING WHATSAPP & BACK TO TOP
   ========================================================================== */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--trans-fast);
}
.whatsapp-floating:hover {
  transform: scale(1.1);
  color: #ffffff;
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #0f172a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--trans-fast);
}
.whatsapp-floating:hover .whatsapp-tooltip {
  opacity: 1;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: all var(--trans-fast);
}
.back-to-top.active {
  display: flex;
}
.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   SITE FOOTER (Clean Corporate Light Theme)
   ========================================================================== */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 16px 0;
}
.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-fast);
}
.footer-socials a:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.footer-heading {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: #0f172a;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(3px);
}
.footer-contact-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-info a {
  color: var(--text-muted);
}
.footer-contact-info a:hover {
  color: var(--primary);
}
.footer-newsletter {
  margin-top: 20px;
}
.newsletter-intro {
  font-size: 0.85rem;
  color: #0f172a;
  margin-bottom: 10px;
  font-weight: 600;
}
.newsletter-input-group {
  display: flex;
}
.newsletter-input-group input {
  flex-grow: 1;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: #0f172a;
  font-size: 0.85rem;
}
.newsletter-input-group input:focus {
  outline: none;
  border-color: var(--primary);
}
.newsletter-input-group button {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  background: #f1f5f9;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-legal-links a {
  color: var(--text-dim);
}
.footer-legal-links a:hover {
  color: var(--primary);
}
.admin-quick-link {
  color: var(--text-muted) !important;
  font-weight: 600;
}

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   PAGE HERO (INNER PAGES)
   ========================================================================== */
.page-hero {
  padding: 60px 0;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero-badge {
  display: inline-block;
  padding: 4px 14px;
  background: #f0f9ff;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
  border: 1px solid #bae6fd;
  margin-bottom: 14px;
}
.page-hero-title {
  font-size: 2.6rem;
  margin-bottom: 12px;
  color: #0f172a;
}
.page-hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 16px;
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--primary);
}

/* ==========================================================================
   FORMS & DETAIL LAYOUTS
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: #0f172a;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.col-md-6 {
  flex: 1 1 calc(50% - 8px);
}
@media (max-width: 650px) {
  .col-md-6 { flex: 1 1 100%; }
}

/* Detail page layout (Left: content, Right: sidebar) */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget .widget-header h4 {
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
  color: #0f172a;
}
.sidebar-nav-list li {
  margin-bottom: 8px;
}
.sidebar-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
}
.sidebar-nav-list a:hover, .sidebar-nav-list a.active {
  background: #f0f9ff;
  color: var(--primary);
}

/* Alerts */
.flash-container {
  margin-top: 20px;
}
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}
.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.alert-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

/* Data Table Responsive */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.data-table th {
  padding: 14px 18px;
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: #334155;
  font-size: 0.9rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.pricing-amount {
  margin: 18px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-amount .currency { font-size: 1.4rem; color: var(--primary); font-weight: 700; }
.pricing-amount .value { font-size: 2.4rem; font-weight: 800; font-family: 'Outfit'; color: #0f172a; }
.pricing-amount .period { font-size: 0.82rem; color: var(--text-dim); }
.pricing-features {
  margin-bottom: 24px;
  flex-grow: 1;
}
.pricing-features li {
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li i {
  color: var(--emerald);
}

@media (max-width: 850px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PREMIUM ENHANCEMENTS: SCROLL ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero background animated shapes */
.hero-background-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-content, .hero-visual {
  position: relative;
  z-index: 1;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatShape 10s ease-in-out infinite;
}
.shape-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  bottom: -50px;
  left: -80px;
  animation: floatShape 14s ease-in-out infinite reverse;
}
.shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation: floatShape 8s ease-in-out infinite 2s;
}
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.97); }
}

/* Animate-fade-in for hero badge */
.animate-fade-in {
  animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title {
  animation: fadeInUp 0.9s 0.15s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-subtitle {
  animation: fadeInUp 0.9s 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-buttons {
  animation: fadeInUp 0.9s 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-trust-indicators {
  animation: fadeInUp 0.9s 0.52s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-visual {
  animation: fadeInRight 1s 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Floating card animation */
.hero-floating-card {
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Metric cards float with slight delay */
.metric-top {
  animation: floatCardAlt 5s 1s ease-in-out infinite;
}
.metric-bottom {
  animation: floatCardAlt 5s 2s ease-in-out infinite;
}
@keyframes floatCardAlt {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -8px); }
}

/* Sticky header scroll shadow enhancement */
.main-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* Why card hover lift */
.why-card {
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}

/* Service icon box pop on hover */
.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--primary), #0369a1);
  color: #ffffff;
  transform: scale(1.1) rotate(-5deg);
  transition: all var(--trans-normal);
}
.service-icon-box {
  transition: all var(--trans-normal);
}

/* Tech badge card hover */
.tech-badge-card {
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
}
.tech-badge-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: #93c5fd;
}
.tech-badge-card:hover .tech-icon {
  background: linear-gradient(135deg, var(--primary), #0369a1);
  color: #ffffff;
  transition: all var(--trans-normal);
}

/* Testimonial card hover */
.testimonial-card {
  transition: transform var(--trans-normal), box-shadow var(--trans-normal);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bae6fd;
}

/* CTA Banner animated gradient border */
.cta-banner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0c2340 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.cta-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(2,132,199,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(16,185,129,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Stats section number glow */
.stat-number {
  transition: transform var(--trans-normal);
}
.stat-card:hover .stat-number {
  transform: scale(1.08);
}

/* Section badge micro-animation */
.section-badge {
  transition: background var(--trans-fast), transform var(--trans-fast);
}
.section-badge:hover {
  background: #e0f2fe;
  transform: scale(1.03);
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--emerald));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* Mobile responsive improvements */
@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .cta-title { font-size: 1.75rem; }
  .cta-banner-card { padding: 40px 24px; }
  .founder-highlight-card { padding: 24px 20px; }
}

