/* ==========================================================================
   ORVIX TECH — Premium Agency Website
   Table of Contents:
   1. CSS Variables & Theme
   2. Reset & Base
   3. Utilities & Layout
   4. Buttons
   5. Preloader / Cursor Glow
   6. Navbar
   7. Hero
   8. About
   9. Services
   10. Why Choose Us
   11. Portfolio
   12. Process / Timeline
   13. Testimonials
   14. Technologies
   15. CTA
   16. Contact
   17. Footer
   18. Back to top
   19. Scroll reveal animations
   20. Responsive
   ========================================================================== */

/* ---------- 1. CSS Variables & Theme ---------- */
:root {
  --primary: #0B3550;
  --secondary: #17658E;
  --accent: #2B8DC7;
  --accent-light: #5FB0E0;
  --bg-light: #F7FAFC;
  --bg-dark: #0B1017;
  --white: #FFFFFF;
  --gray: #6B7280;

  --bg: var(--bg-light);
  --bg-elevated: #FFFFFF;
  --bg-soft: #EEF3F7;
  --text: #0B1017;
  --text-muted: #55636F;
  --border: rgba(11, 53, 80, 0.10);
  --card-bg: rgba(255, 255, 255, 0.65);
  --card-border: rgba(255, 255, 255, 0.5);
  --nav-bg: rgba(247, 250, 252, 0.65);
  --shadow-color: rgba(11, 53, 80, 0.12);

  --gradient-primary: linear-gradient(135deg, var(--secondary), var(--accent));
  --gradient-dark: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-radial: radial-gradient(circle at 30% 20%, rgba(43,141,199,0.25), transparent 60%);

  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

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

  --shadow-sm: 0 4px 16px rgba(11, 53, 80, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 53, 80, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 53, 80, 0.16);
  --shadow-glow: 0 0 60px rgba(43, 141, 199, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease);
  --container-w: 1240px;
}

[data-theme="dark"] {
  --bg: var(--bg-dark);
  --bg-elevated: #121826;
  --bg-soft: #0F1522;
  --text: #F2F6F9;
  --text-muted: #9AA7B4;
  --border: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(18, 24, 38, 0.55);
  --card-border: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(11, 16, 23, 0.6);
  --shadow-color: rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

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

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

ul { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button { cursor: pointer; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }

svg { display: block; }

::selection { background: var(--accent); color: var(--white); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: var(--radius-full); }

/* ---------- 3. Utilities & Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 120px 0; }

.section-header { max-width: 680px; margin: 0 auto 64px; }
.section-header.reveal-up { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow.center { justify-content: center; width: 100%; }
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin-bottom: 20px;
  color: var(--text);
}
.section-title.center { text-align: center; }

.section-text { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; }
.section-text.center { text-align: center; }

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

.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- 4. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 14px 28px;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-gradient {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(43, 141, 199, 0.35);
  background-size: 200% 200%;
}
.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(43, 141, 199, 0.5);
  background-position: 100% 0;
}

.btn-glass {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.14);
  border-color: var(--accent);
}

.ripple { }
.ripple .ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(3); opacity: 0; }
}

/* ---------- 5. Preloader / Cursor Glow ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-logo { animation: spin-pulse 1.8s ease-in-out infinite; }
@keyframes spin-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(180deg); }
}
.preloader-bar {
  width: 160px; height: 3px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 40%;
  background: var(--gradient-primary);
  animation: loading-bar 1.2s ease-in-out infinite;
}
@keyframes loading-bar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,141,199,0.18), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.3s ease;
}
@media (max-width: 900px), (hover: none) {
  .cursor-glow { display: none; }
}

/* ---------- 6. Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.navbar.scrolled {
  padding: 12px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 32px var(--shadow-color);
}
.navbar.scrolled::after { opacity: 0.35; }

.nav-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s var(--ease);
}
.nav-logo:hover { transform: scale(1.04); }
.logo-img { height: 60px; width: auto; object-fit: contain; }
.logo-img--dark { display: none; }
[data-theme="dark"] .logo-img--light { display: none; }
[data-theme="dark"] .logo-img--dark { display: block; }

.footer-logo .logo-img { height: 52px; }

.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
}
.nav-menu-cta { display: none; }

.nav-pill {
  position: absolute;
  top: 4px; left: 0;
  height: calc(100% - 8px);
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  opacity: 0;
  transition: transform 0.35s var(--ease), width 0.35s var(--ease), opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}
.nav-menu:hover .nav-pill { opacity: 1; }

.nav-link {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute; left: 16px; right: 16px; bottom: 3px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { transform: scaleX(1); }

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

.theme-toggle {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.theme-toggle:hover { border-color: var(--accent); background: var(--bg-soft); }
.theme-toggle svg {
  position: absolute;
  transition: transform 0.45s var(--ease), opacity 0.3s ease;
}
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.theme-toggle .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

.nav-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
}
.nav-toggle span {
  width: 22px; height: 2px; margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

/* Asymmetric hand-placed color wash — deliberately off-center, not a symmetric grid of orbs */
.aurora-wash {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(38% 42% at 14% 12%, rgba(43, 141, 199, 0.38), transparent 68%),
    radial-gradient(46% 50% at 78% 68%, rgba(23, 101, 142, 0.30), transparent 70%),
    radial-gradient(30% 34% at 55% 92%, rgba(11, 53, 80, 0.22), transparent 72%);
  filter: blur(6px);
  animation: aurora-drift 22s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(-3%, 2.5%) rotate(3deg) scale(1.04); }
}

/* Slow rotating light beam for a signature, non-template feel */
.aurora-sweep {
  position: absolute;
  top: -40%; left: 30%;
  width: 140%; height: 180%;
  background: conic-gradient(from 210deg at 30% 30%, transparent 0deg, rgba(43,141,199,0.14) 40deg, transparent 110deg, rgba(11,53,80,0.12) 220deg, transparent 300deg);
  animation: sweep-rotate 40s linear infinite;
  mix-blend-mode: soft-light;
}
[data-theme="dark"] .aurora-sweep { mix-blend-mode: screen; opacity: 0.7; }
@keyframes sweep-rotate {
  to { transform: rotate(360deg); }
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: orb-float 16s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; background: var(--accent); top: -14%; left: 4%; animation-delay: 0s; }
.orb-2 { width: 360px; height: 360px; background: var(--primary); bottom: -16%; right: 10%; animation-delay: -6s; opacity: 0.3; }

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -24px) scale(1.06); }
  66% { transform: translate(-22px, 22px) scale(0.95); }
}

/* Fine film-grain texture — adds tactile depth instead of a flat template gradient */
.grain-overlay {
  position: absolute; inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] .grain-overlay { opacity: 0.08; }

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

.hero-content { max-width: 620px; }

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  margin-bottom: 24px;
  color: var(--text);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.9rem; }
.trust-avatars { display: flex; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: var(--gradient-primary);
}
.avatar:first-child { margin-left: 0; }
.av-1 { background: linear-gradient(135deg, #2B8DC7, #17658E); }
.av-2 { background: linear-gradient(135deg, #17658E, #0B3550); }
.av-3 { background: linear-gradient(135deg, #5FB0E0, #2B8DC7); }
.av-4 { background: linear-gradient(135deg, #0B3550, #17658E); }
.avatar-more, .av-more {
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: var(--white);
  background: var(--primary);
}

.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: var(--radius-full);
  border: 2px solid var(--border);
  z-index: 2;
}
.scroll-indicator span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 8px; border-radius: var(--radius-full);
  background: var(--accent);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 480px;
}

.hero-image-frame {
  position: relative;
  aspect-ratio: 4 / 4.3;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  filter: drop-shadow(0 30px 50px rgba(11, 53, 80, 0.28));
  animation: blob-morph 13s ease-in-out infinite;
}

@keyframes blob-morph {
  0%, 100% { border-radius: 68% 32% 62% 38% / 42% 66% 34% 58%; }
  25%      { border-radius: 42% 58% 70% 30% / 62% 40% 60% 38%; }
  50%      { border-radius: 34% 66% 40% 60% / 68% 32% 62% 38%; }
  75%      { border-radius: 62% 38% 32% 68% / 38% 68% 30% 62%; }
}

.hero-image-glow {
  position: absolute; inset: -24%;
  background: var(--gradient-radial);
  filter: blur(70px);
  opacity: 0.65;
  z-index: -1;
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-full);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(11, 53, 80, 0.18);
  animation: badge-float 5s ease-in-out infinite;
}
.hero-float-card strong { display: block; font-size: 1rem; color: var(--text); }
.hero-float-card span { font-size: 0.78rem; color: var(--text-muted); }
.hero-float-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
}
.hero-float-stars { color: #F5B301; font-size: 0.9rem; letter-spacing: 1px; }

.card-top { top: 10%; left: -6%; animation-delay: 0s; }
.card-bottom { bottom: 6%; right: -6%; animation-delay: -2.5s; }

/* ---------- 8. About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-card {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-glow {
  position: absolute; inset: -14%;
  background: var(--gradient-radial);
  filter: blur(50px);
  z-index: -1;
}
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease);
}
.about-card:hover .about-image { transform: scale(1.02); }

.floating-badge {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem; font-weight: 600;
  color: var(--text);
  animation: badge-float 5s ease-in-out infinite;
}
.floating-badge svg { color: var(--accent); flex-shrink: 0; }
.badge-1 { top: 8%; right: -8%; animation-delay: 0s; }
.badge-2 { bottom: 10%; left: -10%; animation-delay: -2.5s; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.about-points { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 40px; }
.about-point { display: flex; gap: 16px; align-items: flex-start; }
.about-point svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.about-point strong { display: block; margin-bottom: 2px; color: var(--text); }
.about-point span { color: var(--text-muted); font-size: 0.92rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-wrap: wrap; align-items: baseline; }
.stat-number, .stat-suffix {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-item p { width: 100%; color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }

/* ---------- 9. Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-radial);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: var(--white);
  margin-bottom: 22px;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-6deg); }

.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- 10. Why Choose Us ---------- */
.why-us { background: var(--bg-soft); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card svg { color: var(--accent); margin-bottom: 16px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- 11. Portfolio ---------- */
.portfolio-filter {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 12px; margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500; font-size: 0.9rem;
  transition: all 0.3s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--accent); }
.filter-btn.active { background: var(--gradient-primary); color: var(--white); border-color: transparent; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.portfolio-card { border-radius: var(--radius-lg); overflow: hidden; }
.portfolio-card.is-hidden { display: none; }

.portfolio-image {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
}
.portfolio-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio-image::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,16,23,0.05) 0%, rgba(11,16,23,0.25) 100%);
  z-index: 1;
  pointer-events: none;
}

.portfolio-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(0deg, rgba(11,16,23,0.9) 0%, rgba(11,16,23,0.2) 60%, transparent 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; transform: translateY(0); }
.portfolio-image img { transition: transform 0.6s var(--ease); }
.portfolio-card:hover .portfolio-image img { transform: scale(1.08); }

.portfolio-cat { color: var(--accent-light); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.portfolio-overlay h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 16px; }
.portfolio-overlay .btn { align-self: flex-start; }

/* ---------- 12. Process / Timeline ---------- */
.process { background: var(--bg-soft); }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.timeline-line {
  position: absolute; top: 22px; left: 0; right: 0; height: 2px;
  background: var(--border);
  z-index: 0;
}
.timeline-progress {
  display: block; height: 100%; width: 0%;
  background: var(--gradient-primary);
  transition: width 1.2s var(--ease);
}
.timeline-step { position: relative; z-index: 1; text-align: center; }
.step-number {
  width: 44px; height: 44px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700; font-size: 0.9rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.timeline-step:hover .step-number {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.12);
}
.timeline-step h3 { font-size: 1rem; margin-bottom: 8px; }
.timeline-step p { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- 13. Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  padding: 34px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stars { color: #F5B301; letter-spacing: 3px; margin-bottom: 16px; font-size: 1rem; }
.testimonial-text { color: var(--text); font-size: 0.98rem; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover;
  border: 2px solid var(--card-border);
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { color: var(--text-muted); font-size: 0.82rem; }

/* ---------- 14. Technologies ---------- */
.tech-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.tech-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.tech-marquee:hover .tech-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tech-chip {
  padding: 16px 30px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-weight: 600; font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.tech-chip:hover { transform: translateY(-4px); color: var(--accent); border-color: var(--accent); }

/* ---------- 15. CTA ---------- */
.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  overflow: hidden;
}
.cta-bg-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.16;
  z-index: -2;
}
.cta-glow {
  position: absolute; inset: 0;
  background: var(--gradient-radial), linear-gradient(180deg, var(--bg-elevated) 0%, transparent 40%);
  opacity: 0.85;
  z-index: -1;
}
.cta-box h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.cta-box p { color: var(--text-muted); max-width: 520px; margin: 0 auto 34px; }

/* ---------- 16. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
a.contact-item:hover { transform: translateX(6px); border-color: var(--accent); }
.contact-item svg { color: var(--accent); flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.92rem; }
.contact-item span { color: var(--text-muted); font-size: 0.85rem; }

.contact-form { padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(43,141,199,0.15);
}
.form-submit { justify-content: center; width: 100%; margin-top: 4px; }
.form-note { font-size: 0.85rem; color: var(--accent); min-height: 1.2em; text-align: center; }

/* ---------- 17. Footer ---------- */
.footer {
  position: relative;
  background: var(--bg-dark);
  color: #C7D2DB;
  padding-top: 90px;
  overflow: hidden;
}
.footer-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(43,141,199,0.18), transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin: 18px 0 22px; color: #8B98A5; font-size: 0.92rem; max-width: 300px; }
.footer .nav-logo-text { color: var(--white); }

.social-icons { display: flex; gap: 12px; }
.social-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  color: #C7D2DB;
  transition: all 0.3s ease;
}
.social-icon:hover { background: var(--gradient-primary); border-color: transparent; color: var(--white); transform: translateY(-4px); }

.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { color: #8B98A5; font-size: 0.9rem; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-col a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact li { color: #8B98A5; font-size: 0.9rem; }

.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 24px; flex-wrap: wrap; gap: 10px;
  font-size: 0.85rem; color: #6B7684;
}

/* ---------- 18. Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 500;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- 19. Scroll reveal ---------- */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-up { transform: translateY(36px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.in-view, .reveal-left.in-view, .reveal-right.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

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

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .timeline-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 26px;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open .nav-link { width: 100%; padding: 12px 0; }
  .nav-menu-cta { display: block; width: 100%; margin-top: 10px; }

  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto 20px; }

  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { order: 2; max-width: 400px; margin: 0 auto; }
  .about-card { aspect-ratio: 1/0.85; }

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

@media (max-width: 720px) {
  section { padding: 84px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .floating-badge, .hero-float-card { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .timeline { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 80px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
