/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background-color: #0f172a;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #334155;
  transition: transform 0.3s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

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

.logo-container {
  position: relative;
  width: 48px;
  height: 48px;
}

.logo-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #0ea5e9, #8b5cf6, #10b981);
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.75;
  animation: pulse 2s infinite;
}

.logo-main {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #475569;
  transition: all 0.3s ease;
}

.logo-main:hover {
  border-color: rgba(14, 165, 233, 0.5);
}

.brain-icon {
  width: 24px;
  height: 24px;
  color: #0ea5e9;
  filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.5));
}

.slash-icon {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: linear-gradient(45deg, #10b981, #0ea5e9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.slash-icon svg {
  width: 8px;
  height: 8px;
  color: #0f172a;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(45deg, #0ea5e9, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-domain {
  font-size: 0.75rem;
  color: #64748b;
  font-family: "Courier New", monospace;
}

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

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #0ea5e9, #10b981);
  transition: width 0.3s ease;
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #cbd5e1;
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  background: none;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(45deg, #10b981, #059669);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-gradient {
  background: linear-gradient(45deg, #10b981, #0ea5e9);
  color: white;
}

.btn-gradient:hover {
  background: linear-gradient(45deg, #059669, #0284c7);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.5);
  color: #cbd5e1;
  border: 1px solid #64748b;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(30, 41, 59, 0.5);
  color: white;
}

.btn-white {
  background: white;
  color: #10b981;
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1px solid white;
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Fallback background */
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  background-image: radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    url("https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?w=1920&h=1080&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: -1; /* Ensure it's behind content */
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* black overlay with 60% opacity */
  z-index: -1;
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  background: #000; /* fallback if video fails */
}

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

.badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.2);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}

.gradient-text {
  background: linear-gradient(45deg, #0ea5e9, #8b5cf6, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
  background: rgba(15, 23, 42, 0.3);
  padding: 1rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-code {
  position: relative;
}

.code-editor {
  background: #0f172a;
  border-radius: 0.75rem;
  border: 1px solid #334155;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  height: 320px;
  position: relative;
  z-index: 1;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.5);
  border-bottom: 1px solid #334155;
}

.code-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ef4444;
}
.dot.yellow {
  background: #eab308;
}
.dot.green {
  background: #22c55e;
}

.code-title {
  color: #64748b;
  font-size: 0.875rem;
}

.code-content {
  padding: 1rem;
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  height: calc(100% - 60px);
  overflow: hidden;
}

.code-line {
  display: flex;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.line-number {
  color: #64748b;
  margin-right: 1rem;
  user-select: none;
  min-width: 2rem;
}

.code-text {
  color: #22c55e;
  position: relative;
}

.cursor {
  background: #22c55e;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

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

.floating-elements {
  position: absolute;
  top: -2rem;
  right: -2rem;
  z-index: 2;
}

.floating-brain {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.brain-glow {
  position: absolute;
  inset: -20px;
  background: linear-gradient(45deg, #0ea5e9, #8b5cf6, #10b981);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.3;
  animation: pulse 3s infinite;
}

.brain-large {
  position: relative;
  width: 96px;
  height: 96px;
  color: #0ea5e9;
  z-index: 1;
}

.floating-slash {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  color: #10b981;
  animation: spin 8s linear infinite;
}

.floating-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: particle-float 4s ease-in-out infinite;
}

.particle-1 {
  background: #0ea5e9;
  top: 20px;
  left: -20px;
  animation-delay: 0s;
}

.particle-2 {
  background: #10b981;
  bottom: 30px;
  right: -30px;
  animation-delay: 1.5s;
}

.particle-3 {
  background: #8b5cf6;
  top: 60px;
  left: -10px;
  animation-delay: 3s;
}

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

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

@keyframes particle-float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-30px) scale(1.2);
    opacity: 1;
  }
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: linear-gradient(45deg, #1e293b, #334155);
  position: relative;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&h=400&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.stat-item:nth-child(1):hover .stat-number {
  color: #0ea5e9;
}
.stat-item:nth-child(2):hover .stat-number {
  color: #10b981;
}
.stat-item:nth-child(3):hover .stat-number {
  color: #8b5cf6;
}
.stat-item:nth-child(4):hover .stat-number {
  color: #f59e0b;
}

.stat-label {
  color: #cbd5e1;
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  background: #1e293b;
  position: relative;
}

.projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1920&h=1080&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 48rem;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.project-card {
  background: rgba(51, 65, 85, 0.5);
  border-radius: 0.75rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
  transform: translateY(-8px);
  background: rgba(51, 65, 85, 0.7);
}

.project-image {
  position: relative;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
}

.project-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(14, 165, 233, 0.2);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  backdrop-filter: blur(10px);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: #0ea5e9;
}

.project-description {
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: #475569;
  color: #cbd5e1;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
}

/* Project placeholder styles */
.project-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-placeholder svg {
  width: 80px;
  height: 80px;
  color: rgba(255, 255, 255, 0.8);
  z-index: 2;
  position: relative;
}

.fintech-bg {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.healthcare-bg {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.packaging-bg {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.music-bg {
  background: linear-gradient(135deg, #ea580c, #f97316);
}

/* Media clients section */
.media-clients {
  margin-top: 4rem;
  text-align: center;
  padding: 3rem;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.media-clients h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.client-item {
  padding: 1rem;
  background: rgba(51, 65, 85, 0.5);
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-weight: 600;
  transition: all 0.3s ease;
}

.client-item:hover {
  background: rgba(51, 65, 85, 0.8);
  color: white;
  transform: translateY(-2px);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&h=1080&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.service-card {
  padding: 2rem;
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-web {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
}

.service-web:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0.1));
}

.service-wordpress {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

.service-wordpress:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
}

.service-data {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
}

.service-data:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}

.service-web .service-icon {
  background: rgba(14, 165, 233, 0.2);
}

.service-web:hover .service-icon {
  background: rgba(14, 165, 233, 0.3);
}

.service-wordpress .service-icon {
  background: rgba(16, 185, 129, 0.2);
}

.service-wordpress:hover .service-icon {
  background: rgba(16, 185, 129, 0.3);
}

.service-data .service-icon {
  background: rgba(139, 92, 246, 0.2);
}

.service-data:hover .service-icon {
  background: rgba(139, 92, 246, 0.3);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-web .service-icon svg {
  color: #0ea5e9;
}
.service-wordpress .service-icon svg {
  color: #10b981;
}
.service-data .service-icon svg {
  color: #8b5cf6;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.service-description {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
}

.feature-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid;
}

.service-web .feature-badge {
  background: rgba(14, 165, 233, 0.2);
  color: #7dd3fc;
  border-color: rgba(14, 165, 233, 0.3);
}

.service-wordpress .feature-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

.service-data .feature-badge {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border-color: rgba(139, 92, 246, 0.3);
}

/* Code Rescue Section */
.code-rescue {
  padding: 3rem;
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 0.75rem;
  background: linear-gradient(45deg, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.1));
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.code-rescue:hover {
  background: linear-gradient(45deg, rgba(245, 158, 11, 0.2), rgba(249, 115, 22, 0.2));
}

.rescue-icon {
  width: 64px;
  height: 64px;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.rescue-icon svg {
  width: 32px;
  height: 32px;
  color: #f59e0b;
}

.rescue-title {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.rescue-description {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.rescue-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.rescue-feature {
  transition: transform 0.3s ease;
}

.rescue-feature:hover {
  transform: scale(1.05);
}

.rescue-feature h4 {
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.rescue-feature:hover h4 {
  color: #f59e0b;
}

.rescue-feature p {
  font-size: 0.875rem;
  color: #cbd5e1;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&h=1080&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

.about-stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(51, 65, 85, 0.5);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

.about-stat svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.5rem;
  display: block;
}

.about-stat:first-child svg {
  color: #0ea5e9;
}
.about-stat:last-child svg {
  color: #10b981;
}

.about-stat .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.25rem;
}

.about-stat .stat-label {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.5), transparent);
  border-radius: 0.75rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920&h=1080&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item:nth-child(1) .contact-icon {
  background: rgba(14, 165, 233, 0.2);
}

.contact-item:nth-child(2) .contact-icon {
  background: rgba(16, 185, 129, 0.2);
}

.contact-item:nth-child(3) .contact-icon {
  background: rgba(139, 92, 246, 0.2);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item:nth-child(1) .contact-icon svg {
  color: #0ea5e9;
}
.contact-item:nth-child(2) .contact-icon svg {
  color: #10b981;
}
.contact-item:nth-child(3) .contact-icon svg {
  color: #8b5cf6;
}

.contact-details h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: #cbd5e1;
}

.contact-form {
  background: rgba(30, 41, 59, 0.5);
  padding: 2rem;
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
  border: 1px solid #334155;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.5);
  color: white;
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

/* Footer */
.footer {
  background: #0f172a;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1920&h=800&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

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

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

.footer-description {
  color: #64748b;
  margin-bottom: 1.5rem;
}

.footer-links h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.footer-links button {
  color: #64748b;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 0.875rem;
}

.footer-links button:hover {
  color: white;
}

.footer-cta h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-cta p {
  color: #64748b;
  margin-bottom: 1.5rem;
}

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

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  position: relative;
  z-index: 1;
}

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

.footer-legal button {
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-legal button:hover {
  color: white;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  margin: 5% auto;
  padding: 0;
  border-radius: 0.75rem;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid #334155;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid #334155;
  background: rgba(30, 41, 59, 0.5);
}

.modal-header h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: white;
}

.modal-body {
  padding: 2rem;
  max-height: 60vh;
  overflow-y: auto;
  color: #cbd5e1;
  line-height: 1.6;
}

.case-study {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.case-study-header {
  text-align: center;
}

.case-study-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.case-study-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.case-study-tag {
  background: rgba(14, 165, 233, 0.2);
  color: #7dd3fc;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
}

.case-study-section h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.case-study-stat {
  text-align: center;
  padding: 1rem;
  background: rgba(51, 65, 85, 0.5);
  border-radius: 0.5rem;
}

.case-study-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0ea5e9;
  margin-bottom: 0.25rem;
}

.case-study-stat-label {
  font-size: 0.875rem;
  color: #cbd5e1;
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

.hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

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

  .hero-buttons {
    flex-direction: column;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .modal-content {
    width: 95%;
    margin: 2% auto;
  }

  .modal-header {
    padding: 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

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

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

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

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

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .nav-menu.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-top: 1px solid #334155;
  }
}

/* Contact Form Improvements */
.contact-form-container {
  background: rgba(30, 41, 59, 0.5);
  padding: 2rem;
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
  border: 1px solid #334155;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  color: white;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  background: rgba(15, 23, 42, 0.9);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #1e293b;
  color: white;
}

/* Contact form responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: 1rem;
  }
}
