/* The Ovena - HTML Template - Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   CSS Variables (Design Tokens)
======================================== */
:root {
  /* Background Colors */
  --background: #ffffff;
  --foreground: #0f172a;
  
  /* Card & Surfaces */
  --card: #ffffff;
  --card-foreground: #0f172a;
  
  /* Primary - Deep Navy */
  --primary: #0f172a;
  --primary-foreground: #ffffff;
  
  /* Secondary - Light Gray */
  --secondary: #f4f4f5;
  --secondary-foreground: #0f172a;
  
  /* Muted */
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  
  /* Accent - Vibrant Blue */
  --accent: #3b82f6;
  --accent-foreground: #ffffff;
  
  /* Gradient Colors */
  --gradient-start: #3b82f6;
  --gradient-mid: #8b5cf6;
  --gradient-end: #a855f7;
  
  /* Border */
  --border: #e4e4e7;
  
  /* Radius */
  --radius: 0.75rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ========================================
   Layout
======================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.section-padding {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 8rem 0;
  }
}

/* ========================================
   Utility Classes
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
}

.hidden { display: none; }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
}

/* ========================================
   Gradient Text
======================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   Header / Navigation
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem;
}

@media (min-width: 768px) {
  .header {
    padding: 1rem 2rem;
  }
}

.nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-lg);
  padding: 0 1.5rem;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.nav-logo span {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: flex;
  }
}

.nav-cta .btn {
  padding: 0.75rem 1.5rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
}

/* ========================================
   Hero Section
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
}

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.hero-orb-1 {
  top: 25%;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: var(--accent);
  opacity: 0.3;
  animation: floating 6s ease-in-out infinite;
}

.hero-orb-2 {
  top: 33%;
  right: 0;
  width: 31rem;
  height: 31rem;
  background: var(--gradient-mid);
  opacity: 0.2;
  animation: floating 6s ease-in-out infinite 2s;
}

.hero-orb-3 {
  bottom: 0;
  left: 33%;
  width: 18rem;
  height: 18rem;
  background: var(--gradient-end);
  opacity: 0.2;
  animation: floating 8s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  animation: fadeIn 0.6s ease-out;
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 2rem;
  animation: fadeIn 0.6s ease-out 0.1s both;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  margin: 0 auto 3rem;
  line-height: 1.7;
  animation: fadeIn 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  animation: fadeIn 0.6s ease-out 0.3s both;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.6s ease-out 0.4s both;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.hero-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .hero-stat-value {
    font-size: 2.25rem;
  }
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 640px) {
  .hero-stat-label {
    font-size: 0.875rem;
  }
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* ========================================
   Section Header (Eyebrow)
======================================== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-eyebrow-line {
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.section-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 42rem;
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1.125rem;
  }
}

/* ========================================
   Services Section
======================================== */
.services {
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background: linear-gradient(to bottom left, rgba(59, 130, 246, 0.05), transparent);
}

.services-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .services-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.services-header-content {
  max-width: 42rem;
}

.services-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}

.services-link:hover {
  gap: 0.75rem;
}

.services-link svg {
  width: 1rem;
  height: 1rem;
}

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

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

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

/* Service Card */
.service-card {
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: all 0.5s ease;
}

@media (min-width: 640px) {
  .service-card {
    padding: 2rem;
    border-radius: 1.25rem;
  }
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(59, 130, 246, 0.2);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

@media (min-width: 640px) {
  .service-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

@media (min-width: 640px) {
  .service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.service-icon.blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.service-icon.purple { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.service-icon.orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.service-icon.green { background: linear-gradient(135deg, #22c55e, #10b981); }
.service-icon.yellow { background: linear-gradient(135deg, #eab308, #f97316); }
.service-icon.indigo { background: linear-gradient(135deg, #6366f1, #8b5cf6); }

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.service-card:hover h3 {
  color: var(--accent);
}

.service-card p {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  transition: all 0.2s;
}

.service-card:hover .service-card-link {
  color: var(--accent);
  gap: 0.75rem;
}

.service-card-link svg {
  width: 1rem;
  height: 1rem;
}

/* ========================================
   Why Choose Us Section
======================================== */
.why-us {
  background: linear-gradient(180deg, #f4f4f5 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.why-us-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.why-us-bg-orb-1 {
  top: 50%;
  left: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(59, 130, 246, 0.05);
  transform: translateY(-50%);
}

.why-us-bg-orb-2 {
  bottom: 0;
  right: 0;
  width: 20rem;
  height: 20rem;
  background: rgba(168, 85, 247, 0.05);
}

.why-us-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.benefit-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

@media (min-width: 640px) {
  .benefit-card {
    gap: 1.25rem;
  }
}

.benefit-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: var(--shadow-xl);
}

.benefit-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

@media (min-width: 640px) {
  .benefit-icon {
    width: 3rem;
    height: 3rem;
  }
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffffff;
}

@media (min-width: 640px) {
  .benefit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.benefit-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

@media (min-width: 640px) {
  .benefit-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
}

.benefit-card:hover .benefit-content h4 {
  color: var(--accent);
}

.benefit-content p {
  font-size: 0.75rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .benefit-content p {
    font-size: 0.875rem;
  }
}

/* Stats Bar */
.stats-bar {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .stats-bar {
    margin-top: 5rem;
    padding: 3rem;
    border-radius: 2rem;
  }
}

.stats-bar-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.stats-bar-orb-1 {
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(59, 130, 246, 0.2);
}

.stats-bar-orb-2 {
  bottom: 0;
  left: 25%;
  width: 12rem;
  height: 12rem;
  background: rgba(168, 85, 247, 0.2);
}

.stats-bar-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-bar-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.stats-bar-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .stats-bar-value {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
}

.stats-bar-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 640px) {
  .stats-bar-label {
    font-size: 0.875rem;
  }
}

/* ========================================
   Projects Section
======================================== */
.projects {
  background: var(--background);
}

.projects-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .projects-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

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

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

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.project-card {
  display: block;
  cursor: pointer;
}

.project-image {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .project-image {
    border-radius: 1.25rem;
  }
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

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

.project-overlay.blue { background: linear-gradient(to top, rgba(59, 130, 246, 0.8), rgba(6, 182, 212, 0.8)); }
.project-overlay.purple { background: linear-gradient(to top, rgba(139, 92, 246, 0.8), rgba(236, 72, 153, 0.8)); }
.project-overlay.green { background: linear-gradient(to top, rgba(16, 185, 129, 0.8), rgba(20, 184, 166, 0.8)); }
.project-overlay.orange { background: linear-gradient(to top, rgba(249, 115, 22, 0.8), rgba(239, 68, 68, 0.8)); }
.project-overlay.pink { background: linear-gradient(to top, rgba(236, 72, 153, 0.8), rgba(244, 63, 94, 0.8)); }
.project-overlay.indigo { background: linear-gradient(to top, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8)); }

.project-hover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-hover-icon {
  opacity: 1;
}

.project-hover-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.project-tags {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s 0.1s;
}

.project-card:hover .project-tags {
  opacity: 1;
}

.project-tag {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border-radius: 9999px;
}

.project-category {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.project-card:hover h3 {
  color: var(--accent);
}

.project-card p {
  font-size: 0.875rem;
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
}

.testimonials-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.testimonials-bg-orb-1 {
  top: 25%;
  left: 0;
  width: 18rem;
  height: 18rem;
  background: rgba(59, 130, 246, 0.2);
}

.testimonials-bg-orb-2 {
  bottom: 25%;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(168, 85, 247, 0.2);
}

.testimonials-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.testimonials-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.testimonials-header h2 {
  color: #ffffff;
}

.testimonials-header .section-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

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

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

@media (min-width: 640px) {
  .testimonial-card {
    border-radius: 1.25rem;
    padding: 2rem;
  }
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  color: #facc15;
  fill: #facc15;
}

@media (min-width: 640px) {
  .testimonial-stars svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.testimonial-quote-icon {
  width: 2rem;
  height: 2rem;
  color: rgba(59, 130, 246, 0.3);
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .testimonial-quote-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
  }
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .testimonial-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .testimonial-author {
    gap: 1rem;
  }
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .testimonial-avatar {
    width: 3rem;
    height: 3rem;
  }
}

.testimonial-avatar span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}

@media (min-width: 640px) {
  .testimonial-avatar span {
    font-size: 0.875rem;
  }
}

.testimonial-author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

@media (min-width: 640px) {
  .testimonial-author-name {
    font-size: 1rem;
  }
}

.testimonial-author-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 640px) {
  .testimonial-author-role {
    font-size: 0.875rem;
  }
}

/* ========================================
   CTA Section
======================================== */
.cta {
  background: var(--background);
}

.cta-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .cta-box {
    border-radius: 2rem;
  }
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.cta-orb-1 {
  top: 0;
  right: 0;
  width: 20rem;
  height: 20rem;
  background: rgba(255, 255, 255, 0.1);
}

.cta-orb-2 {
  bottom: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 255, 255, 0.1);
}

.cta-content {
  position: relative;
  z-index: 10;
  padding: 3rem 1.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .cta-content {
    padding: 4rem 2rem;
  }
}

@media (min-width: 768px) {
  .cta-content {
    padding: 6rem 4rem;
  }
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
}

.cta-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #ffffff;
}

.cta-badge span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
}

@media (min-width: 640px) {
  .cta-badge {
    padding: 0.625rem 1.25rem;
  }
  .cta-badge svg {
    width: 1rem;
    height: 1rem;
  }
  .cta-badge span {
    font-size: 0.875rem;
  }
}

.cta-content h2 {
  color: #ffffff;
  margin-bottom: 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .cta-content h2 {
    margin-bottom: 1.5rem;
  }
}

.cta-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

.cta-buttons .btn-outline-light {
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* ========================================
   Footer
======================================== */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.footer-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
}

.footer-bg-orb-1 {
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(59, 130, 246, 0.1);
}

.footer-bg-orb-2 {
  bottom: 0;
  left: 0;
  width: 20rem;
  height: 20rem;
  background: rgba(168, 85, 247, 0.1);
}

.footer-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  max-width: 20rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-brand > p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-contact-item:hover {
  color: #ffffff;
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

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

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-newsletter p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-newsletter-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.footer-newsletter-form button {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.footer-newsletter-form button:hover {
  opacity: 0.9;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 3rem 0;
}

.footer-bottom {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copyright a {
  color: #ffffff;
  transition: color 0.2s;
}

.footer-copyright a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #ffffff;
}

/* ========================================
   Page Hero (for inner pages)
======================================== */
.page-hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.page-hero-orb-1 {
  top: 25%;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: var(--accent);
  opacity: 0.3;
}

.page-hero-orb-2 {
  bottom: 0;
  right: 0;
  width: 31rem;
  height: 31rem;
  background: var(--gradient-mid);
  opacity: 0.2;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .page-hero p {
    font-size: 1.25rem;
  }
}

.page-hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* ========================================
   Services Page
======================================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .service-item {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
  
  .service-item:nth-child(even) .service-item-content {
    order: 2;
  }
  
  .service-item:nth-child(even) .service-item-image {
    order: 1;
  }
}

.service-item-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.service-item-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

.service-item h2 {
  margin-bottom: 1rem;
}

.service-item > div > p {
  margin-bottom: 2rem;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-feature-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-feature-check svg {
  width: 0.75rem;
  height: 0.75rem;
  color: #ffffff;
}

.service-feature span {
  font-size: 0.875rem;
  color: var(--foreground);
}

.service-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}

.service-item-link:hover {
  gap: 0.75rem;
}

.service-item-link svg {
  width: 1rem;
  height: 1rem;
}

.service-item-image {
  position: relative;
}

.service-item-image-wrapper {
  aspect-ratio: 4/3;
  background: linear-gradient(180deg, #f4f4f5 0%, #ffffff 100%);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.service-item-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.service-item:hover .service-item-image-wrapper img {
  transform: scale(1.1);
}

.service-item-image-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  transition: opacity 0.3s;
}

.service-item:hover .service-item-image-overlay {
  opacity: 0.3;
}

.service-item-image-blur {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 1rem;
  filter: blur(40px);
  opacity: 0.2;
  z-index: -1;
}

/* Process Section */
.process-section {
  background: linear-gradient(180deg, #f4f4f5 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.process-bg-orb {
  position: absolute;
  top: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 50%;
  filter: blur(100px);
}

.process-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

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

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

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

.process-step-number {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 700;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

@media (min-width: 768px) {
  .process-step-number {
    font-size: 3rem;
  }
}

.process-step:hover .process-step-number {
  transform: scale(1.1);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
}

/* ========================================
   About Page
======================================== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
}

.about-hero-image {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .about-hero-image {
    display: block;
  }
}

.about-hero-image-wrapper {
  aspect-ratio: 1;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  position: relative;
}

.about-hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(168, 85, 247, 0.3));
}

.about-hero-blur-1 {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 8rem;
  height: 8rem;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 1rem;
  filter: blur(40px);
}

.about-hero-blur-2 {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 10rem;
  height: 10rem;
  background: rgba(168, 85, 247, 0.3);
  border-radius: 1rem;
  filter: blur(40px);
}

/* About Stats */
.about-stats {
  position: relative;
  z-index: 20;
  margin-top: -4rem;
  padding: 0 1rem;
}

.about-stats-card {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border);
  padding: 2rem;
}

@media (min-width: 768px) {
  .about-stats-card {
    padding: 3rem;
  }
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

.about-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .about-stat-value {
    font-size: 2.5rem;
  }
}

.about-stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Story Section */
.story-section {
  padding-top: 2rem;
}

.story-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.story-content .section-eyebrow {
  justify-content: center;
}

.story-content h2 {
  margin-bottom: 2rem;
}

.story-text {
  text-align: left;
}

.story-text p {
  margin-bottom: 1.5rem;
}

.story-text p:last-child {
  margin-bottom: 0;
}

/* Values Section */
.values-section {
  background: linear-gradient(180deg, #f4f4f5 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.values-bg-orb {
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 50%;
  filter: blur(100px);
}

.values-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.values-header .section-eyebrow {
  justify-content: center;
}

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

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

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.value-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.875rem;
}

/* Team Section */
.team-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.team-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.team-header .section-eyebrow {
  justify-content: center;
}

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

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.team-member-avatar {
  position: relative;
  margin-bottom: 1.5rem;
}

.team-member-avatar-inner {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}

.team-member:hover .team-member-avatar-inner {
  transform: scale(1.05);
}

.team-member-avatar-inner span {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
}

.team-member-avatar-blur {
  position: absolute;
  inset: 0;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  margin: 0 auto;
  opacity: 0.2;
  filter: blur(40px);
  z-index: -1;
}

.team-member h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.team-member p {
  font-size: 0.875rem;
}

/* ========================================
   Projects Page
======================================== */
.projects-filter {
  padding: 2rem 0;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 88px;
  z-index: 40;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--foreground);
  transition: all 0.3s;
  cursor: pointer;
}

.filter-btn:hover {
  background: var(--muted);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

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

@media (min-width: 768px) {
  .projects-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* ========================================
   Contact Page
======================================== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-section {
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
  }
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

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

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
}

.contact-info-item:hover {
  background: var(--secondary);
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}

.contact-info-item:hover .contact-info-icon {
  transform: scale(1.1);
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffffff;
}

.contact-info-label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  display: block;
  font-weight: 500;
  color: var(--foreground);
  white-space: pre-line;
}

.office-hours {
  margin-top: 3rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, #f4f4f5 0%, #ffffff 100%);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.office-hours h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.office-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.office-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.office-hours-day {
  color: var(--muted-foreground);
}

.office-hours-time {
  font-weight: 500;
  color: var(--foreground);
}

/* Contact Form */
.contact-form-wrapper {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 3rem;
  }
}

.contact-form-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

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

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--secondary);
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  color: var(--foreground);
  transition: box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2371717a' 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 1rem center;
  background-size: 1rem;
}

/* ========================================
   404 Page
======================================== */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  text-align: center;
  padding: 2rem;
}

.not-found h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.not-found p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.not-found a {
  color: var(--accent);
  text-decoration: underline;
}

.not-found a:hover {
  color: var(--primary);
}

/* ========================================
   Animations
======================================== */
@keyframes floating {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

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

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.stagger-children.animated > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.animated > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.animated > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.animated > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.animated > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.animated > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.animated > * {
  opacity: 1;
  transform: translateY(0);
}
