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

:root {
  color-scheme: dark;
  --bg: #02040a;
  --surface: rgba(8, 12, 28, 0.45);
  --surface-strong: rgba(4, 6, 14, 0.9);
  --surface-hover: rgba(12, 20, 44, 0.65);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 240, 255, 0.3);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #00f0ff;
  --primary-rgb: 0, 240, 255;
  --primary-strong: #00b8cc;
  --secondary: #7000ff;
  --secondary-rgb: 112, 0, 255;
  --accent: #ff007a;
  --accent-rgb: 255, 0, 122;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.15);
  --nav-height: 80px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
}

body.loading {
  overflow: hidden;
}

/* Background Effects */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: #02040a;
}

.bg-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 60%, transparent 100%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.8) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(112, 0, 255, 0.8) 0%, transparent 70%);
  bottom: -15%;
  right: -10%;
  animation: floatOrb 25s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 122, 0.6) 0%, transparent 70%);
  top: 40%;
  left: 60%;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  background: #020408;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-spinner {
  width: 70px;
  height: 70px;
  border: 4px solid rgba(0, 240, 255, 0.1);
  border-left-color: var(--primary);
  border-right-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  color: var(--primary);
  text-transform: uppercase;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background: rgba(2, 4, 10, 0.8);
  backdrop-filter: blur(20px);
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand span {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Main Container */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 2rem) 2rem 5rem;
  position: relative;
  z-index: 10;
}

/* General Layout Elements */
.section {
  margin-bottom: 8rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-top: 0.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text) 50%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow), var(--shadow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #020408;
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.25);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

/* HERO SECTION */
.hero {
  min-height: calc(100vh - var(--nav-height) - 4rem);
  display: grid;
  align-content: center;
  padding: 2rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text) 30%, #a5b4fc 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-chips span {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.3s ease;
}

.hero-chips span:hover {
  border-color: var(--primary);
  color: var(--text);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.hero-image {
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: 4/3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image:hover img {
  transform: scale(1.04);
}

.hero-panel {
  position: absolute;
  bottom: -20px;
  right: -20px;
  max-width: 340px;
  background: rgba(8, 12, 28, 0.8);
  border: 1px solid var(--border-hover);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.hero-panel p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Floating 3D Technology Elements */
.float-element {
  position: absolute;
  pointer-events: none;
  animation: floatRing 8s ease-in-out infinite alternate;
  z-index: 2;
}

.float-element.ring-1 {
  width: 80px;
  height: 80px;
  border: 2px dashed rgba(0, 240, 255, 0.3);
  border-radius: 50%;
  top: -20px;
  left: -20px;
  animation-duration: 12s;
}

.float-element.ring-2 {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(112, 0, 255, 0.2);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  bottom: -30px;
  left: -10px;
  animation-duration: 10s;
  animation-delay: -2s;
}

.float-element.dot-1 {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent);
  top: 30%;
  right: -10px;
  animation-duration: 7s;
}

@keyframes floatRing {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(180deg); }
}

/* STATS SECTION */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 8rem;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(0, 240, 255, 0.02);
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateY(-5px);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* SERVICES CARD GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 4, 10, 0.95) 90%);
  z-index: 2;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  z-index: 0;
}

.service-card:hover .service-card-bg {
  opacity: 0.35;
  transform: scale(1.05);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow), var(--shadow);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 3;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 3;
}

/* SERVICES LIST PAGE */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem;
  border-radius: 28px;
}

.service-detail:nth-child(even) {
  grid-template-columns: 1.2fr 0.8fr;
}

.service-detail:nth-child(even) .service-meta {
  order: 2;
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-meta-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.service-meta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-detail:hover .service-meta-img img {
  transform: scale(1.05);
}

.service-info h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-info p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.service-bullets {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.service-bullets li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
  color: var(--text);
}

.service-bullets li strong {
  color: var(--primary);
  font-weight: 600;
}

.service-bullets li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1rem;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tech-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  background: rgba(112, 0, 255, 0.08);
  border: 1px solid rgba(112, 0, 255, 0.2);
  color: #c7d2fe;
}

/* PORTFOLIO GRID & DETAILS */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--shadow);
}

.project-image-wrapper {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image-wrapper img {
  transform: scale(1.06);
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.project-challenge,
.project-solution {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.project-challenge strong,
.project-solution strong {
  color: var(--text);
  font-weight: 600;
}

.project-stack {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow), var(--shadow);
}

/* Filter Controls */
.filter-panel {
  margin-bottom: 3rem;
}

.filter-controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(112, 0, 255, 0.15));
  border-color: var(--primary);
  color: var(--text);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* CASE STUDIES CAROUSEL */
.case-studies {
  position: relative;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.case-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem;
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: none;
}

.case-card.active {
  display: grid;
  animation: fadeSlideIn 0.5s ease forwards;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.case-card-copy {
  display: flex;
  flex-direction: column;
}

.case-card-copy h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.case-card-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.case-card-copy ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.case-card-copy ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.case-card-copy ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.case-card-media {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TESTIMONIALS SLIDER */
.testimonials {
  position: relative;
}

.testimonial-slider {
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

.testimonial-card {
  padding: 3rem;
  text-align: center;
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeSlideIn 0.5s ease forwards;
}

.testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.testimonial-card strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
}

/* INDUSTRIES PAGE & GRIDS */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.industry-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.3s ease;
}

.industry-grid span:hover {
  background: rgba(0, 240, 255, 0.03);
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-2px);
}

.industry-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-showcase article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.industry-showcase article:hover {
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.02);
  transform: translateY(-4px);
}

.industry-showcase article h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.industry-showcase article p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.three-column-grid article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}

.three-column-grid article h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.three-column-grid article p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ABOUT PAGE & TIMELINE */
.leadership {
  margin-top: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-grid article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-grid article:hover {
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.02);
  transform: translateY(-4px);
}

.team-grid article strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.team-grid article span {
  font-size: 0.85rem;
  color: var(--primary);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  list-style: none;
  gap: 2.5rem;
  margin-top: 2rem;
}

.timeline-list li {
  position: relative;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: -2.35rem;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.timeline-list li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.cert-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--muted);
  transition: all 0.3s ease;
}

.cert-grid span:hover {
  border-color: var(--primary);
  color: var(--text);
  transform: scale(1.02);
}

/* PRICING PLANS */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.price-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card.highlight {
  background: linear-gradient(180deg, rgba(112, 0, 255, 0.15) 0%, rgba(2, 4, 10, 0.4) 100%);
  border-color: var(--secondary);
  box-shadow: 0 15px 35px rgba(112, 0, 255, 0.25);
  position: relative;
}

.price-card.highlight::after {
  content: "RECOMMENDED";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--secondary);
  color: var(--text);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.price-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.price-card ul li {
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  padding-left: 1.25rem;
}

.price-card ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.comparison {
  margin-top: 5rem;
}

.comparison table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.comparison th,
.comparison td {
  padding: 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}

.comparison td {
  font-size: 0.95rem;
  color: var(--muted);
}

.comparison tr:hover td {
  color: var(--text);
  background: rgba(255, 255, 255, 0.01);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.support-grid article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}

.support-grid article h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.support-grid article p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* CAREERS & OPEN ROLES */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.role-grid article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.role-grid article:hover {
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.02);
  transform: translateY(-4px);
}

.role-grid article h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.role-grid article p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefits-grid article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}

.benefits-grid article h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.benefits-grid article p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* CONTACT PAGE & FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.contact-details article:hover {
  border-color: var(--primary);
}

.contact-details article h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact-details article p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.contact-details article a {
  font-family: var(--font-display);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-details article a:hover {
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form span {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.02);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

/* Map Styling */
.map-card {
  margin-top: 5rem;
}

#map {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  border: 1px solid var(--border);
  z-index: 10;
}

.map-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* Footer & Other elements */
.contact-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(112, 0, 255, 0.15) 0%, rgba(0, 240, 255, 0.05) 100%);
  border: 1px solid var(--border);
  margin-bottom: 8rem;
}

.contact-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
  background: rgba(2, 4, 10, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

/* FAB Buttons & Cursor */
.back-to-top,
.whatsapp-fab {
  position: fixed;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020408;
  font-size: 1.3rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
}

.back-to-top {
  bottom: 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 240, 255, 0.4);
}

.whatsapp-fab {
  bottom: 6.5rem;
  background: #25d366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-fab:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

.custom-cursor.hovering {
  width: 20px;
  height: 20px;
  background: rgba(var(--primary-rgb), 0.2);
}

.custom-cursor-ring.hovering {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.03);
}

/* Responsive Grid Adapters */
@media (max-width: 1200px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .stats-panel {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-grid,
  .portfolio-grid,
  .service-detail,
  .service-detail:nth-child(even),
  .case-card,
  .industry-showcase,
  .three-column-grid,
  .team-grid,
  .role-grid,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .service-detail,
  .service-detail:nth-child(even) {
    padding: 2.5rem;
    gap: 2rem;
  }
  
  .service-detail:nth-child(even) .service-meta {
    order: 0;
  }
  
  .case-card {
    padding: 2.5rem;
    gap: 2rem;
  }
  
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }
  
  main {
    padding: calc(var(--nav-height) + 1rem) 1rem 3.5rem;
  }
  
  .section {
    margin-bottom: 4rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .glass-card {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--surface-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--border);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .hero-copy h1 {
    font-size: 2.3rem;
  }
  
  .hero-text {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }
  
  .hero-actions {
    gap: 1rem;
  }
  
  .stats-panel {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.75rem 1.25rem;
    min-height: 240px;
  }
  
  .service-detail,
  .service-detail:nth-child(even),
  .case-card,
  .testimonial-card,
  .contact-details article,
  .contact-cta,
  .role-grid article,
  .benefits-grid article {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
  }
  
  .service-info h2 {
    font-size: 1.8rem;
  }
  
  .case-card-copy h3 {
    font-size: 1.6rem;
  }
  
  .testimonial-card p {
    font-size: 1.15rem;
  }
  
  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  #map {
    height: 320px;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .custom-cursor,
  .custom-cursor-ring {
    display: none;
  }
  
  /* Horizontal Table scroll wrapper for mobile */
  .table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-top: 1.5rem;
    background: rgba(255,255,255,0.01);
  }
  
  .table-wrapper table {
    min-width: 580px;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .price-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

