:root {
  --neon-cyan: #00ffff;
  --neon-purple: #b800ff;
  --neon-pink: #ff00ff;
  --neon-orange: #ff6600;
  --dark: #050505;
  --darker: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--darker);
  color: white;
  overflow-x: hidden;
  cursor: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

img {
  pointer-events: none;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-orange));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 3s ease infinite, pulse 2s ease-in-out infinite;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 8px;
  filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.5));
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.preloader-container {
  position: relative;
  width: 300px;
  height: 6px;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
  background-size: 200% 100%;
  animation: loadBar 2s ease-in-out forwards, shimmer 1.5s ease-in-out infinite;
  border-radius: 10px;
  box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-purple);
}

@keyframes loadBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.preloader-text {
  margin-top: 25px;
  font-size: 1.2rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
  font-weight: 600;
  letter-spacing: 3px;
  animation: blink 1.5s ease-in-out infinite;
  font-family: 'Orbitron', sans-serif;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.preloader-percentage {
  position: absolute;
  top: -30px;
  right: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

.preloader-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: floatParticle 3s infinite ease-in-out;
}

@keyframes floatParticle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translate(var(--x), var(--y)) scale(0);
    opacity: 0;
  }
}

.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--neon-cyan);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transition: 0.1s;
  box-shadow: 0 0 20px var(--neon-cyan);
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: 0.3s;
}

#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.15;
}

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, 
    rgba(0, 255, 255, 0.03) 0%,
    rgba(184, 0, 255, 0.03) 25%,
    rgba(255, 0, 255, 0.03) 50%,
    rgba(255, 102, 0, 0.03) 75%,
    rgba(0, 255, 255, 0.03) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  transition: 0.3s;
}

nav.scrolled {
  padding: 15px 0;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 2px solid var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  position: relative;
  animation: glitch 5s infinite;
}

@keyframes glitch {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-2px, 2px); }
  94% { transform: translate(2px, -2px); }
  96% { transform: translate(-2px, -2px); }
  98% { transform: translate(2px, 2px); }
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
  font-size: 1rem;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  transition: 0.3s;
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 20px var(--neon-cyan);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: var(--neon-cyan);
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 40px;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: float 20s infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translate(100vw, -100vh) rotate(360deg);
    opacity: 0;
  }
}

.hero-content {
  text-align: center;
  max-width: 1000px;
  position: relative;
  z-index: 1;
}

.hero-glitch-wrapper {
  position: relative;
  margin-bottom: 30px;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleGlow 2s ease-in-out infinite alternate;
  letter-spacing: -3px;
  text-transform: uppercase;
  position: relative;
}

@keyframes titleGlow {
  from {
    filter: drop-shadow(0 0 20px var(--neon-cyan)) drop-shadow(0 0 40px var(--neon-purple));
  }
  to {
    filter: drop-shadow(0 0 40px var(--neon-cyan)) drop-shadow(0 0 80px var(--neon-purple));
  }
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--neon-cyan);
  text-shadow: 0 0 20px var(--neon-cyan);
  animation: pulse 2s ease-in-out infinite;
}

.hero-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 50px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-bottom: 80px;
}

.btn {
  padding: 18px 50px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: white;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 60px rgba(0, 255, 255, 0.8), 0 0 100px rgba(184, 0, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.btn-secondary:hover {
  background: var(--neon-pink);
  color: black;
  box-shadow: 0 0 40px var(--neon-pink);
  transform: translateY(-5px);
}

.stats-container {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-box {
  text-align: center;
  padding: 30px;
  background: rgba(0, 255, 255, 0.05);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  transition: 0.3s;
  min-width: 150px;
  flex: 0 1 auto;
}

.stat-box:hover {
  transform: translateY(-10px);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
  background: rgba(0, 255, 255, 0.1);
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.section {
  padding: 120px 40px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-badge {
  display: inline-block;
  padding: 10px 30px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 30px;
  color: var(--neon-cyan);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, white, var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -2px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.project-card {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  transition: 0.5s;
  cursor: pointer;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: 0.8s;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 60px rgba(0, 255, 255, 0.3);
}

.project-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
  filter: grayscale(30%);
}

.project-card:hover .project-image img {
  transform: scale(1.15) rotate(2deg);
  filter: grayscale(0%);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.9), rgba(184, 0, 255, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 35px;
}

.project-category {
  color: var(--neon-cyan);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.project-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  line-height: 1.8;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tech-tag {
  padding: 8px 18px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--neon-cyan);
  transition: 0.3s;
}

.tech-tag:hover {
  background: var(--neon-cyan);
  color: black;
  transform: scale(1.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: rgba(10, 10, 10, 0.9);
  border: 2px solid rgba(184, 0, 255, 0.3);
  border-radius: 25px;
  padding: 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.5s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(184, 0, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: 0.5s;
}

.service-card:hover::before {
  opacity: 1;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: var(--neon-purple);
  box-shadow: 0 20px 60px rgba(184, 0, 255, 0.4);
}

.service-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(184, 0, 255, 0.1));
  border: 2px solid rgba(184, 0, 255, 0.5);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
  transition: 0.5s;
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
  border-color: var(--neon-purple);
  box-shadow: 0 0 40px var(--neon-purple);
}

.service-icon i {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: white;
}

.service-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 30px;
}

.cta-section {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(184, 0, 255, 0.05));
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 30px;
  padding: 100px 50px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

.cta-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
}

.cta-description {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

footer {
  background: rgba(5, 5, 5, 0.95);
  border-top: 2px solid rgba(0, 255, 255, 0.3);
  padding: 80px 40px 30px;
  margin-top: 100px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-links a:hover {
  background: var(--neon-cyan);
  color: black;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 10px 30px var(--neon-cyan);
}

.footer-links h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--neon-cyan);
  transform: translateX(-5px);
  text-shadow: 0 0 10px var(--neon-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  border-left: 2px solid var(--neon-cyan);
  z-index: 9999;
  padding: 100px 40px 40px;
  transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -10px 0 50px rgba(0, 255, 255, 0.3);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 15px;
  border-right: 3px solid transparent;
  transition: 0.3s;
}

.mobile-nav-links a:hover {
  border-right-color: var(--neon-cyan);
  color: var(--neon-cyan);
  padding-right: 25px;
  text-shadow: 0 0 20px var(--neon-cyan);
}

.mobile-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--neon-cyan);
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--neon-cyan);
  border-radius: 50%;
  transition: 0.3s;
}

.mobile-close:hover {
  transform: rotate(90deg);
  box-shadow: 0 0 30px var(--neon-cyan);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  backdrop-filter: blur(5px);
}

.overlay.active {
  display: block;
}

@media (max-width: 1200px) {
  .hero-title { font-size: 6rem; }
  .section-title { font-size: 3.5rem; }
  .container, .nav-container { padding: 0 30px; }
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .hero-title { font-size: 4.5rem; }
  .section-title { font-size: 3rem; }
  .projects-grid, .services-grid { 
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-content { 
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-container { 
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  .hero { padding: 100px 30px 60px; }
  .section { padding: 80px 30px; }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  
  .hero-title { 
    font-size: 3.5rem;
    letter-spacing: -2px;
  }
  
  .hero-subtitle { font-size: 1.3rem; }
  
  .hero-description { 
    font-size: 1.1rem;
    padding: 0 10px;
  }
  
  .section-title { 
    font-size: 2.5rem;
    letter-spacing: -1px;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    padding: 0 10px;
  }
  
  .hero-buttons { 
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 30px;
  }
  
  .cta-title { 
    font-size: 2.5rem;
    letter-spacing: -1px;
  }
  
  .cta-description {
    font-size: 1.1rem;
    padding: 0 10px;
  }
  
  .project-image { height: 220px; }
  
  .project-title { font-size: 1.5rem; }
  
  .service-card { padding: 35px 25px; }
  
  .service-icon {
    width: 90px;
    height: 90px;
    font-size: 2.5rem;
  }
  
  .service-title { font-size: 1.4rem; }
  
  .stats-container { 
    gap: 15px;
    padding: 0 20px;
  }
  
  .stat-box {
    padding: 20px 10px;
    min-width: 95px;
    flex: 1 1 30%;
    max-width: 120px;
  }
  
  .stat-number { 
    font-size: 2.2rem;
    margin-bottom: 8px;
  }
  
  .stat-label { 
    font-size: 0.85rem;
    line-height: 1.2;
  }
  
  .logo { font-size: 1.6rem; }
  
  .cta-section { padding: 60px 30px; }
  
  footer { padding: 60px 30px 30px; }
  
  .preloader-logo {
    font-size: 3rem;
    letter-spacing: 4px;
  }
  
  .preloader-container {
    width: 250px;
  }
  
  .preloader-text {
    font-size: 1rem;
    letter-spacing: 2px;
  }
}

@media (max-width: 576px) {
  .hero-title { 
    font-size: 2.5rem;
    letter-spacing: -1px;
  }
  
  .hero-subtitle { font-size: 1.1rem; }
  
  .hero-description { font-size: 1rem; }
  
  .section-title { font-size: 2rem; }
  
  .section-subtitle { font-size: 1rem; }
  
  .section-badge {
    padding: 8px 20px;
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 14px 25px;
    font-size: 1rem;
  }
  
  .project-card { border-radius: 20px; }
  
  .project-image { height: 200px; }
  
  .project-content { padding: 25px; }
  
  .project-title { font-size: 1.3rem; }
  
  .project-description { font-size: 0.95rem; }
  
  .tech-tag {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
  
  .service-card { 
    padding: 30px 20px;
    border-radius: 20px;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .service-title { font-size: 1.2rem; }
  
  .service-description { font-size: 0.95rem; }
  
  .stats-container {
    gap: 12px;
    padding: 0 15px;
  }
  
  .stat-box {
    padding: 18px 8px;
    min-width: 85px;
    flex: 1 1 30%;
    max-width: 105px;
  }
  
  .stat-number { 
    font-size: 1.9rem;
    margin-bottom: 6px;
    line-height: 1;
  }
  
  .stat-label { 
    font-size: 0.75rem;
    line-height: 1.1;
  }
  
  .cta-title { font-size: 2rem; }
  
  .cta-description { font-size: 1rem; }
  
  .cta-section { 
    padding: 50px 20px;
    border-radius: 20px;
  }
  
  .logo { font-size: 1.4rem; }
  
  nav { padding: 15px 0; }
  
  .nav-container { padding: 0 20px; }
  
  .hero { padding: 120px 20px 50px; }
  
  .section { padding: 60px 20px; }
  
  footer { padding: 50px 20px 25px; }
  
  .footer-brand h2 { font-size: 2rem; }
  
  .footer-brand p { font-size: 0.95rem; }
  
  .footer-links h3 { font-size: 1.1rem; }
  
  .social-links a {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .preloader-logo {
    font-size: 2.5rem;
    letter-spacing: 3px;
  }
  
  .preloader-container {
    width: 200px;
    height: 5px;
  }
  
  .preloader-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .cta-title { font-size: 1.8rem; }
  
  .projects-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-container {
    gap: 10px;
    padding: 0 10px;
  }
  
  .stat-box { 
    min-width: 75px;
    flex: 1 1 30%;
    max-width: 95px;
    padding: 15px 6px;
  }
  
  .stat-number { 
    font-size: 1.6rem;
    margin-bottom: 5px;
  }
  
  .stat-label { 
    font-size: 0.7rem;
    line-height: 1;
  }
}

@media (max-width: 360px) {
  .stats-container {
    gap: 8px;
    padding: 0 5px;
  }
  
  .stat-box { 
    min-width: 70px;
    flex: 1 1 30%;
    max-width: 85px;
    padding: 12px 5px;
  }
  
  .stat-number { 
    font-size: 1.5rem;
    margin-bottom: 4px;
  }
  
  .stat-label { 
    font-size: 0.65rem;
  }
}