/* ==========================================================================
   Aura Creative Design System & CSS Stylesheet (Premium & Mobile-First)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
  /* HSL Color Palette */
  --bg-obsidian: hsl(225, 20%, 8%);
  --bg-slate: hsl(225, 20%, 12%);
  --bg-card: hsla(225, 20%, 15%, 0.4);
  --bg-card-hover: hsla(225, 20%, 20%, 0.55);
  
  --color-primary: hsl(270, 90%, 65%);       /* Neon Violet */
  --color-secondary: hsl(180, 100%, 45%);    /* Electric Teal */
  --color-accent: hsl(210, 100%, 55%);       /* Ocean Blue */
  --color-pink: hsl(330, 90%, 60%);          /* Magenta Spark */
  --color-orange: hsl(25, 95%, 55%);         /* Tangerine Glow */
  
  --text-white: hsl(0, 0%, 100%);
  --text-light: hsl(220, 15%, 85%);
  --text-muted: hsl(220, 15%, 65%);
  --border-light: hsla(220, 15%, 80%, 0.08);
  --border-glow: hsla(270, 90%, 65%, 0.25);
  
  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Spacing */
  --container-max: 1200px;
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. Base Styles & Resets
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-obsidian);
  overflow-x: hidden; /* prevent glow spheres expanding layout */
}

body {
  font-family: var(--font-body);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-obsidian);
  position: relative;
}

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

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

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

/* --------------------------------------------------------------------------
   3. Typography & Utility Classes
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

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

.text-purple { color: var(--color-primary); }
.text-teal { color: var(--color-secondary); }

/* Containers */
.container {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: var(--container-max); } }

/* Glow Decorative Spheres */
.glow-sphere {
  position: fixed; /* fixed = viewport-relative, cannot expand scrollWidth */
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
}

.glow-1 {
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  top: 10%;
  right: -80px; /* was -100px — clipped to avoid layout bleed */
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  top: 40%;
  left: -150px; /* was -200px — reduced to avoid horizontal scroll */
}

.glow-3 {
  width: 350px;
  height: 350px;
  background: var(--color-accent);
  bottom: 10%;
  right: -80px; /* was -100px — clipped to avoid layout bleed */
}

/* Glass panel background */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  transition: border-color var(--transition-normal), background var(--transition-normal), transform var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
  .section-subtitle {
    font-size: 1.15rem;
  }
}

/* --------------------------------------------------------------------------
   4. Interactive Elements & Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 20px hsla(270, 90%, 65%, 0.25);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsla(270, 90%, 65%, 0.45);
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text-white);
  background: hsla(0, 0%, 100%, 0.03);
}

.btn-outline:hover {
  border-color: var(--color-secondary);
  background: hsla(180, 100%, 45%, 0.05);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  margin-left: 0.75rem;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Header & Navigation Structure
   -------------------------------------------------------------------------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: background var(--transition-normal), border-bottom var(--transition-normal), backdrop-filter var(--transition-normal);
}

.main-header.scrolled {
  background: hsla(225, 20%, 8%, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--text-white);
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
  margin-right: 0.5rem;
  box-shadow: 0 0 12px var(--color-secondary);
}

/* Desktop Nav Menu hiding by default (Mobile-First) */
.desktop-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle Hamburger Button */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 110;
}

.bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 4px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-nav-toggle.open .bar-1 {
  transform: translateY(9px) rotate(45deg);
}

.mobile-nav-toggle.open .bar-2 {
  opacity: 0;
}

.mobile-nav-toggle.open .bar-3 {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Overlay Drawer Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-obsidian);
  z-index: 95;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-menu-overlay.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-mobile-cta {
  font-size: 1.1rem;
  padding: 0.8rem 2.2rem;
}

/* Desktop styles logic for media queries */
@media (min-width: 992px) {
  .desktop-nav {
    display: block;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.2rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: var(--text-white);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  .mobile-nav-toggle {
    display: none;
  }
  
  /* Dropdown Engine */
  .nav-dropdown-wrapper {
    position: relative;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 240px;
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    z-index: 120;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }
  
  .nav-dropdown-wrapper:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  
  .dropdown-menu li {
    list-style: none;
  }
  
  .dropdown-menu li a {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    display: block;
    transition: color var(--transition-fast), background var(--transition-fast);
  }
  
  .dropdown-menu li a:hover {
    color: var(--text-white);
    background: hsla(180, 100%, 45%, 0.08);
  }
  
  .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
  }
  
  .nav-dropdown-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
  }
}

/* Mobile Dropdown styles */
.mobile-dropdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mobile-dropdown-trigger {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
}

.mobile-dropdown-trigger:hover,
.mobile-dropdown-trigger.active {
  color: var(--text-white);
}

.mobile-dropdown-menu {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  text-align: center;
  padding: 0.5rem 0;
}

.mobile-dropdown-menu.open {
  display: flex;
}

.sub-link {
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
}


/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: hsla(270, 90%, 65%, 0.1);
  border: 1px solid hsla(270, 90%, 65%, 0.2);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin-bottom: 1.8rem;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

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

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hero Right Visual Column */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.hero-visual-card {
  width: 100%;
  max-width: 380px;
  padding: 1.5rem;
}

.card-header {
  display: flex;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-light);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.chart-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.chart-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-secondary);
}

.chart-bar-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 130px;
  padding-top: 10px;
}

.chart-bar {
  width: 12%;
  height: var(--height);
  background: linear-gradient(to top, var(--color-primary), var(--color-secondary));
  border-radius: 6px;
  transform-origin: bottom;
  animation: chart-rise 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Floating Badges */
.hero-floating-badge {
  position: absolute;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 15px;
  box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.25);
  animation: float-slow 4s ease-in-out infinite;
}

.hero-floating-badge i {
  font-size: 1.3rem;
}

.badge-title {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.badge-value {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  font-family: var(--font-display);
}

.badge-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 8%;
  right: 5%;
  animation-delay: 2s;
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {

  /* --- NAV: hide header CTA, keep only logo + hamburger --- */
  .btn-contact-cta {
    display: none;
  }

  /* --- HERO: center everything --- */
  .hero-section {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3rem;
  }
  .hero-container {
    gap: 2.5rem;
  }
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge {
    margin: 0 auto 1.5rem;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-floating-badge {
    display: none;
  }
  .hero-visual {
    min-height: auto;
    padding-top: 0;
    width: 100%;
  }
  .hero-visual-card {
    max-width: 100%;
  }

  /* --- SECTION HEADERS: center all section tags, titles, subtitles --- */
  .section-header {
    text-align: center;
  }
  .section-tag {
    text-align: center;
  }
  .section-title {
    font-size: 1.85rem;
    text-align: center;
  }
  .section-subtitle {
    text-align: center;
    font-size: 0.95rem;
  }

  /* --- STATS GRID: single column, centered text --- */
  .stats-section {
    padding: 3rem 0;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 1.8rem 1.5rem;
    text-align: center;
  }
  .stat-number {
    font-size: 2.2rem;
  }

  /* --- SERVICES: reduce padding --- */
  .services-section {
    padding: 3.5rem 0;
  }
  .service-card {
    padding: 1.8rem;
    text-align: center;
  }
  .service-icon {
    text-align: center;
  }
  .service-list li {
    justify-content: center;
  }

  /* --- PORTFOLIO --- */
  .portfolio-section {
    padding: 3.5rem 0;
  }
  .project-info {
    padding: 1.5rem;
  }
  .portfolio-filters {
    gap: 0.5rem;
  }
  .filter-btn {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  /* --- PROCESS STEPS: centered --- */
  .process-section {
    padding: 3.5rem 0;
  }
  .process-step {
    padding: 1.8rem;
    text-align: center;
  }
  .step-badge {
    margin: 0 auto 1.25rem;
  }

  /* --- TESTIMONIALS --- */
  .testimonials-section {
    padding: 3.5rem 0;
  }
  .testimonial-slide {
    padding: 1.8rem 1.5rem;
  }
  .testimonial-text {
    font-size: 0.95rem;
  }

  /* --- CONTACT SECTION: stack cleanly --- */
  .contact-section {
    padding: 3.5rem 0;
  }
  .contact-info {
    text-align: center;
  }
  .contact-title {
    font-size: 1.8rem;
    text-align: center;
  }
  .contact-desc {
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-methods {
    align-items: center;
  }
  .contact-grid {
    gap: 2.5rem;
  }
  .contact-form {
    padding: 1.5rem;
    max-width: 100%;
  }
  .section-tag {
    text-align: center;
  }

  /* --- Override inline 3-col grids on mobile so they stack --- */
  .stats-grid[style*="repeat(3"],
  .process-timeline[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* --- FOOTER: center all on mobile --- */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .footer-brand {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-tagline {
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-links {
    align-items: center;
  }
  .footer-links-column {
    text-align: center;
  }
  .footer-bottom-container {
    text-align: center;
  }

  /* --- TOAST: full-width on mobile --- */
  .toast-notification {
    left: 1rem;
    right: 1rem;
    max-width: none;
    bottom: 1rem;
  }

  /* --- CTA STRIPS: reduce padding --- */
  .stats-section .container[style] {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}


@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 8rem;
  }
  
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 4.4rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* --------------------------------------------------------------------------
   7. Stats Grid
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 4rem 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat-card {
  padding: 2.2rem 1.8rem;
  text-align: center;
}

.stat-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.25rem;
}

.stat-icon-wrapper.purple-glow {
  background: hsla(270, 90%, 65%, 0.1);
  color: var(--color-primary);
  border: 1px solid hsla(270, 90%, 65%, 0.2);
}

.stat-icon-wrapper.teal-glow {
  background: hsla(180, 100%, 45%, 0.1);
  color: var(--color-secondary);
  border: 1px solid hsla(180, 100%, 45%, 0.2);
}

.stat-icon-wrapper.blue-glow {
  background: hsla(210, 100%, 55%, 0.1);
  color: var(--color-accent);
  border: 1px solid hsla(210, 100%, 55%, 0.2);
}

.stat-icon-wrapper.pink-glow {
  background: hsla(330, 90%, 60%, 0.1);
  color: var(--color-pink);
  border: 1px solid hsla(330, 90%, 60%, 0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  /* Always visible — JS adds .stat-revealed for a subtle entrance flourish only */
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.stat-number.stat-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

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

@media (min-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .stat-number {
    font-size: 3rem;
  }
}

/* --------------------------------------------------------------------------
   8. Services Showcase
   -------------------------------------------------------------------------- */
.services-section {
  padding: 6rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
}

.service-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

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

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

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li i {
  font-size: 0.65rem;
  color: var(--color-secondary);
}

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

/* --------------------------------------------------------------------------
   9. Portfolio & Case Studies
   -------------------------------------------------------------------------- */
.portfolio-section {
  padding: 6rem 0;
  position: relative;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.5rem 1.4rem;
  font-size: 0.88rem;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  background: hsla(225, 20%, 15%, 0.2);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-secondary);
  color: var(--text-white);
  background: hsla(180, 100%, 45%, 0.1);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.project-card.hide {
  display: none;
}

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

/* Placeholder Premium Gradient Images */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-slow);
}

.bg-grad-purple { background: linear-gradient(135deg, hsl(270, 70%, 20%) 0%, hsl(270, 95%, 45%) 100%); }
.bg-grad-teal { background: linear-gradient(135deg, hsl(180, 70%, 15%) 0%, hsl(180, 90%, 40%) 100%); }
.bg-grad-blue { background: linear-gradient(135deg, hsl(210, 70%, 15%) 0%, hsl(210, 90%, 45%) 100%); }
.bg-grad-pink { background: linear-gradient(135deg, hsl(330, 70%, 20%) 0%, hsl(330, 90%, 45%) 100%); }
.bg-grad-orange { background: linear-gradient(135deg, hsl(25, 70%, 15%) 0%, hsl(25, 90%, 45%) 100%); }
.bg-grad-violet { background: linear-gradient(135deg, hsl(280, 60%, 18%) 0%, hsl(290, 85%, 45%) 100%); }

.project-decor {
  font-size: 3.5rem;
  color: hsla(0, 0%, 100%, 0.25);
  transition: transform var(--transition-slow), color var(--transition-fast);
}

.project-overlay-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, hsla(180, 100%, 45%, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
  pointer-events: none;
}

.project-tags {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.project-tag-pill {
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  background: hsla(225, 20%, 8%, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.project-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.project-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-link i {
  transition: transform var(--transition-fast);
}

/* Hover Micro-Interactions */
.project-card:hover .placeholder-img {
  transform: scale(1.06);
}

.project-card:hover .project-decor {
  transform: scale(1.1) rotate(5deg);
  color: hsla(0, 0%, 100%, 0.45);
}

.project-card:hover .project-overlay-glow {
  opacity: 1;
}

.project-card:hover .project-link i {
  transform: translateX(5px);
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   10. The Process Timeline
   -------------------------------------------------------------------------- */
.process-section {
  padding: 6rem 0;
  position: relative;
}

.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  position: relative;
  padding-top: 1rem;
}

.process-step {
  padding: 2.2rem 2rem;
  position: relative;
}

.step-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px hsla(270, 90%, 65%, 0.25);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .process-step {
    padding-top: 3rem;
  }
  
  .process-step::before {
    content: '';
    position: absolute;
    top: 50px;
    right: -25px;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, var(--border-light), transparent);
    z-index: 1;
  }
  
  .process-step:last-child::before {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   11. Client Testimonials Carousel
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 6rem 0;
  position: relative;
}

.carousel-container {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.testimonial-carousel {
  position: relative;
  min-height: 280px;
  display: flex;
  overflow: hidden;
  border-radius: 20px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  position: relative;
}

.quote-icon {
  font-size: 2.2rem;
  color: hsla(180, 100%, 45%, 0.15);
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.8rem;
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.1rem;
}

.client-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.client-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.carousel-control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: hsla(225, 20%, 15%, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-control-btn:hover {
  border-color: var(--color-secondary);
  color: var(--text-white);
  background: hsla(180, 100%, 45%, 0.08);
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.indicator.active {
  background: var(--color-secondary);
  width: 20px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .testimonial-slide {
    padding: 4rem;
  }
  
  .testimonial-text {
    font-size: 1.2rem;
  }
}

/* --------------------------------------------------------------------------
   12. Premium Contact Panel
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 6rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.method-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: hsla(225, 20%, 15%, 0.4);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.method-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.method-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  font-family: var(--font-display);
}

/* Glassmorphic Contact Form */
.contact-form-container {
  width: 100%;
}

.contact-form {
  padding: 2.2rem;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: hsla(225, 20%, 8%, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-white);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px hsla(270, 90%, 65%, 0.15);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 1rem;
}

.form-select option {
  background: var(--bg-obsidian);
  color: var(--text-light);
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 3rem;
  }
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .contact-form {
    margin-right: 0;
  }
}

/* --------------------------------------------------------------------------
   13. Notification Toast Banner
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  max-width: 380px;
  background: hsla(225, 20%, 12%, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-secondary);
  border-radius: 15px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.toast-icon {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-top: 2px;
}

.toast-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2px;
}

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

/* --------------------------------------------------------------------------
   14. Agency Footer Elements
   -------------------------------------------------------------------------- */
.main-footer {
  background: var(--bg-slate);
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 0;
  position: relative;
}

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

.footer-brand {
  max-width: 320px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  margin-bottom: 1.8rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: hsla(225, 20%, 8%, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  border-color: var(--color-secondary);
  color: var(--text-white);
  background: hsla(180, 100%, 45%, 0.08);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

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

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

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 1.8rem 0;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: var(--text-light);
}

@media (min-width: 576px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   15. Scroll Trigger Animations
   -------------------------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

.scroll-reveal.reveal-active {
  opacity: 1;
  transform: translate(0, 0) scale(1) !important;
}

.fade-up {
  transform: translateY(30px);
}

.fade-left {
  transform: translateX(30px);
}

.fade-right {
  transform: translateX(-30px);
}

/* Micro Animations keyframes */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 4px var(--color-secondary);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px var(--color-secondary);
    transform: scale(1.15);
  }
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes chart-rise {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
