/* ==========================================================================
   MAHRIVA SOLUTIONS LIMITED - FUTURISTIC DIGITAL UNIVERSE STYLESHEET
   (FULLY MOBILE RESPONSIVE & PRODUCTION-READY VERSION)
   ========================================================================== */

:root {
  /* Colors */
  --bg-dark: #050a14;
  --bg-card: rgba(13, 22, 40, 0.65);
  --bg-card-hover: rgba(20, 35, 65, 0.85);
  --border-glow: rgba(0, 240, 255, 0.2);
  --border-glow-active: rgba(0, 240, 255, 0.6);
  
  --primary-cyan: #00f0ff;
  --primary-blue: #0066ff;
  --primary-purple: #7000ff;
  --primary-orange: #ff6b00;
  
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-white: #ffffff;
  
  /* Fonts */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-display: 'Orbitron', sans-serif;
  
  /* Transitions & Radii */
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  width: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Custom Cursor (Desktop Only) */
.custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
}

.custom-cursor-follower {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid var(--primary-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, border-color 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

body.cursor-hover .custom-cursor {
  transform: translate(-50%, -50%) scale(2);
  background: var(--primary-orange);
}
body.cursor-hover .custom-cursor-follower {
  transform: translate(-50%, -50%) scale(1.8);
  border-color: var(--primary-orange);
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-purple) 50%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section-padding {
  padding: 120px 0;
}

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

.section-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--primary-cyan);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
  word-break: break-word;
}

.section-description {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  white-space: nowrap;
}
/* Parent Dropdown item positioning */
.dropdown {
  position: relative;
}

.dropdown-icon {
  font-size: 11px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

/* Submenu container (Hidden by default) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0d1117; /* Dark background matching nav */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
  list-style: none;
}

/* Dropdown link items */
.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  color: #c9d1d9;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: rgba(0, 210, 255, 0.1); /* Subtle cyan highlight */
  color: #00d2ff;
}

/* Hover effect to show menu */
.dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-cta {
  border-radius: 6px !important;
  padding: 6px 16px !important;   /* Button-er vitorer gap/size komabe */
  font-size: 14px !important;     /* Text eksechar choto korbe */
  margin-left: 16px !important;    /* Contact link theke durotto toiri korbe */
}
.logo {
    width: 420px;
    height: auto;
    display: block;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
  color: #000;
  box-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(10px);
}

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* HEADER / NAVBAR */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 1px;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--primary-cyan);
  letter-spacing: 2px;
}

.nav-menu { display: flex; }

.nav-list {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-cyan);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary-cyan);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.8rem;
  margin-bottom: 24px;
  word-break: break-word;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual Orb & Cards */
.infinity-orb-container {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glowing-orb {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0,240,255,0.4) 0%, rgba(112,0,255,0.2) 50%, rgba(5,10,20,0) 70%);
  border-radius: 50%;
  filter: blur(20px);
  animation: float 6s ease-in-out infinite;
}

.infinity-svg {
  width: 280px;
  max-width: 100%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 15px var(--primary-cyan));
  animation: spin3d 12s linear infinite;
}

.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-1 { top: 20px; left: -20px; animation: float 5s ease-in-out infinite; }
.card-2 { bottom: 30px; right: -10px; animation: float 7s ease-in-out infinite reverse; }

.glow-icon {
  font-size: 1.5rem;
  color: var(--primary-cyan);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 2px;
  transition: var(--transition-fast);
}

.scroll-indicator:hover { color: var(--primary-cyan); }

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.5;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 24px;
  border-radius: var(--radius-md);
}

.stat-number, .stat-number-text {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary-cyan);
  display: inline-block;
}

.stat-plus { font-size: 2rem; color: var(--primary-cyan); }

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.about-cards-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 28px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-8px);
  background: var(--bg-card-hover);
}

.pillar-icon {
  font-size: 2rem;
  color: var(--primary-cyan);
  margin-bottom: 16px;
}

/* TECHNOLOGY UNIVERSE / ORBIT */
.orbit-system {
  position: relative;
  width: 500px;
  max-width: 100%;
  height: 500px;
  margin: 40px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.5);
  z-index: 10;
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(0, 240, 255, 0.2);
  border-radius: 50%;
  animation: spinRing 20s linear infinite;
}

.ring-1 { width: 300px; height: 300px; }
.ring-2 { width: 460px; height: 460px; animation-duration: 35s; animation-direction: reverse; }

.orbit-node {
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--bg-dark);
  border: 1px solid var(--primary-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0,240,255,0.3);
}

.node-1 { top: -22px; left: 50%; transform: translateX(-50%); }
.node-2 { bottom: -22px; left: 50%; transform: translateX(-50%); }
.node-3 { left: -22px; top: 50%; transform: translateY(-50%); }
.node-4 { right: -22px; top: 50%; transform: translateY(-50%); }

.node-5 { top: 30px; left: 30px; }
.node-6 { bottom: 30px; right: 30px; }
.node-7 { top: 30px; right: 30px; }
.node-8 { bottom: 30px; left: 30px; }

@keyframes spinRing {
  100% { transform: rotate(360deg); }
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15);
}

.service-icon {
  font-size: 2.2rem;
  color: var(--primary-cyan);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-link {
  color: var(--primary-cyan);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

/* PROJECTS SECTION & FILTERS */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-cyan);
  color: #000;
  border-color: var(--primary-cyan);
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s ease, opacity 0.4s ease;
  position: relative;
}

.project-card:hover {
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.project-num {
  font-family: var(--font-display);
  color: var(--primary-cyan);
  font-size: 0.9rem;
}

.project-cat {
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary-cyan);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-main);
}

/* INFINITE MULTIVERSE SCROLL */
.infinite-viewport {
  position: relative;
  height: 500px;
  background: radial-gradient(circle at center, rgba(13,22,40,0.8) 0%, rgba(5,10,20,1) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.tunnel-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: linear-gradient(rgba(0,240,255,0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,240,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: rotateX(60deg);
  animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
  0% { transform: rotateX(60deg) translateY(0); }
  100% { transform: rotateX(60deg) translateY(40px); }
}

.infinite-card-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 30px;
}

.multiverse-card {
  width: 220px;
  background: rgba(5, 10, 20, 0.9);
  border: 1px solid var(--primary-cyan);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.m-tag { font-size: 0.7rem; color: var(--primary-orange); display: block; margin-bottom: 6px; }

/* AI SECTION & NEURAL CANVAS */
.ai-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 60px;
  border-radius: var(--radius-lg);
}

.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ai-chip {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--border-glow);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary-cyan);
}

.neural-network-canvas-container {
  width: 100%;
  height: 350px;
  position: relative;
}

#neural-canvas {
  width: 100%;
  height: 100%;
}

/* INDUSTRIES GRID */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-fast);
}

.industry-card i {
  font-size: 2.5rem;
  color: var(--primary-cyan);
  margin-bottom: 16px;
}

.industry-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}

/* WHY MAHRIVA */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-card i { color: var(--primary-cyan); font-size: 1.4rem; }

/* PROCESS TIMELINE */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}

.timeline-step {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 28px;
  border-radius: var(--radius-md);
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary-cyan);
  opacity: 0.5;
  margin-bottom: 12px;
  display: block;
}

/* TECH MARQUEE */
.tech-marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 20px 0;
  width: 100%;
}

.tech-track {
  display: inline-flex;
  gap: 20px;
  animation: marquee 25s linear infinite;
}

.tech-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* TESTIMONIALS */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  min-width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.stars { color: #ffb700; margin-bottom: 16px; font-size: 1.1rem; }
.quote { font-size: 1.2rem; font-style: italic; margin-bottom: 24px; }
.author h4 { color: var(--primary-cyan); }
.author p { font-size: 0.85rem; color: var(--text-muted); }

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.slider-controls button {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-controls button:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

/* FAQ ACCORDION */
.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  color: var(--primary-cyan);
}

/* HUGE CTA */
.cta-box {
  position: relative;
  background: linear-gradient(135deg, rgba(0,240,255,0.05) 0%, rgba(112,0,255,0.05) 100%);
  border: 1px solid var(--border-glow);
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cta-title { font-size: 3.2rem; margin-bottom: 20px; word-break: break-word; }
.cta-desc { max-width: 600px; margin: 0 auto 36px auto; color: var(--text-muted); font-size: 1.1rem; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* CONTACT FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.info-items { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item i { font-size: 1.5rem; color: var(--primary-cyan); margin-top: 4px; flex-shrink: 0; }

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

label { font-size: 0.85rem; color: var(--text-muted); }

input, select, textarea {
  background: rgba(5, 10, 20, 0.8);
  border: 1px solid var(--border-glow);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition-fast);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 10px rgba(0,240,255,0.2);
}

.error-msg { color: #ff4d4d; font-size: 0.75rem; display: none; }
.form-group.error .error-msg { display: block; }
.form-group.error input, .form-group.error textarea { border-color: #ff4d4d; }

.form-status { margin-top: 16px; font-weight: 500; }
.form-status.success { color: #00ff88; }

/* FOOTER */
.footer {
  background: #02050a;
  border-top: 1px solid var(--border-glow);
  padding: 80px 0 30px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .tagline {
  color: var(--primary-cyan);
  font-size: 0.9rem;
  margin: 12px 0;
}

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

.footer-links-col h4, .footer-contact-col h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { color: var(--text-muted); text-decoration: none; transition: var(--transition-fast); }
.footer-links-col a:hover { color: var(--primary-cyan); }

.footer-contact-col p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.back-to-top {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.back-to-top:hover { border-color: var(--primary-cyan); color: var(--primary-cyan); }

/* CASE STUDY MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 5, 10, 0.85);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--bg-dark);
  border: 1px solid var(--border-glow-active);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
}

.modal-close:hover { color: var(--primary-cyan); }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablets / Laptops (Max Width: 1024px) */
@media (max-width: 1024px) {
  .hero-container, 
  .about-grid, 
  .ai-wrapper, 
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-top { 
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
  }
  
  .hero-title { 
    font-size: 3rem; 
  }

  .cta-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  /* Header direct bar-er CTA hide hobe */
  .header .nav-container > .btn,
  .header .nav-container > .btn-primary {
    display: none !important;
  }

  /* Mobile menu Drawer-er bhitorer CTA show hobe */
  .nav-menu .btn {
    display: inline-flex !important;
    width: 100%;
    margin-top: 15px;
  }
}
/* Mobile View Header Clean-up */
@media (max-width: 768px) {
  /* Header Nav-er Start a Project button mobile-e hide thakbe */
  .header .btn-primary, 
  .header .btn {
    display: none !important;
  }

  /* Hamburger Toggle & Logo Clean Alignment */
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Rest of your existing 768px CSS rules... */
}
/* Mobile Devices (Max Width: 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .container {
    padding: 0 16px;
  }

  /* Navigation Mobile Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  }
  
  .nav-menu.active { 
    right: 0; 
  }
  
  .nav-list { 
    flex-direction: column; 
    gap: 20px; 
  }
  
  .mobile-toggle { 
    display: block; 
  }

  /* Cursor Hide on Mobile Touch */
  .custom-cursor, 
  .custom-cursor-follower { 
    display: none !important; 
  }

  /* Hero Adjustments */
  .hero {
    padding-top: 110px;
  }

  .hero-title { 
    font-size: 2.2rem; 
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .floating-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 10px 0;
  }

  .infinity-orb-container {
    height: auto;
    flex-direction: column;
  }

  /* Orbit System Rescale for Mobile */
  .orbit-system {
    transform: scale(0.65);
    margin: -40px auto;
  }

  /* Grids Stack Mobile */
  .about-cards-col,
  .footer-top,
  .form-row { 
    grid-template-columns: 1fr; 
  }

  .ai-wrapper {
    padding: 24px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .cta-box {
    padding: 40px 20px;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .modal-container {
    padding: 24px 16px;
  }

  .testimonial-card {
    padding: 24px 16px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 16px;
    text-align: center;
  }
}

/* Small Mobile Screens (Max Width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-number, 
  .stat-number-text {
    font-size: 1.8rem;
  }

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

  .orbit-system {
    transform: scale(0.55);
  }
}