/* ==========================================================================
   DEVALIGNED AGENCY - PREMIUM DESIGN SYSTEM & STYLE SHEET (MINIMALIST WEB DEV)
   ========================================================================== */

/* 1. IMPORTS & FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* 2. CUSTOM VARIABLES (Premium Dark Theme Stack) */
:root {
  --bg-primary: #050816;
  --bg-secondary: #0B1120;
  --color-accent: #4F46E5;
  --color-accent-rgb: 79, 70, 229;
  --color-secondary-accent: #7C3AED;
  --color-secondary-rgb: 124, 58, 237;
  --color-highlight: #38BDF8;
  --color-highlight-rgb: 56, 189, 248;
  --text-primary: #FFFFFF;
  --text-muted: #CBD5E1;
  --border-glass: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(11, 17, 32, 0.65);
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-shadow: 0 0 30px rgba(79, 70, 229, 0.25);
  --glow-shadow-hover: 0 0 50px rgba(124, 58, 237, 0.4);
}

/* 3. RESET & BASE ELEMENTS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Custom Selection Style */
::selection {
  background-color: rgba(79, 70, 229, 0.5);
  color: var(--text-primary);
}

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

/* Typographic Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

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

/* ==========================================================================
   4. LAYOUT SYSTEM & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
  position: relative;
}

/* Grid Utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* Alignments */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-highlight);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
  position: relative;
}

.section-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary-accent) 50%, var(--color-highlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5. PREMIUM GLASSMORPHISM & SHAPE STYLINGS
   ========================================================================== */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: 1.25rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Glow Cards & Borders */
.glow-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 10px 40px -10px rgba(79, 70, 229, 0.25);
  transform: translateY(-5px);
}

/* Floating Abstract Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  animation: floatBackground 20s infinite alternate ease-in-out;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--color-accent);
  top: -10%;
  left: -10%;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: var(--color-secondary-accent);
  bottom: 10%;
  right: -5%;
  animation-delay: -5s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: var(--color-highlight);
  top: 40%;
  left: 50%;
  animation-delay: -10s;
}

/* ==========================================================================
   6. PREMIUM ANIMATIONS & MOUSE GLOWS
   ========================================================================== */

/* Preloader LOADING Screen */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preloader-logo span {
  color: var(--color-highlight);
}

.preloader-bar-container {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-highlight));
  transition: width 0.1s linear;
}

.preloader-counter {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Custom Interactive Cursor */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--color-highlight);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s;
}

.custom-cursor-trail {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s, background-color 0.3s;
}

/* Cursor Hover states */
.custom-cursor.hovered {
  width: 24px;
  height: 24px;
  background-color: rgba(56, 189, 248, 0.2);
  mix-blend-mode: normal;
}
.custom-cursor-trail.hovered {
  width: 50px;
  height: 50px;
  border-color: var(--color-highlight);
  background-color: rgba(56, 189, 248, 0.05);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary-accent) 50%, var(--color-highlight) 100%);
  width: 0%;
  z-index: 10001;
}

/* Mouse Glow Effect (Dynamic Spotlights) */
.mouse-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.03) 50%, rgba(0,0,0,0) 100%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
}

/* Keyframes animations */
@keyframes floatBackground {
  0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  50% { transform: translateY(30px) translateX(20px) rotate(180deg); }
  100% { transform: translateY(-30px) translateX(-20px) rotate(360deg); }
}

@keyframes floatElement {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-15px); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Interactive Particles Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Scroll-triggered reveal elements */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   7. NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 1rem 0;
  background: rgba(5, 8, 22, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--border-glass);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.logo-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: url(#logo-grad);
  stroke-width: 2.5;
}

.logo span {
  color: var(--color-highlight);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-highlight);
  transition: var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1001;
  padding: 8rem 2.5rem 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  list-style: none;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--color-highlight);
  padding-left: 10px;
}

/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  background: radial-gradient(circle at 50% 50%, rgba(12, 17, 38, 0.5) 0%, var(--bg-primary) 100%);
}

.hero .container {
  z-index: 2;
  position: relative;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-tag {
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--color-highlight);
}

.hero-tag span {
  width: 6px;
  height: 6px;
  background-color: var(--color-highlight);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-highlight);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-highlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typing-container {
  display: inline-block;
  min-width: 250px;
  color: var(--color-secondary-accent);
  border-right: 3px solid var(--color-highlight);
  padding-right: 5px;
  animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {
  50% { border-color: transparent; }
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  color: var(--text-muted);
}

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

/* Buttons System */
.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary-accent) 100%);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-shadow-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  box-shadow: none;
}

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

/* Stats Group */
.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Animated CSS Illustration */
.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
}

.illustration-sphere {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.2) 0%, rgba(79, 70, 229, 0.05) 50%, transparent 100%);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.15);
  position: relative;
  animation: floatElement 6s infinite alternate ease-in-out;
}

.illustration-orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: spinSlow 20s infinite linear;
}

.orbit-1 {
  width: 380px;
  height: 380px;
}

.orbit-2 {
  width: 220px;
  height: 220px;
  animation-duration: 10s;
  animation-direction: reverse;
}

.orbit-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--color-highlight);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--color-highlight);
}

.node-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.node-2 { bottom: 20%; right: 5%; }
.node-3 { bottom: 50%; left: 0; transform: translate(-50%, -50%); background-color: var(--color-secondary-accent); box-shadow: 0 0 15px var(--color-secondary-accent); }

/* ==========================================================================
   9. ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-content h3 {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.about-content h3 span {
  color: var(--color-highlight);
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Mission & Vision Cards */
.mv-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mv-card {
  padding: 2rem;
}

.mv-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-highlight);
}

.mv-card h4 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* History Timeline */
.about-timeline-section {
  margin-top: 4rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 4rem;
}

.about-timeline-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-highlight);
  background: var(--bg-primary);
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--color-accent);
  margin-bottom: 2rem;
  box-shadow: var(--glow-shadow);
}

.timeline-node h5 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-node p {
  font-size: 0.9rem;
}

/* ==========================================================================
   10. SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-top {
  margin-bottom: 2rem;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--color-highlight);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary-accent) 100%);
  color: var(--text-primary);
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--glow-shadow-hover);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-highlight);
  margin-top: auto;
}

.service-learn-more svg {
  transition: transform 0.3s;
}

.service-card:hover .service-learn-more svg {
  transform: translateX(5px);
}

/* ==========================================================================
   11. TECHNOLOGY SECTION (Infinite Marquee)
   ========================================================================== */
.tech-marquee-wrapper {
  overflow: hidden;
  padding: 3rem 0;
  background: linear-gradient(90deg, transparent 0%, rgba(11,17,32,0.6) 20%, rgba(11,17,32,0.6) 80%, transparent 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  width: 100%;
}

.tech-marquee-wrapper::before, .tech-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
}

.tech-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-primary) 0%, transparent 100%);
}

.tech-marquee {
  display: flex;
  gap: 5rem;
  width: max-content;
  animation: marquee 25s infinite linear;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tech-icon-svg {
  height: 36px;
  width: auto;
  fill: currentColor;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.tech-item span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.tech-item:hover .tech-icon-svg {
  color: var(--color-highlight);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
}

.tech-item:hover span {
  color: var(--text-primary);
}

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

/* ==========================================================================
   12. PORTFOLIO SECTION
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.portfolio-card {
  height: 480px;
  display: flex;
  flex-direction: column;
}

.portfolio-img-box {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-secondary);
}

.portfolio-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 22, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img-overlay {
  opacity: 1;
}

.portfolio-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-category {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-highlight);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.portfolio-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.portfolio-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: auto;
  border-bottom: 1px solid transparent;
  width: fit-content;
}

.portfolio-link:hover {
  border-color: var(--text-primary);
}

/* ==========================================================================
   13. WORK PROCESS
   ========================================================================== */
.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 31px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-highlight) 50%, var(--color-secondary-accent) 100%);
  opacity: 0.15;
}

.process-step {
  display: flex;
  gap: 3rem;
  position: relative;
}

.process-number {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-highlight);
  z-index: 2;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.process-step.active .process-number {
  border-color: var(--color-highlight);
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-highlight) 100%);
  box-shadow: var(--glow-shadow);
}

.process-card {
  padding: 2rem;
  flex-grow: 1;
}

.process-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   14. FAQ SECTION (Accordion)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-between;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-size: 1.15rem;
  font-weight: 600;
  flex-grow: 1;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1.5rem;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Horizontal line */
.faq-icon::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 2rem;
}

.faq-content p {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Active Open State */
.faq-item.active {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.15);
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-icon::before {
  transform: rotate(180deg);
}

/* ==========================================================================
   15. CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-highlight);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  font-size: 0.95rem;
}

/* WhatsApp Button */
.whatsapp-btn {
  margin-top: 1rem;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  border: none;
}

.whatsapp-btn:hover {
  background: #20BA5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-3px);
}

/* Custom Interactive Map Overlay */
.map-placeholder {
  width: 100%;
  height: 250px;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  margin-top: 3rem;
  overflow: hidden;
  position: relative;
  background: #090e1a;
}

.map-svg {
  width: 100%;
  height: 100%;
  opacity: 0.35;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
  fill: none;
}

.map-glow-pin {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
}

.map-pin-pulse {
  width: 20px;
  height: 20px;
  background-color: var(--color-highlight);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: mapPulse 2s infinite ease-out;
}

@keyframes mapPulse {
  0% { width: 10px; height: 10px; opacity: 1; }
  100% { width: 60px; height: 60px; opacity: 0; }
}

.map-pin-dot {
  width: 10px;
  height: 10px;
  background-color: var(--text-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-highlight);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Contact Form */
.contact-form {
  padding: 3rem;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

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

.form-input, .form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-input:focus, .form-textarea:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-highlight);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.form-label {
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

/* Floating Input Placeholder */
.form-input:focus ~ .form-label, 
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  top: -0.65rem;
  left: 0.75rem;
  font-size: 0.75rem;
  padding: 0 0.5rem;
  background: #0B1120;
  border-radius: 4px;
  color: var(--color-highlight);
  font-weight: 600;
}

/* Form feedback validation styles */
.form-input.invalid, .form-textarea.invalid {
  border-color: #EF4444;
}

.error-message {
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 0.5rem;
  display: none;
}

.error-message.active {
  display: block;
}

.form-feedback {
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: none;
  font-weight: 500;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.footer {
  background: #03050F;
  border-top: 1px solid var(--border-glass);
  padding: 6rem 0 2rem 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--color-highlight);
  color: var(--bg-primary);
  border-color: var(--color-highlight);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-highlight);
  padding-left: 5px;
}

/* Newsletter Subscription */
.footer-newsletter h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.25rem;
  border-radius: 50px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.75rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.newsletter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: var(--color-accent);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  background: var(--color-secondary-accent);
  box-shadow: 0 0 15px var(--color-secondary-accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.scroll-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--color-highlight);
  color: var(--bg-primary);
  border-color: var(--color-highlight);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS (PERFECT MOBILE / TABLET LAYOUTS)
   ========================================================================== */

/* Desktop Extra Large (1920px) */
@media (min-width: 1920px) {
  .container { max-width: 1600px; }
  body { font-size: 18px; }
  .hero-title { font-size: 5rem; }
}

/* Desktop Large (1440px) */
@media (max-width: 1440px) {
  .container { max-width: 1200px; }
}

/* Laptop / Desktop Standard (1024px) */
@media (max-width: 1024px) {
  .container { padding: 0 3rem; }
  .hero-title { font-size: 3.5rem; }
  .hero-wrapper { gap: 2rem; }
  
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 3rem; }
  .contact-grid { gap: 3rem; }
  
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

/* Tablet (768px) */
@media (max-width: 768px) {
  .container { padding: 0 2rem; }
  .section-padding { padding: 6rem 0; }
  
  .header { padding: 1rem 0; }
  .nav-menu, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-tag, .hero-subtitle, .hero-actions, .hero-stats {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-illustration {
    height: 350px;
    order: -1;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .contact-form { padding: 2rem; }
}

/* Mobile Large (425px) */
@media (max-width: 425px) {
  html { font-size: 14px; }
  .container { padding: 0 1.5rem; }
  .hero-title { font-size: 2.75rem; }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
}

/* Mobile Medium (375px) */
@media (max-width: 375px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2.25rem; }
}

/* Mobile Small (320px) */
@media (max-width: 320px) {
  .hero-title { font-size: 2.25rem; }
  .section-title { font-size: 2rem; }
  .container { padding: 0 1rem; }
}
